1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

netapi: fix NetGetJoinableOUs_l.

It needs to try the dns domain name for the
ads connection.

Guenther
(This used to be commit 918eae8221)
This commit is contained in:
Günther Deschner 2008-08-29 13:31:55 +02:00
parent af1db71c14
commit c5a9348f19

View File

@ -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;
}