[Dovecot] LDAP
Wojtek Bogusz
Wojtek at FrontLineDefenders.org
Mon Mar 17 20:27:35 EET 2008
Charles Marcus wrote:
> On 3/15/2008, Wojtek Bogusz (Wojtek at FrontLineDefenders.org) wrote:
>> i am using version 1.0.rc17
>
> upgrade...very old...
hi. thanks. i upgraded to version 1.0.13 and it changes nothing in the
problem. let me quote the /var/log/mail.info and config files below. i
would be really grateful for help as i am a bit stacked with this
problem. cheers, Wojtek
# /var/log/mail.info:
Mar 17 18:21:08 base dovecot: auth(default): client in:
AUTH^I1^IPLAIN^Iservice=IMAP^Ilip=192.168.0.202^Irip=192.168.0.200
Mar 17 18:21:08 base dovecot: auth(default): client out: CONT^I1^I
Mar 17 18:21:09 base dovecot: auth(default): client in:
CONT^I1^IAHdvanRlawBiZWR6aWUgZG9icnpl
Mar 17 18:21:09 base dovecot: auth(default): ldap(wojtek,192.168.0.200):
bind: dn=uid=wojtek,ou=Users,dc=frontline
Mar 17 18:21:09 base dovecot: auth(default): client out: OK^I1^Iuser=wojtek
Mar 17 18:21:09 base dovecot: auth(default): master in: REQUEST^I2^I19185^I1
Mar 17 18:21:09 base dovecot: auth(default): ldap(wojtek,192.168.0.200):
user search: base=ou=Users,dc=frontline scope=subtree filter=
(&(objectClass=posixAccount)(uid=wojtek)) fields=homeDirectory,uidNumber
Mar 17 18:21:09 base dovecot: auth(default): ldap(wojtek,192.168.0.200):
Authenticated user not found
Mar 17 18:21:09 base dovecot: auth(default):
userdb(wojtek,192.168.0.200): user not found from userdb
Mar 17 18:21:09 base dovecot: auth(default): master out: NOTFOUND^I2
Mar 17 18:21:09 base dovecot: imap-login: Internal login failure:
user=<wojtek>, method=PLAIN, rip=192.168.0.200, lip=192.168.0.202
# 1.0.13: /usr/local/etc/dovecot.conf
base_dir: /var/run/dovecot/
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imaps imap
ssl_cert_file: /etc/apache2/ssl/server.pem
ssl_key_file: /etc/apache2/ssl/server.key
disable_plaintext_auth: no
login_dir: /var/run/dovecot//login
login_executable: /usr/local/libexec/dovecot/imap-login
login_greeting_capability: yes
mail_privileged_group: mail
mail_location: maildir:/home/MAIL/%u
imap_client_workarounds: tb-extra-mailbox-sep
auth default:
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
userdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
# /etc/dovecot/dovecot-ldap.conf
hosts = localhost
dn = uid=root,ou=Users,dc=frontline
dnpass = [user root plain text password here]
auth_bind = yes
auth_bind_userdn = uid=%u,ou=Users,dc=frontline
ldap_version = 3
base = ou=Users,dc=frontline
scope = subtree
user_attrs = homeDirectory=home,uidNumber=uid
user_filter = (&(objectClass=posixAccount)(uid=%u))
pass_attrs = uid=user,userPassword=password
pass_filter = (&(objectClass=posixAccount)(uid=%u))
default_pass_scheme = MD5
user_global_uid = dovecot
user_global_gid = dovecot
More information about the dovecot
mailing list