Hi everybody :-)

I'm trying to configure a LDAP server with Debian Sarge. But I have some
problems with the packages.

First I make...

#apt-get install slapd ldap-utils libsasl2-modules

And then debconf ask...

Do you want to omit the configuration for slapd? Ans=No
Enter your dns domain name: Ans=antalnet.com
Enter the name of your organization: Ans=Antalnet
Admin password:  Ans=**********
Verify password:  Ans=**********
Which database backend would you like to use? Ans=BDB
Do you want your database to be removed when slapd is purged? Ans=No
Move old database? Ans=Yes
Allow LDAPv2 protocol? Ans=Yes
So I finish with a /etc/ldap/slapd.conf with this options set:

------------------ /etc/ldap/slapd.conf --------------------------------
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
backend         bdb
database        bdb
suffix          "dc=antalnet,dc=com"
directory       "/var/lib/ldap"
index           objectClass eq
lastmod         on
access to attribute=userPassword
       by dn="cn=admin,dc=antalnet,dc=com" write
       by anonymous auth
       by self write
       by * none
access to dn.base="" by * read
access to *
       by dn="cn=admin,dc=antalnet,dc=com" write
       by * read
-----------------------------------------------------------------

I create a people.ldif file containing:

dn: ou=people,dc=antalnet,dc=com
ou: people
objectClass: organizationalUnit

But when I try to...

#ldapadd -f people.ldif
SASL/DIGEST-MD5 authentication started
Please enter your password:

This message appears:

ldap_sasl_interactive_bind_s: Invalid credentials (49)
       additional info: SASL(-13): authentication failure: client
response doesn't match what we generated

I try also with:
#ldapadd -f people.ldif -U admin
and
#ldapadd -f people.ldif -D 'cn=admin,dc=antalnet,dc=com'
without luck.

Anybody could helpme, please?




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to