mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3-libads: Also handle the DS_WEB_SERVICE_REQUIRED flag in check_cldap_reply_required_flags()
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
63e2db8206
commit
0f3abb291f
@ -1,4 +1,3 @@
|
||||
^samba.tests.getdcname.samba.tests.getdcname.GetDCNameEx.test_get_dc_direct_need_2012r2_but_not_found\(fl2008r2dc\)
|
||||
^samba.tests.getdcname.samba.tests.getdcname.GetDCNameEx.test_get_dc_direct_need_2012r2_but_not_found_fallback
|
||||
^samba.tests.getdcname.samba.tests.getdcname.GetDCNameEx.test_get_dc_direct_need_web_but_not_found
|
||||
^samba.tests.getdcname.samba.tests.getdcname.GetDCNameEx.test_get_dc_winbind_need_web_but_not_found
|
||||
|
@ -79,6 +79,9 @@ bool check_cldap_reply_required_flags(uint32_t ret_flags,
|
||||
if (req_flags & DS_TIMESERV_REQUIRED)
|
||||
RETURN_ON_FALSE(ret_flags & NBT_SERVER_TIMESERV);
|
||||
|
||||
if (req_flags & DS_WEB_SERVICE_REQUIRED)
|
||||
RETURN_ON_FALSE(ret_flags & NBT_SERVER_ADS_WEB_SERVICE);
|
||||
|
||||
if (req_flags & DS_WRITABLE_REQUIRED)
|
||||
RETURN_ON_FALSE(ret_flags & NBT_SERVER_WRITABLE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user