[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
still can't run ldapadd command after install openldap
- To: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Subject: still can't run ldapadd command after install openldap
- From: "Wang, Hui" <holly.wang@csun.edu>
- Date: Fri, 27 Mar 2015 20:45:49 +0000
- Accept-language: en-US
- Authentication-results: openldap.org; dkim=none (message not signed) header.d=none;
- Content-language: en-US
- Thread-index: AdBozn+0sbKEe1uXTRCYnDVdPL4tXQ==
- Thread-topic: 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]#