From: Kurt Zeilenga Date: Tue, 29 Dec 1998 05:44:18 +0000 (+0000) Subject: Should have left 'scope' alone. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~837 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9171892bd9f8c861cede393efadd70ae6bd1e1ab;p=openldap Should have left 'scope' alone. --- diff --git a/clients/tools/ldappasswd.c b/clients/tools/ldappasswd.c index 03d2fccb46..54b5bc4bf5 100644 --- a/clients/tools/ldappasswd.c +++ b/clients/tools/ldappasswd.c @@ -360,7 +360,7 @@ main (int argc, char *argv[]) int i, j; int ldapport = 0; int debug = 0; - int scope = -1; + int scope = LDAP_SCOPE_SUBTREE; int sizelimit = -1; int timelimit = -1; int version = -1; diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 254cc59e98..9fb538bcbe 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -96,9 +96,9 @@ main( int argc, char **argv ) debug = verbose = allow_binary = not = vals2tmp = attrsonly = ldif = want_bindpw = 0; - deref = referrals = sizelimit = timelimit = - scope = version = -1; + deref = referrals = sizelimit = timelimit = version = -1; + scope = LDAP_SCOPE_SUBTREE; authmethod = LDAP_AUTH_SIMPLE; while (( i = getopt( argc, argv, "WKknuvtRABLD:s:f:h:b:d:P:p:F:a:w:l:z:S:")) != EOF ) {