Virtual domain problem - POP/IMAP, SASL & LDAP

Julian W H Osborne josborne at
Wed Mar 16 04:01:01 EST 2005

Ondřej Surý wrote:
> On Tue, 2005-03-15 at 16:56 +0000, Julian W H Osborne wrote:
>>Dear All,
>>I'm having some problems getting Cyrus imap to work correctly with sasl 
>>and ldap.  Using the testsaslauthd command all is okay, username and domain
>>is passed through.  However, when using the imap or pop client only the 
>>user part of the login name is passed through, e.g. if username is
>>test at only test is being passed through.  I've pasted 
>>everything I think is useful.
> Always try to startup saslauthd in debug mode like this:
> saslauthd -a ldap -d
> to see what data is received and sent...
> Ondrej
> ---
> Cyrus Home Page:
> Cyrus Wiki/FAQ:
> List Archives/Info:

Okay using the '-d' option with saslauthd and using a username of 
test at I get:

saslauthd[6064] :main            : num_procs  : 5
saslauthd[6064] :main            : mech_option: NULL
saslauthd[6064] :main            : run_path   : /var/run/saslauthd
saslauthd[6064] :main            : auth_mech  : ldap
saslauthd[6064] :ipc_init        : using accept lock file: 
saslauthd[6064] :detach_tty      : master pid is: 0
saslauthd[6064] :ipc_init        : listening on socket: 
saslauthd[6064] :main            : using process model
saslauthd[6065] :get_accept_lock : acquired accept lock
saslauthd[6064] :have_baby       : forked child: 6065
saslauthd[6064] :have_baby       : forked child: 6066
saslauthd[6064] :have_baby       : forked child: 6067
saslauthd[6064] :have_baby       : forked child: 6068
saslauthd[6065] :rel_accept_lock : released accept lock
saslauthd[6066] :get_accept_lock : acquired accept lock
saslauthd[6065] :do_auth         : auth failure: [user=test] 
[service=imap] [realm=localdomain] [mech=ldap] [reason=Unknown]

How do I get cyrus imap to pass through the correct realm?



Julian W H Osborne
Sandymount, Station Road, Woburn Sands, MK17 8RR, UK
Tel: +44 (0)1908 588800 Fax: +44 (0)1908 588819

Clara House, Glenageary Park, Glenageary, Dublin, Ireland
Tel: +353 (0)1 2840555 Fax: +353 (0)1 2840829
Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list