diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-08-15 09:53:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:38 -0500 |
commit | c804dd01171903440cd2c90153d62ab549d6b800 (patch) | |
tree | 46497a1b56e943cc5fdd62ae9bce3c0399620232 /source3/libads | |
parent | 0c53b0ab722ffd8bac7157274b14f56f4c4a31e8 (diff) | |
download | samba-c804dd01171903440cd2c90153d62ab549d6b800.tar.gz samba-c804dd01171903440cd2c90153d62ab549d6b800.tar.bz2 samba-c804dd01171903440cd2c90153d62ab549d6b800.zip |
r17551: Move some DEBUG to d_printf in interactive functions and return
NO_LOGON_SERVERS if no domain controller was found.
Thanks to Michael Adam <ma@sernet.de>.
Volker
(This used to be commit d44599de3a61707a32851f37ddfb2425949622f8)
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 2ceafedd30..52426c31ae 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -287,7 +287,7 @@ ADS_STATUS ads_connect(ADS_STRUCT *ads) goto got_connection; } - return ADS_ERROR_SYSTEM(errno?errno:ENOENT); + return ADS_ERROR_NT(NT_STATUS_NO_LOGON_SERVERS); got_connection: DEBUG(3,("Connected to LDAP server %s\n", inet_ntoa(ads->ldap_ip))); |