I cant add anything into my LDAP service I got up and running under Redhat 9
some cut and pasting will follow... and my error message at the end..
Here follows my slapd.conf (using standard that comes with installation just for testing)
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.8 2003/05/24 23:19:14 kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
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
# 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
#######################################################################
# ldbm and/or bdb database definitions
#######################################################################
database ldbm
suffix "o=test"
rootdn "cn=Manager,o=test"
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
# rootpw {crypt}ijFYNcSNctBYg
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /var/lib/ldap
# Indices to maintain for this database
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
---------------------------------------------------------------------------------------
Here follows LDAP.CONF
# Your LDAP server. Must be resolvable without using LDAP.
host 127.0.0.1
# The distinguished name of the search base.
base o=test
# Client certificate and key
# Use these, if your server requires client authentication.
#tls_cert
#tls_key
ssl no
pam_password md5
---------------------------------------------------------------------------------------
my test.ldif
dn: o=test
o: oxelosund
objectclass: top
objectclass: organization
dn: ou=editors, o=test
ou: editors
objectclass: organizationalUnit
dn: uid=hakan, ou=editors, o=test
uid: han
cn: Han Fzen
sn: gurka
givenname: Han
objectclass: person
userpassword: mutta
mailacceptinggeneralid:
hata@strulskit.se
ou: editors
dn: uid=mkempe, ou=editors, o=test
uid: mkempe
cn: Mnus Ke
sn: Kpe
givenname: Mnus
objectclass: person
userpassword: clearpass
mailacceptinggeneralid:
mpe@spawmalot.org
maildrop:
mke@dper.ch
preferredlanguage: sv
ou: editors
--------------------------------------------------------------------------------------
THE ERROR ITSELF!!
[root@ns1 root]# service ldap restart
Stopping slapd: [ OK ]
Starting slapd: [ OK ]
[root@ns1 root]# ldapadd -D "cn=Manager, o=test" -w secret < /root/test.ldif
SASL/DIGEST-MD5 authentication started
ldap_sasl_interactive_bind_s: Internal (implementation specific) error (80)
additional info: SASL(-13): user not found: no secret in database
[root@ns1 root]#
What is wrong?!?!?!