r16862: Reverting accidential changes in ads_try_connect() from previous commit.
authorGünther Deschner <gd@samba.org>
Fri, 7 Jul 2006 11:59:19 +0000 (11:59 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:19:12 +0000 (11:19 -0500)
Guenther
(This used to be commit 6257f9af93f2391940b2c60fe39c0bf106de15dd)

source3/libads/ldap.c

index ebffd667ebdd492feac966dc238ede7e25196987..b017ff941b9d2e42aa922318f361ac3b678b726c 100644 (file)
@@ -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;
        }