From 079897709ed99dac049d7b2b5f0c1958527462c4 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Tue, 27 Apr 2010 20:45:06 +0200 Subject: s3:libads/ldap.c - fix a build breakage --- source3/libads/ldap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/libads/ldap.c') diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 19a37c71a3..0bb206f83e 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -265,7 +265,7 @@ static bool ads_try_connect(ADS_STRUCT *ads, const char *server, bool gc) ads->config.client_site_name = SMB_STRDUP(cldap_reply.client_site); } - ads->server.workgroup = SMB_STRDUP(cldap_reply.domain); + ads->server.workgroup = SMB_STRDUP(cldap_reply.domain_name); ads->ldap.port = gc ? LDAP_GC_PORT : LDAP_PORT; if (!interpret_string_addr(&ads->ldap.ss, srv, 0)) { @@ -277,7 +277,7 @@ static bool ads_try_connect(ADS_STRUCT *ads, const char *server, bool gc) } /* Store our site name. */ - sitename_store( cldap_reply.domain, cldap_reply.client_site); + sitename_store( cldap_reply.domain_name, cldap_reply.client_site); sitename_store( cldap_reply.dns_domain, cldap_reply.client_site); ret = true; -- cgit