r20294: Without this we don't do the ADS join against Win2k3 SP1
authorAndrew Bartlett <abartlet@samba.org>
Wed, 20 Dec 2006 23:43:05 +0000 (23:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:29:33 +0000 (14:29 -0500)
Andrew Bartlett
(This used to be commit 7a7f1a97644ab420cf43282d6979881c5c4c59b6)

source4/libnet/libnet_join.c

index 871b59eae6ef4fc1f4c7adfd4cfd34a13cc03c48..a60ae47b5ffda1b511a02fad6382d636329486b3 100644 (file)
@@ -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());
                }
        }