summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-14 23:50:25 +0200
committerGünther Deschner <gd@samba.org>2008-05-14 23:53:23 +0200
commit847d385f7bac1c02727d7655f4e277813d4fe42c (patch)
tree78d987d908ad1d435f10f9ad145b774e3f9116a5 /source3/libnet
parent5e70a25116f4b7355e3995a74e586da7832dff39 (diff)
downloadsamba-847d385f7bac1c02727d7655f4e277813d4fe42c.tar.gz
samba-847d385f7bac1c02727d7655f4e277813d4fe42c.tar.bz2
samba-847d385f7bac1c02727d7655f4e277813d4fe42c.zip
Fix Bug #5465 (joining with createcomputer=ou1/ou2/ou3).
Guenther (This used to be commit f3251ba03a69c2fd0335861177159a32b2bc9477)
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_join.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 36700b26c0..4cfdd50473 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -207,7 +207,7 @@ static ADS_STATUS libnet_join_precreate_machine_acct(TALLOC_CTX *mem_ctx,
const char *attrs[] = { "dn", NULL };
bool moved = false;
- status = ads_check_ou_dn(mem_ctx, r->in.ads, r->in.account_ou);
+ status = ads_check_ou_dn(mem_ctx, r->in.ads, &r->in.account_ou);
if (!ADS_ERR_OK(status)) {
return status;
}
@@ -1486,7 +1486,6 @@ static int libnet_destroy_UnjoinCtx(struct libnet_UnjoinCtx *r)
unsetenv(KRB5_ENV_CCNAME);
}
-
return 0;
}