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

still can't run ldapadd command after install openldap



Hi, All

Sorry to bother everyone on this list. I am new to OPENLDAP server and also this is first time I work as a linux admin to install something by myself.

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? 

Thank you all

Hui Wang from CSUN



[root@oldaptest01 bin]# ps auxww | grep slapd 
root      3094  0.0  6.7 1411584 129248 ?      Ssl  Mar25   0:00 /opt/libexec/slapd
root     32481  0.0  0.0 103252   840 pts/0    S+   13:40   0:00 grep slapd

[root@oldaptest01 bin]# pwd
/opt/bin
[root@oldaptest01 bin]# ls -l
total 2268
lrwxrwxrwx 1 root root     10 Mar 25 10:34 ldapadd -> ldapmodify
-rwxr-xr-x 1 root root 264824 Mar 25 10:34 ldapcompare
-rwxr-xr-x 1 root root 265432 Mar 25 10:34 ldapdelete
-rwxr-xr-x 1 root root 265624 Mar 25 10:34 ldapexop
-rwxr-xr-x 1 root root 277336 Mar 25 10:34 ldapmodify
-rwxr-xr-x 1 root root 265016 Mar 25 10:34 ldapmodrdn
-rwxr-xr-x 1 root root 264216 Mar 25 10:34 ldappasswd
-rwxr-xr-x 1 root root 287864 Mar 25 10:34 ldapsearch
-rwxr-xr-x 1 root root 155256 Mar 25 10:34 ldapurl
-rwxr-xr-x 1 root root 262648 Mar 25 10:34 ldapwhoami

[root@oldaptest01 bin]# [root@oldaptest01 bin]# ldapadd -x -D "cn=Directory Manager,o=csun" -W -f example.ldif
-bash: ldapadd: command not found
 [root@oldaptest01 bin]#