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

Re: (ITS#3653) ldapsearch -b option doesn't work if there isn't a space




--On Monday, April 11, 2005 9:44 PM -0700 "Kurt D. Zeilenga" 
<Kurt@OpenLDAP.org> wrote:

> At 08:57 PM 4/11/2005, quanah@stanford.edu wrote:
>> Full_Name: Quanah Gibson-mount
>> Version: 2.2.24
>> OS: Solaris 8
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (171.66.182.82)
>>
>>
>> When running ldapsearch, this will work:
>>
>> ldapsearch -x -s base -hlocalhost -b '' +
>>
>> but this will not:
>>
>> ldapsearch -x -s base -hlocalhost -b'' +
>
> The proper (and documented) usage is:
>         ldapsearch -x -s base -h localhost -b '' +
>

Yet the other options (like -h, -s) work just fine with or without the 
space.  Only -b messes up, and it seems to be rather buggy behavior to me. 
Why did it make the search base be + instead of ''? or throw an error, if 
you want to really enforce the space?  As it is now, I would say that 
changing the base to + is not the correct behavior.

--Quanah


--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin