summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-07-07 11:59:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:12 -0500
commit7048040be841c5abb295533ba3c0d70956fce476 (patch)
treefadb5767f7100d535dab4c03760b9845753b2f6e
parentf3e71c60727366eca0f5023c83c661c36512153d (diff)
downloadsamba-7048040be841c5abb295533ba3c0d70956fce476.tar.gz
samba-7048040be841c5abb295533ba3c0d70956fce476.tar.bz2
samba-7048040be841c5abb295533ba3c0d70956fce476.zip
r16862: Reverting accidential changes in ads_try_connect() from previous commit.
Guenther (This used to be commit 6257f9af93f2391940b2c60fe39c0bf106de15dd)
-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 ebffd667eb..b017ff941b 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -123,7 +123,7 @@ BOOL ads_try_connect(ADS_STRUCT *ads, const char *server )
}
DEBUG(5,("ads_try_connect: sending CLDAP request to %s (realm: %s)\n",
- server, ads->config.realm));
+ server, ads->server.realm));
/* this copes with inet_ntoa brokenness */
@@ -131,7 +131,7 @@ BOOL ads_try_connect(ADS_STRUCT *ads, const char *server )
ZERO_STRUCT( cldap_reply );
- if ( !ads_cldap_netlogon( srv, ads->config.realm, &cldap_reply ) ) {
+ if ( !ads_cldap_netlogon( srv, ads->server.realm, &cldap_reply ) ) {
DEBUG(3,("ads_try_connect: CLDAP request %s failed.\n", srv));
return False;
}