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
">" is a special character in a shell script, you need to escape it first.
--Quanah
-- Quanah Gibson-Mount Principal Software Developer ITS/Shared Application Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html