diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-12-08 12:00:27 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-12-08 12:00:27 +0000 |
commit | 35eb6be4ea1b52e2f6028c979ead952a2f96f99d (patch) | |
tree | e65f68c21a1a88540e54a177ee60f9ec80692411 /source3/libads/ldap.c | |
parent | 5d378a280f74405fccbadbfb28e1066613c76fd8 (diff) | |
download | samba-35eb6be4ea1b52e2f6028c979ead952a2f96f99d.tar.gz samba-35eb6be4ea1b52e2f6028c979ead952a2f96f99d.tar.bz2 samba-35eb6be4ea1b52e2f6028c979ead952a2f96f99d.zip |
fix a DEBUG() line
(This used to be commit 18da530293b11d895c62d08895ee1f77d8f97a12)
Diffstat (limited to 'source3/libads/ldap.c')
-rw-r--r-- | source3/libads/ldap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index b716966c1b..c81f2474ae 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -557,7 +557,7 @@ BOOL ads_server_info(ADS_STRUCT *ads) int rc; void *res; char **values; - char *ret, *p; + char *p; rc = ads_do_search(ads, "", LDAP_SCOPE_BASE, "(objectclass=*)", attrs, &res); if (rc || ads_count_replies(ads, res) != 1) return False; @@ -594,7 +594,8 @@ BOOL ads_server_info(ADS_STRUCT *ads) ads->bind_path = ads_build_dn(ads->realm); } - DEBUG(3,("got ldap server name %s@%s\n", ret, ads->realm)); + DEBUG(3,("got ldap server name %s@%s\n", + ads->ldap_server_name, ads->realm)); return True; } |