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

Need help to configure OpenLDAP!!



Hi,
 
Am facing an issue while configuring OpenLDAP.  My suffix looks like below in the slapd.conf file and apart from the default schema i have used ppolicy.

database        bdb
suffix          "dc=example,dc=com,dc=in"
rootdn          "cn=Manager,dc=example,dc=com,dc=in"

# SAG: 20100203
overlay ppolicy
ppolicy_default "cn=default,ou=policies,o=test,dc=example,dc=com,dc=in"
ppolicy_use_lockout

I have prepared the below LDIF to add

test.ldif
======
dn: dc=com,dc=in
dc: com
objectClass: top
objectClass: domain

dn: dc=example,dc=com,dc=in
dc: example
objectClass: top
objectClass: domain

dn: ou=People,dc=example,dc=com,dc=in
ou: People
objectClass: top
objectClass: organizationalUnit

dn: ou=Group,dc=example,dc=com,dc=in
ou: Group
objectClass: top
objectClass: organizationalUnit

Am using the below command to add this LDIF file:

ldapadd -x -W -D "cn=Manager,dc=example,dc=com,dc=in" -f /opt/test.ldif

But am getting the below error.

"adding new entry "dc=com,dc=in"
ldap_add: Server is unwilling to perform (53)
additional info: no global superior knowledge
"

Please help.

Regards,
/Neo