I lost my previous post!
Trying to get ldap working on Fedora Core4.
ldap version: openldap-servers-2.2.23-5
When I do an ldapadd it gives me an error:
ldapadd -D "cn=Manager,dc=reachlocal,
dc=com" -v -W -x -f ldif.conf
ldap_initialize( <DEFAULT> )
Enter LDAP Password:
add cn:
Zod Mansour
add objectclass:
inetOrgPerson
add sn:
Mansour
add mail:
zod@reachlocal.com
adding new entry "cn=Zod Mansour,dc=reachlocal,dc=c
om,email=z
od@reachlo
cal.com"
modify complete
ldap_add: Server is unwilling to perform (53)
additional info: no global superior knowledge
I am includeing my ldap.conf and slapd.conf here. Any ideas?
ldap.conf
--------------
HOST 192.168.1.21
BASE dc=reachlocal,dc=com
TLS_CACERTDIR /etc/openldap/cacerts
slapd.conf
----------------
include /etc/openldap/schema/core.
schema
include /etc/openldap/schema/cosin
e.schema
include /etc/openldap/schema/ineto
rgperson.s
chema
include /etc/openldap/schema/nis.s
chema
# Allow LDAPv2 client connections. This is NOT the default.
allow bind_v2
# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
database bdb
suffix "dc=reachlocal,dc=com"
rootdn "cn=Manager,dc=reachlocal,
dc=com"
directory /var/lib/ldap
# Indices to maintain for this database
index objectClass eq,pres
index ou,cn,mail,surname,givenna
me eq,pres,sub
index uidNumber,gidNumber,loginS
hell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
Start Free Trial