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

Re: [OPENLDAP] filters using >=





On Tue, 18 Jul 2006, aubert@iut-bm.univ-fcomte.fr wrote:

Hello.

I need to write a shell script in which I execute a search with the ldapsearch command below :

ldapsearch -x -ZZ -LLL -H "ldap://localhost"; -D "cn=Manager,dc=femto-st,dc=org" -W -b "ou=3,dc=femto-st,dc=org" newAccount>=1

This does not work. I found the following line in the log file :

Are you quoting it just like that in the shell? My guess is the shell is seeing the ">" as a file redirection operator and is sending the output to a file called "=1".

  - Logan