Hi,
I still think its authentication issue. I used to get this problem. I
tried for MD5 also , but failed until i switched to CRYPT.
I don't know why it was causing problems, but i think i might have done
something wrong during installation/compilation, or something which should
be done,and i didn't do it etc.
Right now its working with CRYPT for me.
Althought i wanted to use some more advanced encryption.
Also ,as Mike said, this question should be asked on courier mailing
list, b/c its related to ldap + courier's ldap module. it has nothing to do
with qmail. There ppl will be able to elaborate more on how
authdaemond.ldap works with ldap.
Anyway, if you want to try with CRYPT or other encryption, do remember to
restart the ldap service after changing slapd.conf file. Then again
set/change the password for the user , then try loggin in.:-) (hope you'd
already know this simple stuff)
Regards,
Qutub
> Hi,
>
> Can you try this. Let me know if it doesn't work.
> LDAP_MAILDIR ./Maildir
>
> Yildiray Ozen
> Bahar
>
>
> --- John Lazos <[EMAIL PROTECTED]> wrote:
>>
>> Problem with login
>>
>> error while logging in
>>
>> my maillog has the following entries:
>>
>> Sep 18 15:24:22 test-mail slapd[1255]: slapd
>> starting
>> Sep 18 15:24:22 test-mail ldap: slapd startup
>> succeeded
>> Sep 18 15:24:22 test-mail qmail: 1032351862.681791
>> status: local 0/10 remote
>> 0/20
>> Sep 18 15:24:22 test-mail authdaemond.ldap:
>> authdaemon: modules="authldap",
>> daemons=5
>> Sep 18 15:24:44 test-mail imapd: Connection,
>> ip=[::ffff:127.0.0.1]
>> Sep 18 15:25:02 test-mail authdaemond.ldap:
>> Hostname: localhost:389
>> Sep 18 15:25:02 test-mail authdaemond.ldap: UID:
>> 600
>> Sep 18 15:25:02 test-mail authdaemond.ldap: GID:
>> 600
>> Sep 18 15:25:02 test-mail authdaemond.ldap:
>> ldapconnect end
>> Sep 18 15:25:02 test-mail authdaemond.ldap: BindDn:
>> cn=courier,dc=koutcons,dc=gr BindPw: couriersecret
>> Sep 18 15:25:02 test-mail slapd[1257]: daemon:
>> conn=0 fd=9 connection from
>> IP=127.0.0.1:32777 (IP=0.0.0.0:34049) accepted.
>> Sep 18 15:25:02 test-mail slapd[1289]: conn=0 op=0
>> BIND
>> dn="CN=COURIER,DC=KOUTCONS,DC=GR" method=128
>> Sep 18 15:25:02 test-mail slapd[1257]: deferring
>> operation
>> Sep 18 15:25:02 test-mail slapd[1289]: conn=0 op=0
>> RESULT tag=97 err=0 text=
>> Sep 18 15:25:02 test-mail slapd[1290]: conn=0 op=1
>> SRCH
>> base="dc=koutcons,dc=gr" scope=2
>> filter="(&([EMAIL PROTECTED]))"
>> Sep 18 15:25:02 test-mail authdaemond.ldap: Nombre
>> de r��sulat: 1
>> Sep 18 15:25:02 test-mail authdaemond.ldap: DN:
>> uid=jlazos,ou=accounts,dc=koutcons,dc=gr
>> Sep 18 15:25:02 test-mail authdaemond.ldap: after
>> ldap_first_entry
>> Sep 18 15:25:02 test-mail authdaemond.ldap:
>> copy_value mailMessageStore:
>> /var/qmail/maildirs/jlazos/Maildir
>> Sep 18 15:25:02 test-mail slapd[1290]: conn=0 op=1
>> SEARCH RESULT tag=101
>> err=0 text=
>> Sep 18 15:25:02 test-mail authdaemond.ldap:
>> copy_value mailMessageStore:
>> /var/qmail/maildirs/jlazos/Maildir
>> Sep 18 15:25:02 test-mail authdaemond.ldap:
>> copy_value cn: JoHnNy L
>> Sep 18 15:25:02 test-mail authdaemond.ldap:
>> copy_value userPassword:
>> {SSHA}MrZc8TD1vDb3BauLw4MHjWF/mcMiC9Fp
>> Sep 18 15:25:02 test-mail authdaemond.ldap: before
>> callback rc=-1
>> Sep 18 15:25:02 test-mail authdaemond.ldap: after
>> callback rc=-1
>> Sep 18 15:25:07 test-mail imapd: LOGIN FAILED,
>> ip=[::ffff:127.0.0.1]
>>
>> My authldaprc files has the following entries
>>
>> LDAP_SERVER localhost
>> LDAP_PORT 389
>> LDAP_BASEDN dc=koutcons,dc=gr
>> LDAP_BINDDN cn=courier,dc=koutcons,dc=gr
>> LDAP_BINDPW couriersecret
>> LDAP_TIMEOUT 5
>> LDAP_AUTHBIND 0
>> LDAP_MAIL mail
>> LDAP_DOMAIN koutcons.gr
>> LDAP_GLOB_UID vmail
>> LDAP_GLOB_GID vmail
>> LDAP_HOMEDIR mailMessageStore
>> LDAP_MAILDIR mailMessageStore
>> LDAP_FULLNAME cn
>> #LDAP_CLEARPW clearPassword
>> #LDAP_CRYPTPW userPassword
>> LDAP_CRYPTPW userPassword
>> # LDAP_UID uidNumber
>> # LDAP_GID gidNumber
>> LDAP_DEREF never
>> LDAP_TLS 0
>>
>> with these setting the continues refusing me to
>> login.
>>
>>
>> Any ideas?
>>
>> Thanx once more
>>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
--
Syed Qutubuddin Ahmad
Network Engineer
CubeXS Private Limited.