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

OpenLDAP and SASL



Hallo,

I'm testing to set OpenLDAP work with SASL, but I cannot
success...
Is there some documentation, HOWTO, or step-by-step, how is
possible to set OpenLDAP to work with SASL?

What I tried:

# cat /usr/lib/sasl/slapd.conf
pwcheck_method: sasldb

(I tried passwd too).

# sasldblistusers
user: root realm: jcu.cz mech: DIGEST-MD5
user: root realm: jcu.cz mech: PLAIN
user: root realm: jcu.cz mech: CRAM-MD5

# cat /etc/ldap/slapd.conf
include         /etc/ldap/schema/core.schema
include         /etc/ldap/schema/cosine.schema
include         /etc/ldap/schema/nis.schema
include         /etc/ldap/schema/sambatng.schema-v3

schemacheck     on

pidfile         /var/run/slapd.pid

argsfile        /var/run/slapd.args

loglevel        125

database        ldbm

suffix          "dc=jcu,dc=cz"

directory       "/var/lib/ldap"

lastmod on

access to dn=".*,dc=jcu,dc=cz"
        by dnattr=owner write

access to attribute=userPassword
        by dn="cn=root,dc=jcu,dc=cz" write
        by anonymous auth
        by self write
        by * none

access to *
        by dn="cn=root,dc=jcu,dc=cz" write
        by * read

rootdn "uid=root@jcu.cz"

# End of ldapd configuration file

# ldapsearch -D "cn=root,dc=jcu,dc=cz" -X"u:root@jcu.cz"
SASL/DIGEST-MD5 authentication started
Please enter your password: (Same password as in the saslpasswd)
ldap_sasl_interactive_bind_s: Unknown error

Is there some errors, some omissiones?

Thanks for advice...

Sincerely
Jan Marek
PS. I'm sorry for my English...
-- 
Ing. Jan Marek
University of South Bohemia
Academic Computer Centre
Phone: +420-38-7772080