From 728e4e311c26f7db9afb630267de0ca5ab6734ad Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 20 Dec 2006 23:43:05 +0000 Subject: [PATCH] r20294: Without this we don't do the ADS join against Win2k3 SP1 Andrew Bartlett (This used to be commit 7a7f1a97644ab420cf43282d6979881c5c4c59b6) --- source4/libnet/libnet_join.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c index 871b59eae6e..a60ae47b5ff 100644 --- a/source4/libnet/libnet_join.c +++ b/source4/libnet/libnet_join.c @@ -536,6 +536,7 @@ NTSTATUS libnet_JoinDomain(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, stru } else { /* Bugger, we just lost our way to automaticly find the domain name */ connect_with_info->out.domain_name = talloc_strdup(tmp_ctx, lp_workgroup()); + connect_with_info->out.realm = talloc_strdup(tmp_ctx, lp_realm()); } } -- 2.34.1