Hi,

Sorry for replying too late for this mail.

I tried to see details in the log but there are no entries for the
search. But contrarily, when I try the same search using ldp.exe I am
able to see the search related entries in the log.

Please see below the command I am using, along with the response

C:\iPlanet\Servers\shared\bin>ldapsearch -v -0 -h hst -p 8501 -D
"cn=Director
y manager" -w xxxx -b "o=company,c=us" -s sub -f a.txt
ldapsearch: this program requires an LDAP library that implements
revision
        2005 or greater of the LDAP API; running with revision 2004.
ldapsearch: started Tue Dec 04 15:56:06 2007

ldap_init( hst, 8501 )
filter pattern: %s
returning: ALL
filter is: (ldapsearch: started Tue Oct 23 14:49:11 2007)
ldap_search: Bad search filter

Thanks and Regards
Bhawna


On Oct 29, 5:06 am, Mark Smith <[EMAIL PROTECTED]> wrote:
> Bhawna wrote:
> > Hi,
>
> > I am running ldapsearch command line utility to search entries in
> > iPlanet Directory Server 5.1. I am not being able to use option -f to
> > provide filter. When I provide filter along with other command line
> > parameters, I am able to get entries from DS. But on trying to put the
> > same filter in a file and providing filename with -f option, I dont
> > see any entries appearing on the screen.
>
> > Please see below the results returned by the tool
>
> > ldap_init( ps0428, 6001 )
> > filter pattern: %s
> > returning: ALL
>
> > Filterfile has simple filter with no error on it as the same filter is
> > giving results on trying at command line itself.
>
> If you have access to the LDAP server's access log, please check and see
> what search requests are being sent to it.
>
> Also, if you post a sample filter file and the exact ldapsearch command
> you are using, someone else may be able to reproduce the problem you are
> experiencing.
>
> --
> Mark Smith
> Pearl Crescenthttp://pearlcrescent.com/- Hide quoted text -
>
> - Show quoted text -

_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to