command line client usage and simple bind

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux