1 (edited by Tonton 2013-10-20 03:49:36)

Topic: Auth failed with bad encoding password

before was : roundcube auth failed for new user after add SOGo

======== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): ldap
- Linux/BSD distribution name and version: Ubuntu
- Related log if you're reporting an issue:
====
Hello i follow this tuto to add SOGO to my server. i search to have calendar for thundirbird
http://www.iredmail.org/wiki/index.php? … DAP/Ubuntu

so it works  user who exist on server before the instal can log into both webmail /mail and /SOGo
and new user can not connect to roundcude


# tail -0f /var/log/dovecot.log

when log roundcube
Oct 12 00:08:49 imap-login: Info: Disconnected (auth failed, 1 attempts): user=<marc@ebii.fr>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured

when log SOGO
Oct 12 00:11:24 imap-login: Info: Login: user=<marc@ebii.fr>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=8303, secured
Oct 12 00:11:24 dict: Info: mysql(127.0.0.1): Connected to database iredadmin
Oct 12 00:11:24 imap(marc@ebii.fr): Info: Disconnected: Logged out bytes=284/2951
Oct 12 00:11:26 imap-login: Info: Login: user=<marc@ebii.fr>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=8310, secured
Oct 12 00:11:26 imap(marc@ebii.fr): Info: Disconnected: Logged out bytes=129/1018
Oct 12 00:11:26 imap-login: Info: Login: user=<marc@ebii.fr>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=8312, secured
Oct 12 00:11:26 imap(marc@ebii.fr): Info: Disconnected: Logged out bytes=147/1184

i open phpldapadmin but services are the same between user with roundcube acces and the other

did someone know how to correct this and where the trouble come from ?
thanks

T.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Auth failed with bad encoding password

Does resetting password with iRedAdmin for this user work for you?

3 (edited by Tonton 2013-10-12 20:44:05)

Re: Auth failed with bad encoding password

ZhangHuangbin wrote:

Does resetting password with iRedAdmin for this user work for you?

No it is not server error

i forgot to say .. when trying to reset password it is not working with

internal server error blanck page

for trying i create an other user and roundcube working great and reset password too !  but not for two user before

where does it come ?

4

Re: Auth failed with bad encoding password

Hello it's seems to come from password size or content..

the user password not work but 1234 or simple password solve the problem

is it encoding trouble ? or password size ?

so i use phpldapadmin to insert  complexe password for user but the same trouble
imap not work too

5

Re: Auth failed with bad encoding password

*) Could you please export LDIF data of the user which doesn't work?
*) How did you change user password?
*) Which password mech do you use? MD5, SSHA or plain text?
*) Which password mech does SOGo use?

6

Re: Auth failed with bad encoding password

ZhangHuangbin wrote:

*) Could you please export LDIF data of the user which doesn't work?
*) How did you change user password?
*) Which password mech do you use? MD5, SSHA or plain text?
*) Which password mech does SOGo use?

Sorry for the late answer ..
Hello i change the Post title cause i thing is more due to encoding trouble than product addons

The problem is reproductible on my server with any password with  letter : ù  at any user

i don't try with ï or â

but this is what you ask for

for changing password after create with bad one i use both has admin phpldapadmin with plainText or iredmail that change password
with a ù inside can not logon replace with u and it 's ok

juste need to know and it is usable !

for crypto i use default instals is SSHA and is visible in the  ldap export so for SOGO i don't really know why is the only acces working with password with a [ù] 
i follow http://www.iredmail.org/wiki/index.php? … DAP/Ubuntu tutorial
juste the path for config file
/var/lib/sogo/GNUstep/Defaults/.GNUstepDefaults
and the config file has this but is it efficent? i dont know : <key>NGUseUTF8AsURLEncoding</key>

Post's attachments

export ldif marc@ebii-fr.txt 1.53 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

7

Re: Auth failed with bad encoding password

I guess many applications don't support non-ascii characters as password.