cyrus-sasl / ldap problem
Julien Marchal
Julien.Marchal at univ-nancy2.fr
Tue Oct 29 09:57:00 EST 2002
For me it work fine :
try saslauthd.conf :
ldap_servers: ldap://localhost:389
ldap_search_base: dc=gregbox,dc=com
ldap_scope: sub
Start sasl with specifie saslauthd.conf and mech:
/usr/local/sasl/sbin/saslauthd -a ldap -O your_location/saslauthd.conf
in my imapd.conf i have only (for sasl)
sasl_pwcheck_method: saslauthd
A 09:32 29/10/2002 -0500, vous avez écrit :
>One thing I left out, here is an entry from /var/log/auth.log which is entered everytime I try imtest:
>
>Oct 29 09:31:37 Lunar imapd[5495]: cannot connect to saslauthd server: No such file or directory
>
>
>
>
>
>
>
>>From: "Gregory Chagnon" <gregchagnon at hotmail.com>
>>To: info-cyrus at lists.andrew.cmu.edu
>>Subject: cyrus-sasl / ldap problem
>>Date: Tue, 29 Oct 2002 08:52:40 -0500
>>
>>Hi:I'm having a problem getting Cyrus IMAP to work with OpenLDAP. User cliff.clavin is under ou=Users,dc=gregbox,dc=com. When I run imtest, here is the error I get...thanks everyone so much in advance:
>>
>>[root at Lunar]:/home/gchagnon> imtest -m login -a cliff.clavin localhost
>>S: * OK Lunar Cyrus IMAP4 v2.1.9-Invoca-RPM-2.1.9-6 server ready
>>C: C01 CAPABILITY
>>S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS LISTEXT LIST-SUBSCRIBED ANNOTATEMORE X-NETSCAPE
>>S: C01 OK Completed
>>Please enter your password:
>>C: L01 LOGIN cliff.clavin {6}
>>S: + go ahead
>>C: <omitted>
>>S: L01 NO Login failed: generic failure
>>Authentication failed. generic failure
>>Security strength factor: 0
>>C: Q01 LOGOUT
>>Connection closed.
>>
>>
>>Here is the entry from /var/log/imap.log:
>>
>>Oct 29 08:47:14 Lunar master[6197]: about to exec /usr/libexec/cyrus/imapd
>>Oct 29 08:47:14 Lunar imap[6197]: executed
>>Oct 29 08:47:14 Lunar imapd[5489]: accepted connection
>>Oct 29 08:47:16 Lunar imapd[5489]: badlogin: Lunar[127.0.0.1] plaintext cliff.clavin SASL(-1): generic failure: checkpass failed
>>Oct 29 08:48:24 Lunar master[5446]: process 5489 exited, status 0
>>
>>
>>Here are my config files:
>>
>><<imap.conf>>
>>
>>configdirectory: /var/lib/imap
>>partition-default: /var/spool/imap
>>admins: cliff.clavin cyrus gchagnon
>>allowanonymouslogin: no
>>sieveuserhomedir: no
>>sievedir: /var/lib/imap/sieve
>>sendmail: /usr/sbin/sendmail
>>hashimapspool: true
>>sasl_pwcheck_method: saslauthd
>>sasl_passwd_check: saslauthd
>>sasl_ldap_server: localhost
>>#sasl_ldap_basedn: ou=Users,dc=gregbox,dc=com
>>sasl_ldap_basedn: dc=gregbox,dc=com
>>sasl_mech_list: PLAIN
>>tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem
>>tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem
>>
>><<saslauthd.conf>>
>>
>>ldap_servers: ldap://localhost/
>>ldap_bind_dn: cn=Manager,dc=gregbox,dc=com
>>ldap_bind_pw: *******
>>
>><<slapd.conf (important parts)>>
>>database ldbm
>>suffix "dc=gregbox,dc=com"
>>rootdn "cn=Manager,dc=gregbox,dc=com"
>>rootpw *******
>>directory /var/lib/ldap
>>
>>index objectClass,uid,uidNumber,gidNumber,memberUid eq
>>index cn,mail,surname,givenname eq,subinitial
>>
>>
>>
>>_________________________________________________________________
>>Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
>_________________________________________________________________
>Choose an Internet access plan right for you -- try MSN! http://resourcecenter.msn.com/access/plans/default.asp
>
-- Julien Marchal --
Email : Julien.Marchal at univ-nancy2.fr
Université NANCY 2 - C.R.I.
13, Rue Michel Ney
CO 75 - 54037 Nancy Cédex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20021029/a21eda69/attachment.html
More information about the Info-cyrus
mailing list