mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
netapi: fix NetGetJoinableOUs_l.
It needs to try the dns domain name for the ads connection. Guenther
This commit is contained in:
parent
e69eb09c18
commit
918eae8221
@ -364,7 +364,7 @@ WERROR NetGetJoinableOUs_l(struct libnetapi_ctx *ctx,
|
||||
|
||||
dc = strip_hostname(info->dc_unc);
|
||||
|
||||
ads = ads_init(r->in.domain, r->in.domain, dc);
|
||||
ads = ads_init(info->domain_name, info->domain_name, dc);
|
||||
if (!ads) {
|
||||
return WERR_GENERAL_FAILURE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user