summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-29 13:31:55 +0200
committerGünther Deschner <gd@samba.org>2008-08-29 13:58:06 +0200
commitc5a9348f1953f5801c219231a46c90c23a427b81 (patch)
treea727b207e00b0e0db790631abdcd5466da6a0bb0 /source3/lib
parentaf1db71c1446c854385de691781e5bb48ec65936 (diff)
downloadsamba-c5a9348f1953f5801c219231a46c90c23a427b81.tar.gz
samba-c5a9348f1953f5801c219231a46c90c23a427b81.tar.bz2
samba-c5a9348f1953f5801c219231a46c90c23a427b81.zip
netapi: fix NetGetJoinableOUs_l.
It needs to try the dns domain name for the ads connection. Guenther (This used to be commit 918eae8221bb8c24084cad96556e4d8c3685e314)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/joindomain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/joindomain.c b/source3/lib/netapi/joindomain.c
index 2a6fc80ca3..17ea3923fe 100644
--- a/source3/lib/netapi/joindomain.c
+++ b/source3/lib/netapi/joindomain.c
@@ -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;
}