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

Quering the server



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts

Gives:

# extended LDIF
#
# LDAPv3
# base <> with scope base
# filter: (objectclass=*)
# requesting: namingContexts
#
 
# search result
search: 2
result: 0 Success

- -------------------------------------------
Running on Fedora Core1 with versions:

[root@database ldap]# rpm -qa | grep ldap
php-ldap-4.3.4-1.1
nss_ldap-207-6
openldap-servers-2.1.22-8
openldap-clients-2.1.22-8
openldap-2.1.22-8
openldap-devel-2.1.22-8

What have I setup wrong?
- -------------------------------------------


Slapd.conf:

include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/redhat/autofs.schema
                                                                                                                                                                                                                                                       
pidfile /var/run/slapd.pid

access to attr=userPassword
        by self write
        by * auth
                                                                                                                             
access to attr=mail
        by self write
                                                                                                                             
access to attr=shadowLastChange
        by self write
                                                                                                                             
access to attr=gecos
        by self write
                                                                                                                             
access to attr=loginShell
        by self write
                                                                                                                             
defaultaccess read

database        bdb
suffix          "dc=example,dc=com"
rootdn          "cn=Manager,dc=example,dc=com"
rootpw          (removed for this e-mail)                                                                                                                          
directory       /var/lib/ldap
                                                                                                                             

index objectClass                       eq,pres
index ou,cn,mail,surname,givenname      eq,pres,sub
index uidNumber,gidNumber,loginShell    eq,pres
index uid,memberUid                     eq,pres,sub
index nisMapName,nisMapEntry            eq,pres,sub


- -- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 587369
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E ghenry@suretecsystems.com

Open Source. Open Solutions.

http://www.suretecsystems.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAn3n+eWseh9tzvqgRAqGAAJ908A63UqgIh/2F34LabFCwdUeTGACeIsO7
6KTLbMDAioeUGWdTI+2cFJk=
=g49n
-----END PGP SIGNATURE-----