From 35eb6be4ea1b52e2f6028c979ead952a2f96f99d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 8 Dec 2001 12:00:27 +0000 Subject: fix a DEBUG() line (This used to be commit 18da530293b11d895c62d08895ee1f77d8f97a12) --- source3/libads/ldap.c | 5 +++-- 1 file 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; } -- cgit