Virtual domains and LDAP

James Satterfield james at
Tue Aug 5 11:49:02 EDT 2003

I'm using a virtual domain setup based on usernames. So I have a domain and a user jsatter at
I've got imapd setup to use saslauthd, and saslauthd setup to auth against LDAP.
If I assign the uid of jsatter at in ldap, testsaslauthd can
successfully auth, but imapd cannot. Looking at the logs suggests that imapd
isn't passing the entire username jsatter at to saslauthd. Just


Config snippets:

virtdomains: yes
configdirectory: /usr/local/var/imap
partition-default: /usr/local/var/spool/imap
allowplaintext: yes
admins: root cyrus
singleinstancestore: yes
duplicatesuppression: yes
sieveusehomedir: false
sievedir: /usr/local/var/imap/sieve
sendmail: /usr/sbin/sendmail
sasl_pwcheck_method: saslauthd
sasl_mech_list: plain
lmtpsocket: /usr/local/var/imap/socket/lmtp
idlesocket: /usr/local/var/imap/socket/idle
notifysocket: /usr/local/var/imap/socket/notify

ldap_servers: ldap://
ldap_bind_dn: cn=root,dc=uberduper,dc=com
ldap_bind_pw: secret
ldap_search_base: dc=uberduper,dc=com
ldap_auth_method: custom

Aug  4 20:44:36 knight saslauthd[48297]: do_auth         : auth failure:
[user=jsatter] [service=imap] [realm=] [mech=ldap] [reason=Unknown]

More information about the Info-cyrus mailing list