s4:wrepl_server: Correctly read ‘type’ element
commitd16337bd835712196ca8315de997978451ce129d
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 5 Sep 2023 23:03:02 +0000 (6 11:03 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Sep 2023 21:35:29 +0000 (14 21:35 +0000)
treece0372bcc127fd0e7cf0d6affc1f6617289b4bbc
parent477dc8f2467500a771fef88521d9f4163af11d89
s4:wrepl_server: Correctly read ‘type’ element

winsdb_message() stores this element as hexadecimal, which format
ldb_msg_find_attr_as_uint() cannot cope with. Permit this element to be
in either decimal or hexadecimal format.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/wrepl_server/wrepl_server.c