loginrealms -- fetching from ldap [SOLVED]

2009-12-07 Thread mayak-cq
hi all,

why bother fetching realms if you don't need them!

found an older kolab thread that dealt with this issue. in fact, the
solution is to ignore realms and just authenticate. 

i removed loginrealms: from imapd.conf and tweaked my saslauthd.conf and
remove any mention of realms:

/etc/saslauthd.conf
ldap_servers: ldap://ldap.domain.com/
ldap_search_base: dc=domain,dc=com
ldap_version: 3

ldap_filter:  (& (mail=%u) (objectClass=gosaMailAccount))


i the started saslauthd as below, still using the -r so that the whole
user n...@domain.com gets passed to sasl:

saslauthd -m /var/run/saslauthd -a ldap -O/etc/saslauthd.conf -r

works like a charm

m


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


loginrealms -- fetching from ldap

2009-12-07 Thread mayak-cq
hi all,

i have a site that is collecting mail for a large number of domains and
each of these domains serves as a login realm.

my imapd.conf is becoming a bit unmanageable with all the domains.

is there a lookup for 'loginrealms:' that can be used to fetch these
from my ldap?

thanks

m


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html