Author: gd Date: 2006-07-07 11:59:19 +0000 (Fri, 07 Jul 2006) New Revision: 16862
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16862 Log: Reverting accidential changes in ads_try_connect() from previous commit. Guenther Modified: branches/SAMBA_3_0/source/libads/ldap.c trunk/source/libads/ldap.c Changeset: Modified: branches/SAMBA_3_0/source/libads/ldap.c =================================================================== --- branches/SAMBA_3_0/source/libads/ldap.c 2006-07-07 11:43:47 UTC (rev 16861) +++ branches/SAMBA_3_0/source/libads/ldap.c 2006-07-07 11:59:19 UTC (rev 16862) @@ -123,7 +123,7 @@ } 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 @@ 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; } Modified: trunk/source/libads/ldap.c =================================================================== --- trunk/source/libads/ldap.c 2006-07-07 11:43:47 UTC (rev 16861) +++ trunk/source/libads/ldap.c 2006-07-07 11:59:19 UTC (rev 16862) @@ -123,7 +123,7 @@ } 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 @@ 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; }
