General discussion on installation and configuration of SOGo

Text archives Help


[SOGo] dovecot installation


Chronological Thread 
  • From: "gillecaluim" < >
  • To:
  • Subject: [SOGo] dovecot installation
  • Date: Mon, 22 Sep 2014 18:12:35 -0400 (EDT)

I've followed the openchange cookbook and have samba4/openchange & sogo
installed.
Now working on integrating Dovecot 2.0.9 on a Centos 6.5 server and would
appreciate anyones help who has this working.

Problem 1:
if dn= cn=Administrator,dc=ourhome,dc=net with dnpass = ***** ---------------I
get NT_STATUS_LOGON_FAILURE
but dn =
" "
with dnpass = **** works
I guess I shouldn't complain but why doesn't the first one work?

Problem 2:
can't seem to get a working set of usr_attrs/user_filter,pass_attrs/
pass_filter to authenticate

dovecot-ldap.conf :
uris = ldap://localhost:389
dn =
" "
dnpass = ****
tls = no
ldap_version = 3
base = cn=Users,dc=ourhome,dc=net
scope = subtree
user_filter = (&(objectClass=user)(sAMAccountName=%u))
user_attrs = sAMAccountName=user,userPassword=password,=mail=maildir:/var/
vmail/%Ld/%n, =home=/var$
pass_filter = (&(objectClass=user)(sAMAccountName=%u))
pass_attrs = sAMAccountName=user,userPassword=password

dovecont.message log output:
2014-09-22 14:44:50 auth: Debug: Loading modules from directory: /usr/lib64/
dovecot/auth
2014-09-22 14:44:50 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/
libauthdb_ldap.so
2014-09-22 14:44:50 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/
libdriver_mysql.so
2014-09-22 14:44:50 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/
libdriver_pgsql.so
2014-09-22 14:44:50 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/
libdriver_sqlite.so
2014-09-22 14:44:50 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/
libmech_gssapi.so
2014-09-22 14:44:50 auth: Debug: auth client connected (pid=5316)
2014-09-22 14:45:00 auth: Debug: client in: AUTH 1 PLAIN
service=imap secured lip=127.0.0.1 rip=127.0.0.1 lport=143
rport=35148 resp=AEpvaG5Eb2UASm9obkRvZQ==
2014-09-22 14:45:00 auth: Debug: ldap(JohnDoe,127.0.0.1): pass search:
base=cn=Users,dc=ourhome,dc=net scope=subtree filter=(&(objectClass=user)
(sAMAccountName=JohnDoe)) fields=sAMAccountName,userPassword
2014-09-22 14:45:00 auth: Debug: ldap(JohnDoe,127.0.0.1): result:
sAMAccountName(user)=JohnDoe
2014-09-22 14:45:00 auth: Info: ldap(JohnDoe,127.0.0.1): No password returned
(and no nopassword)
2014-09-22 14:45:00 auth: Debug: Loading modules from directory: /usr/lib64/
dovecot/auth
2014-09-22 14:45:00 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/
libauthdb_ldap.so
2014-09-22 14:45:00 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/
libdriver_mysql.so
2014-09-22 14:45:00 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/
libdriver_pgsql.so
2014-09-22 14:45:00 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/
libdriver_sqlite.so
2014-09-22 14:45:00 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/
libmech_gssapi.so
2014-09-22 14:45:00 auth: Debug: pam(JohnDoe,127.0.0.1): lookup
service=dovecot
2014-09-22 14:45:00 auth: Debug: pam(JohnDoe,127.0.0.1): #1/1 style=1
msg=Password:
2014-09-22 14:45:02 auth: Info: pam(JohnDoe,127.0.0.1): unknown user
2014-09-22 14:45:04 auth: Debug: client out: FAIL 1 user=JohnDoe



Archive powered by MHonArc 2.6.18.

Top of page