summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-11-15 21:25:40 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-11-15 21:25:40 +0000
commit77d0ff6357c74beccf9e438a9980df1b4b19dce4 (patch)
treeb005a86889d52dfce03d53b20abdb5783de446ae /source3/libads
parentac29d6b310d612f52b6200b0bb5320d09fc66039 (diff)
downloadsamba-77d0ff6357c74beccf9e438a9980df1b4b19dce4.tar.gz
samba-77d0ff6357c74beccf9e438a9980df1b4b19dce4.tar.bz2
samba-77d0ff6357c74beccf9e438a9980df1b4b19dce4.zip
Include the hostname we are trying to match with $@, to allow easier debugging.
(This used to be commit f5d8afc626b8f7792aa7dd7fa7082f55725b539c)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index d5cd56001b..60427323b0 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -1790,8 +1790,8 @@ ADS_STATUS ads_server_info(ADS_STRUCT *ads)
p = strchr(ads->config.ldap_server_name, '$');
if (!p || p[1] != '@') {
talloc_destroy(ctx);
+ DEBUG(1, ("ads_server_info: returned ldap server name (%s) does not contain '$@' so was deemed invalid\n", ads->config.ldap_server_name));
SAFE_FREE(ads->config.ldap_server_name);
- DEBUG(1, ("ads_server_info: returned ldap server name did not contain '$@' so was deemed invalid\n"));
return ADS_ERROR(LDAP_DECODING_ERROR);
}