summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-06-24 13:06:38 +0200
committerGünther Deschner <gd@samba.org>2008-06-24 23:37:58 +0200
commit18c9e752182bc7d0c5e87d1773ca084495b7ff21 (patch)
tree9d8a790019c9433dcca89c635f3b5d1fdbc46c27 /source3/lib
parent7b1f015675b99c3ee8620bd0113b817a910a0727 (diff)
downloadsamba-18c9e752182bc7d0c5e87d1773ca084495b7ff21.tar.gz
samba-18c9e752182bc7d0c5e87d1773ca084495b7ff21.tar.bz2
samba-18c9e752182bc7d0c5e87d1773ca084495b7ff21.zip
libads: use ads_connect_user_creds in some places.
Guenther (This used to be commit ebf31203e7cf22e32b986c536279688b17a65d22)
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 66f7cfb13f..a33e0eeee5 100644
--- a/source3/lib/netapi/joindomain.c
+++ b/source3/lib/netapi/joindomain.c
@@ -389,7 +389,7 @@ WERROR NetGetJoinableOUs_l(struct libnetapi_ctx *ctx,
ads->auth.password = SMB_STRDUP(ctx->password);
}
- ads_status = ads_connect(ads);
+ ads_status = ads_connect_user_creds(ads);
if (!ADS_ERR_OK(ads_status)) {
ads_destroy(&ads);
return WERR_DEFAULT_JOIN_REQUIRED;