[Fedora-directory-users] command line client usage and simple bind

Craig White craigwhite at azapple.com
Sat Dec 3 20:35:02 UTC 2005


If this is too newbie - please ignore (I'm used to openldap and I'm
struggling)

commands like ldapsearch only seem to work if my cwd is
/opt/fedora-ds/shared/bin
# cd ~
[root at lin-workstation ~]# ldapsearch
ldapsearch: error while loading shared libraries: libldap50.so: cannot
open shared object file: No such file or directory

anyway, I can cd /opt/fedora-ds/shared/bin but it's a PITA

the bigger problem, I wanted to simple bind and cannot do that...

# ldapsearch -v -b "ou=people,dc=azapple,dc=com" "(objectclass=*)"

gives me everyone in the container (I am obviously going to have to set
up ACL's)

# ldapsearch -v -b "ou=people,dc=azapple,dc=com" \
-D "cn=Directory Manager,dc=azapple,dc=com" -w - \
"(objectclass=*)"

and

# ldapsearch -v -b "ou=people,dc=azapple,dc=com" \
-D "cn=admin,dc=azapple,dc=com" -w - \
"(objectclass=*)"

both fail with

ldapsearch: started Sat Dec  3 13:32:13 2005

ldap_init( localhost, 389 )
ldap_simple_bind: No such object
ldap_simple_bind: matched: dc=azapple,dc=com

I know it must be something obvious that I am missing but I have tried
and tried with no success - is simple bind not permitted by default?

Craig




More information about the Fedora-directory-users mailing list