mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r16862: Reverting accidential changes in ads_try_connect() from previous commit.
Guenther
This commit is contained in:
parent
863aeb621a
commit
6257f9af93
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user