Wang, Hui wrote:
My openldap 2.4.40 is up and running, and I also I found the ldapadd commend under /opt/bin, is there anything else I missed which caused the ldapadd doesn't run?
[root@oldaptest01 bin]# [root@oldaptest01 bin]# ldapadd -x -D "cn=Directory Manager,o=csun" -W -f example.ldif -bash: ldapadd: command not found
Did you try /opt/bin/ldapadd [..] ?
On most systems the current directory is not in $PATH and /opt/bin seems also not to be in your $PATH.
Ciao, Michael.