What do you have in your pam configuration.
Does a user called philou exists?
can you do a
ldapsearch uid=philou
Can you bind as this user?
ldapsearch -D "dn of user philou" -w "passwordOfUserPhilou" uid=*
You said
"i'v an admin cyrus user in openldap "
but your imap.conf says
"admins: philou"
So who is admin? "cyrus" or "philou"?
Any lines about pam_ldap in syslog messages?
Let me know if you need more help.
Philippe Izoret wrote:
>
> hello .
>
> i've installed
>
> - cyrus-sasl-1.5.24 => ./configure --disable-krb4 --disable-gssapi
> --disable-cram --disable-digest -
> -enable-pwcheck
>
> - openldap-2.0.7 => ./configure --with-cyrus-sasl
>
> - cyrus-imapd-2.0.12 => ./configure
> --with-dbdir=/usr/local/BerkeleyDB.3.2 --with-openssl=/usr/local/ope
> nssl-0.9.6
>
> i'v an admin cyrus user in openldap ,
> my /etc/imap.conf :
> configdirectory: /var/imap
> partition-default: /var/spool/imap
> admins: philou
> sasl_pwcheck_method: pam
>
> my /usr/lib/sasl/Cyrus.conf (which is a link to
> /usr/local/lib/sasl/Cyrus.conf) :
> pwcheck_method:PAM
>
> i run slapd , cyrus : /usr/cyrus/bin/master &
>
> => cyradm -u philou zarma
> Please enter your password:
> IMAP Password:
> Login failed: no mechanism available at
> /usr/local/lib/site_perl/i386-linux/Cyrus/IMAP/Admin.pm line 78
> cyradm: cannot authenticate to server with as philou
>
> you see , i've two autentification ..
> the fist perhaps for openldap . , the second for IMAP .
>
> what's wrong in perl mechanism ??
>
> my syslog :
> Mar 4 12:58:48 zarma master[6445]: about to exec /usr/cyrus/bin/imapd
> Mar 4 12:58:48 zarma service-imapd[6445]: executed
> Mar 4 12:58:48 zarma imapd[6445]: accepted connection
> Mar 4 12:58:50 zarma imapd[6445]: badlogin: zarma[192.168.1.1] PLAIN no
> mechanism available
> Mar 4 12:58:57 zarma master[6275]: process 6445 exited, status 0
>
> Can i launch cyrus 2.0.12 via inetd ??
>
> can you help me please ??
>
> By .
--
Atif Ghaffar
Internet Development Manager
4unet AG/SA
-------------------------.
+41 78 787 51 45 ¦ voice
+41 24 441 09 03 ¦ fax
http://www.4unet.net ¦ www
http://atif.developer.ch ¦ homepage
[EMAIL PROTECTED] ¦ email
Do you speak Unix?