Hello,
>> Jan Scholten ha scritto:
>> Saslauthd (and some other) passwords are restricted to 8 Characters..
longer passwords will be
>> truncated. so check when you rename your pass to "shortpw"
>>
> No, I try with password = pippo and password = pluto
Crypt is using 8 chars to Auth, only the first 8 Chars would be used, if you
have a Pass like this:
Hellohih123567890 only this chars would be auth'ed-> hellohih, the Rest is
there but a Password like
this would be the same result like this: hellohihZZZZZZZZZZZ.
SASLAUTHD is using cached Login-Accouts if you use the -c option in your
saslauthd
startupscript.
-c Enable cacheing of authentication credentials
This is a good choice, because in Live Systems with 100 Mailboxes and more,
he must every
Time ask the MySQL Database to look at the correct Username/Password
combinations. If saslauthd uses
Cache the Traffic on the Database would be minimized instead of without
caching. If he is using the old
Password too a few Minutes, it isn't so bad as you turn off caching and the
resulting Traffic against
the MySQL DB.
-n threads
Use threads processes for responding to authentication queries.
(default: 5) A value of zero will indicate that saslauthd should fork an
individual process for each connection. This can solve leaks
that occur in some deployments..
Look at man saslauthd.
Tink about it and give the -c Option a try. :-) It's better as without
caching I have seen on my System.
Regards
Marcel
________________________________________
marcel hartmann webdeveloper
bokeler landstrasse 24a 26215 wiefelstede
www www.marcel-hartmann.com
e-mail mail [at] marcel-hartmann [dot] com
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Oberdan Albertoni
Gesendet: Dienstag, 29. Januar 2008 16:00
An: Jan Scholten; [email protected]
Betreff: Re: [Web-cyradm] change password
> Otherwise a reload of saslauthd should help, maybe pam-mysql is caching
(don't know), but you should restrict it to onetime use by adding -n0 as
parameter. pam-mysql has a memory-leak when a wrong password is entered.
>
>
ok, I try this.
Tank You.
> Jan
>
>> Hello,
>> I have web-cyradm on debian and are all ok.
>> I use pam_mysql to authenticate user, but when I change password for a
>> user in the mysql table the password is changed but if I try to connect
>> with the old password cyrus-imap permit me to login.
>> It seems that salsauthd keep in chache the password.
>>
>
>
>> I tray to connect with :
>>
>
>
>> 1) testsaslauthd -u USER1 -p PASSWORD1 is OK
>> 2) with web-cyradm change passowrd for USER1 to PASSWORDNEW
>> ( in the db there is the new password )
>> 3) testsaslauthd -u USER1 -p PASSWORD1 and it's stil OK
>> 4) testsaslauthd -u USER1 -p PASSWORDNEW is OK
>> 5) testsaslauthd -u USER1 -p PASSWORD1 now recivied 0: NO
>> "authentication failed"
>>
>
>
>> How can tell to salsauthd to view the new password in the DB ?
>>
>
>
>> Thank You.
>> Obe.
>>
>
>
>> _______________________________________________
>> This mailing list is hosted and supported
>> by bit-heads GmbH | http://www.bit-heads.ch
>>
>
>
>> _______________________________________________
>> Web-cyradm mailing list
>> [email protected]
>> http://www.web-cyradm.org/mailman/listinfo/web-cyradm
>>
>
>
>
>
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch
_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch
_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm