[Dovecot] setting up ldap for sasl
Greetings im new to the list dovecot --version 2.0.13 ubuntu 11.10 i want to use dovecot to authenticate my ldap users. My local users can authenticate and send email. Using postfix sasl/tls dovecot pam.
I have read many docs/tutorials, which all have a plethora of options and information. my file structure is different than most of the documentation. I have ../etc/dovecot.conf which points to.
!include_try /usr/share/dovecot/protocols.d/*.protocol !include conf.d/*.conf !include_try local.conf
which leads me to /etc/dovecot/conf.d, which is full of config files. All were traditionally located in dovecot.conf in previous versions.
im using PAM to authenticate my local system users. I have read that could adjust PAM, to use LDAP.
How do I configure dovecot to keep using pam for local users and ldap for remote ? Do i just add the passdb lines
dovecot.conf:
passdb ldap {
args = /etc/dovecot-ldap.conf
}
userdb prefetch {
}
# The userdb below is used only by deliver.
userdb ldap {
args = /etc/dovecot-ldap.conf
} dovecot-ldap.conf:
pass_attrs = uid=user,userPassword=password, homeDirectory=userdb_home,uidNumber=userdb_uid,gidNumber=userdb_gid
# For deliver: user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid
any assistance would be helpful. -j
On Apr 2, 2012, at 9:01 AM, jeff donovan wrote:
Greetings im new to the list dovecot --version 2.0.13 ubuntu 11.10 i want to use dovecot to authenticate my ldap users. My local users can authenticate and send email. Using postfix sasl/tls dovecot pam.
I have read many docs/tutorials, which all have a plethora of options and information. my file structure is different than most of the documentation. I have ../etc/dovecot.conf which points to.
!include_try /usr/share/dovecot/protocols.d/*.protocol !include conf.d/*.conf !include_try local.conf
i included /etc/dovecot/conf.d/dovecot-ldap.conf
and I get errors from dovecot config.
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/dovecot-ldap.conf line 17: Unknown setting: hosts doveconf: Error: managesieve-login: dump-capability process returned 89
i remove it, then it goes to the next option i have set;
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/dovecot-ldap.conf line 21: Unknown setting: uris doveconf: Error: managesieve-login: dump-capability process returned 89
any help would be great
-j
I had to compile with ldap-- duh.
participants (1)
-
jeff donovan