summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-04-27 20:45:06 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-04-27 20:45:06 +0200
commit079897709ed99dac049d7b2b5f0c1958527462c4 (patch)
treedc5fb377bebeec7e1d339cf9c38d18994113305b /source3/libads
parentd1db751ff8e6b15c059db254b57c72dfda8d4bfc (diff)
downloadsamba-079897709ed99dac049d7b2b5f0c1958527462c4.tar.gz
samba-079897709ed99dac049d7b2b5f0c1958527462c4.tar.bz2
samba-079897709ed99dac049d7b2b5f0c1958527462c4.zip
s3:libads/ldap.c - fix a build breakage
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ldap.c4
1 files changed, 2 insertions, 2 deletions
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;