Hi,

>   This is my first mail to the list and I'm not sure if it's the right
> place but none of the others lists I saw seemed to fit.

It more looks like a SOGo configuration issue, but we are happy to help.

>   I'm installing SOGo and I need to install Openchange so people using
> the Outlook client could connect to it as it was an Exchange server.
> Everything seems to work but when I run Outlook this messages show up
> in the dovecot log file:
> 
> 
> Jan  4 08:53:25 sogo dovecot: auth: Debug: Loading modules from
> directory: /usr/lib64/dovecot/auth
> Jan  4 08:53:25 sogo dovecot: auth: Debug: Module
> loaded: /usr/lib64/dovecot/auth/libauthdb_ldap.so
> Jan  4 08:53:25 sogo dovecot: auth: Debug: Module
> loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
> Jan  4 08:53:25 sogo dovecot: auth: Debug: Module
> loaded: /usr/lib64/dovecot/auth/libmech_gssapi.so
> Jan  4 08:53:25 sogo dovecot: auth: Debug: auth client connected
> (pid=25958)
> Jan  4 08:53:25 sogo dovecot: auth: Debug: client in:
> AUTH#0111#011PLAIN#011service=imap#011secured#011lip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rport=58667#011resp=<hidden>
> Jan  4 08:53:25 sogo dovecot: auth:
> passdb(luisangel.fernandez,127.0.0.1): Attempted login with password
> having illegal chars

^^^ According to dovecot 2.2 branch code, this error message occurs when
your password either have '\n', '\r', '\t' or \001 in it which generally
means it was sent unescaped.

Furthermore, I think - but I may be wrong here - that the this illegal
char check only occurs with plain auth.

> Jan  4 08:53:27 sogo dovecot: auth: Debug: client out:
> FAIL#0111#011user=luisangel.fernandez
> Jan  4 08:53:27 sogo dovecot: imap-login: Disconnected (auth failed, 1
> attempts): user=<luisangel.fernandez>, method=PLAIN, rip=127.0.0.1,
> lip=127.0.0.1, secured
> 
I think the SOGo debug log would bring a set of valuable information
here. Can you paste the log matching this case?

> 
>   Why, in the first case, didn't it try to use ldap? 

That is a dovecot question I'm afraid.

> and what's all of "Attempted login with password having illegal chars"
> about? (I'm sure the password is the right one) My dovecot.conf is:
> 
> 
> auth_debug=yes
> auth_verbose=yes
> mail_debug=yes
> auth_mechanisms = plain
> ssl = no
> disable_plaintext_auth = no
> 
> 
> mail_location = maildir:~/
> 
> 
> passdb {
>         driver = ldap
>         args = /etc/dovecot/dovecot-ldap.conf
> }
> userdb {
>         driver = ldap
>         args = /etc/dovecot/dovecot-ldap.conf
> }
> service auth {
>         unix_listener auth-master {
>                 group = vmail
>                 mode = 0600
>                 user = vmail
>         }
>         unix_listener auth-userdb {
>                 user = vmail
>         }
>         user = root
> }
> 
> 
>   And, at "mapistore" folder I have a password file for each user with
> their plain text password.

I'm not sure I understand what you mean here. Can you detail a bit
further? Do you mean in openchange.ldb database?
> 
> 
>   It is configured to "just work", no security concern at this point
> since I'm trying to see if SOGo and Openchange would fit in the
> company I'm working for :-). If you need some other information,
> please don't heasitate to ask.
> 
Have you checked openchange guide about setting SOGo backend?
http://www.openchange.org/developers/backends/sogo/index.html

Kind Regards,
Julien.


-- 
Julien Kerihuel
[email protected]
OpenChange Project Founder

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to