From e8e153e4a8f6bf01d3785a74d58c3885730e711a Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 25 Apr 2006 23:33:51 +0000 Subject: [PATCH] note when the default base is being used (more about ITS#4504) --- clients/tools/ldapsearch.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 73fdc9087a..3fb57bffad 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -907,8 +907,9 @@ getNextPage: printf( "#\n" ); printf(_("# LDAPv%d\n"), protocol); - printf(_("# base <%s> with scope %s\n"), - realbase ? realbase : "(NULL)", + printf(_("# base <%s>%s with scope %s\n"), + realbase ? realbase : "", + ( realbase == NULL || realbase != base ) ? " (default)" : "", ((scope == LDAP_SCOPE_BASE) ? "baseObject" : ((scope == LDAP_SCOPE_ONELEVEL) ? "oneLevel" : ((scope == LDAP_SCOPE_SUBORDINATE) ? "children" -- 2.39.5