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

[no subject]



Hi,

When I run " ldapsearch -x "cn=root", I get

result=32 No Such Object

Looks like the base is set to "dc=example,dc=com" for the search, here is what the log shows:

----------------------
conn=2 fd=9 ACCEPT from IP=127.0.0.1:43400 (IP=0.0.0.0:389)
conn=2 op=0 BIND dn="" method=128
ber_flush: 14 bytes to sd 9
conn=2 op=0 RESULT tag=97 err=0 text=
conn=2 op=1 SRCH base="dc=example,dc=com" scope=2 filter="(cn=root)"
                                    =======================
ber_flush: 14 bytes to sd 9
conn=2 op=1 RESULT tag=101 err=32 text=
conn=2 op=2 UNBIND
conn=2 fd=9 closed

-----------------------------

This is the slapd.conf that I'm using:
-----------------
include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/inetorgperson.schema
include         /usr/local/etc/openldap/schema/nis.schema

pidfile         /usr/local/var/slapd.pid
argsfile        /usr/local/var/slapd.args

loglevel=256

access to dn=".*,dc=www3,dc=com" attr=userPassword
 by dn="cn=root,dc=www3,dc=com" write
 by self write
 by * auth

access to dn=".*,dc=www3,dc=com"
 by self write
 by dn="cn=root,dc=www3,dc=com" write
 by * read

access to dn=".*,ou=People,dc=www3,dc=com"
        by * read

access to dn=".*,dc=www3,dc=com"
 by self write
 by * read


database ldbm suffix "dc=comanage,dc=com" rootdn "cn=root,dc=comanage,dc=com" rootpw {crypt}******* directory /usr/local/var/openldap-data index objectClass,uid,uidNumber,gidNumber eq index cn,mail,surname,givenname eq,subinitial

-----------------

This is the ldap.conf:
-------------
BASE    dc=comanage, dc=com
URI     ldap://www3.comanage.com

------------------

I'm running RedHat 7.3 and OpenLDAP 2.10.

Am I missing any configuration settings?

Thanks,
Gopi

-----------
Gopi Mandava                            (703) 267-1735 x307
CoManage Inc.

"I thought of that while riding my bike."
        Albert Einstein, on the theory of Relativity