Cyrus and LDAP

Bernd Nies bernd.nies at adnovum.ch
Thu May 13 03:39:56 EDT 2004


Hi,

We are running Cyrus 2.1.16 with SASL 2.1.18 on Solaris and have 
configured Cyrus to authenticate users against a LDAP directory using 
saslauthd.

Is it possible to have the cyrus user to be authenticated via 
/etc/passwd and all other users via LDAP? We don't want system users in 
LDAP.



imapd.conf
----------

configdirectory: /var/spool/adnmail/cyrus/imap
sievedir:        /var/spool/adnmail/cyrus/sieve
lmtpsocket:      /var/spool/adnmail/cyrus/imap/socket/lmtp

tls_imap_cert_file: /var/spool/adnmail/cyrus/certs/imap.pem
tls_imap_key_file:  /var/spool/adnmail/cyrus/certs/imap.key
tls_ca_file:        /var/spool/adnmail/cyrus/certs/ca-adnovum.pem
tls_require_cert: 0

defaultpartition: default
partition-default: /var/spool/adnmail/cyrus/mail

servername: vantage.zh.adnovum.ch
admins: cyrus
unixhierarchysep: yes
altnamespace: yes
sendmail: /opt/adnmail/postfix/sbin/sendmail
logtimestamps: yes
defaultacl: anyone lrsp
duplicatesuppression: yes

allowplaintext: yes
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN



saslauthd.conf
--------------
ldap_servers: ldap://192.168.5.216/ ldap://192.168.1.216/ 
ldap://192.168.4.216/ ldap://192.168.6.216/
ldap_search_base: ou=people,o=adnovum,c=ch
ldap_bind_dn: cn=proxyagent,ou=special_users,o=adnovum,c=ch
ldap_password: ********
ldap_scope: one
ldap_uidattr: uid
ldap_filter_mode:  yes
ldap_filter: uid=%u


saslauthd is started with option -a ldap


Thanks in advance.

Regards,
Bernd
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list