summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-12-20 23:43:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:29:33 -0500
commit728e4e311c26f7db9afb630267de0ca5ab6734ad (patch)
treedd5ea18bb5ef033a61701af70287b179e6bd638a /source4/libnet
parent7cb96a785f6362eb3df820cfdee73bbbc9d06960 (diff)
downloadsamba-728e4e311c26f7db9afb630267de0ca5ab6734ad.tar.gz
samba-728e4e311c26f7db9afb630267de0ca5ab6734ad.tar.bz2
samba-728e4e311c26f7db9afb630267de0ca5ab6734ad.zip
r20294: Without this we don't do the ADS join against Win2k3 SP1
Andrew Bartlett (This used to be commit 7a7f1a97644ab420cf43282d6979881c5c4c59b6)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_join.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c
index 871b59eae6..a60ae47b5f 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());
}
}