diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-04-27 20:45:06 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-04-27 20:45:06 +0200 |
commit | 079897709ed99dac049d7b2b5f0c1958527462c4 (patch) | |
tree | dc5fb377bebeec7e1d339cf9c38d18994113305b | |
parent | d1db751ff8e6b15c059db254b57c72dfda8d4bfc (diff) | |
download | samba-079897709ed99dac049d7b2b5f0c1958527462c4.tar.gz samba-079897709ed99dac049d7b2b5f0c1958527462c4.tar.xz samba-079897709ed99dac049d7b2b5f0c1958527462c4.zip |
s3:libads/ldap.c - fix a build breakage
-rw-r--r-- | source3/libads/ldap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 19a37c71a37..0bb206f83ef 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; |