mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Force referrals on
This commit is contained in:
parent
a43ef5bac4
commit
dfc850ceb3
1 changed files with 5 additions and 2 deletions
|
|
@ -151,7 +151,10 @@ main( int argc, char **argv )
|
|||
debug = verbose = binary = not = vals2tmp =
|
||||
attrsonly = manageDSAit = ldif = want_bindpw = 0;
|
||||
|
||||
deref = referrals = sizelimit = timelimit = version = -1;
|
||||
deref = sizelimit = timelimit = version = -1;
|
||||
|
||||
/* default should be off */
|
||||
referrals = 1;
|
||||
|
||||
scope = LDAP_SCOPE_SUBTREE;
|
||||
authmethod = LDAP_AUTH_SIMPLE;
|
||||
|
|
@ -197,7 +200,7 @@ main( int argc, char **argv )
|
|||
manageDSAit++;
|
||||
break;
|
||||
case 'R': /* don't automatically chase referrals */
|
||||
referrals = (int) LDAP_OPT_OFF;
|
||||
referrals = 0;
|
||||
break;
|
||||
case 'A': /* retrieve attribute names only -- no values */
|
||||
++attrsonly;
|
||||
|
|
|
|||
Loading…
Reference in a new issue