[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
referral missing
Hello,
I am trying to set up an openLDAP server to use with thebat and
outlook (address book), but am running onto some problems.
when I try to import the ldif I need for addrbook
(http://www.archonet.com/addrbook/) I get this error :
mailserver:/usr/local/src/addrbook-0.9.0# ldapadd -x -D "cn=admin, dc=scheppers-wetteren, dc=be" -W -f ldap.ldif
Enter LDAP Password:
adding new entry "o=scheppers-wetteren, c=be"
ldapadd: update failed: o=scheppers-wetteren, c=be
ldap_add: Server is unwilling to perform (53)
additional info: referral missing
Ok, so this is my slapd.conf (edited , shortened)
allow bind_v2
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema
schemacheck on
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd.args
loglevel 0
modulepath /usr/lib/ldap
moduleload back_bdb
#######################################################################
# Specific Backend Directives for bdb:
# Backend specific directives apply to this backend until another
# 'backend' directive occurs
backend bdb
database bdb
suffix "dc=scheppers-wetteren,dc=be"
directory "/var/lib/ldap"
index objectClass eq
lastmod on
access to attribute=userPassword by dn="cn=Manager,dc=scheppers-wetteren,dc=be" write by anonymous auth by self write by * none
access to * by dn="cn=Manager,dc=scheppers-wetteren,dc=be" write by * read
And the ldif I am importing :
dn: o=scheppers-wetteren, c=be
objectClass: organization
o: scheppers-wetteren
description: Scheppersinstituut
dn: ou=internal, o=scheppers-wetteren, c=be
objectClass: organizationalUnit
ou: internal
description: Internal staff
I thought this should work, but have no clue on what is goin wrong
here ... because this : ldapsearch -x -b 'dc=scheppers-wetteren,dc=be' -s base '(objectclass=*)' namingContexts
gives me
dn: dc=scheppers-wetteren,dc=be
# search result
search: 2
result: 0 Success
So I have got a valid entry ?
Can anyone help me out on this one, I am a ldap beginner :/
Thanks,
Pieterjan Heyse
Scheppersintituut Wetteren
Cooppallaan 128
9230 Wetteren
Tel: 09 3692072
Fax: 09 3661348
mailto:pieterjan.heyse@scheppers-wetteren.be