From 243e07cfa2c9fc52867ebfa2b7d0f78247e0fecd Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 14 Jan 2006 07:27:01 +0000 Subject: r12930: Fix ADS join: I wasn't filling in the flag 'realm' variable any more. Andrew Bartlett (This used to be commit 5c5a2974c94ae6b929ada7aaa2cd12a15b7468b8) --- source4/libnet/libnet_join.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source4/libnet') diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c index 0147679bcd..a467999023 100644 --- a/source4/libnet/libnet_join.c +++ b/source4/libnet/libnet_join.c @@ -593,8 +593,6 @@ NTSTATUS libnet_JoinDomain(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, stru struct dom_sid *account_sid = NULL; const char *password_str = NULL; - const char *realm = NULL; /* Also flag for remote being AD */ - r->out.error_string = NULL; r2.samr_handle.out.error_string = NULL; @@ -988,7 +986,7 @@ NTSTATUS libnet_JoinDomain(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, stru /* Now, if it was AD, then we want to start looking changing a * few more things. Otherwise, we are done. */ - if (realm) { + if (r->out.realm) { status = libnet_JoinADSDomain(ctx, r); return status; } -- cgit