[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5823) clients/tools don't honor ldap.conf defaults



Hallvard B Furuseth wrote:
> hyc@OpenLDAP.org writes:
>> I suggest that we use option==1 for on, and option>1 for off, to
>> minimize the impact of the change. (E.g., to explicitly turn off
>> referrals, use ldapsearch -CC.)
>
> That conflicts with today's -ZZ, which seems a bad option to
> create confusion about.  Also with ldapsearch -L[L[L]].
>
> Another variant is -C = on and +C = off.  Backwards, but it's
> not our fault that Unix chose "-" for "on":-)  Unless +foo
> means something special on Windows command lines?
>
This may not be a big deal after all. The only options affected are -C and -N, 
and -C is essentially useless now. (And is undocumented.) So perhaps this can 
be mostly ignored, and we just need a workable approach for -N and any future 
boolean options.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/