Hi,
First of all... happy new year to all :-)
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.
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
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
However I'm able to connect and, for example, list all my folders using
telnet. These are the logs in that case:
Jan 4 09:06:37 sogo dovecot: auth: Debug: auth client connected (pid=26058)
Jan 4 09:06:43 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=58683#011resp=<hidden>
Jan 4 09:06:43 sogo dovecot: auth: Debug:
ldap(luisangel.fernandez,127.0.0.1): bind search:
base=cn=Users,dc=aliratiun,dc=tic
filter=(&(objectClass=mailRecipient)(cn=luisangel.fernandez))
Jan 4 09:06:43 sogo dovecot: auth: Debug:
ldap(luisangel.fernandez,127.0.0.1): no fields returned by the server
Jan 4 09:06:43 sogo dovecot: auth: Debug: client out:
OK#0111#011user=luisangel.fernandez
Jan 4 09:06:43 sogo dovecot: auth: Debug: master in:
REQUEST#0113199467521#01126058#0111#01170435d32fc55eae13a644e3cb0811fc3
Jan 4 09:06:43 sogo dovecot: auth: Debug:
ldap(luisangel.fernandez,127.0.0.1): user search:
base=cn=Users,dc=aliratiun,dc=tic scope=subtree
filter=(&(cn=luisangel.fernandez)(objectClass=mailRecipient))
fields=homeDirectory,uidNumber,gidNumber
Jan 4 09:06:43 sogo dovecot: auth: Debug:
ldap(luisangel.fernandez,127.0.0.1): result:
homeDirectory(home)=/home/luisangel.fernandez uidNumber(uid)=1501
gidNumber(gid)=1000
Jan 4 09:06:43 sogo dovecot: auth: Debug: master out:
USER#0113199467521#011luisangel.fernandez#011home=/home/luisangel.fernandez#011uid=1501#011gid=1000
Jan 4 09:06:43 sogo dovecot: imap-login: Login:
user=<luisangel.fernandez>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
mpid=26059, secured
Jan 4 09:06:43 sogo dovecot: imap(luisangel.fernandez): Debug: Effective
uid=1501, gid=1000, home=/home/luisangel.fernandez
Jan 4 09:06:43 sogo dovecot: imap(luisangel.fernandez): Debug: maildir++:
root=/home/luisangel.fernandez, index=, control=,
inbox=/home/luisangel.fernandez
Jan 4 09:06:52 sogo dovecot: imap(luisangel.fernandez): Disconnected:
Logged out bytes=22/716
Why, in the first case, didn't it try to use ldap? 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.
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.
Thanks in advance.
Regards,
--
Linkedin profile (http://es.linkedin.com/in/lafdez)
G+ profile (https://plus.google.com/u/0/115320207805121303027/about)
Twitter (@lafdez @_lafdez_)
Identi.ca (@lafdez)
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel