Virtual domain problem - POP/IMAP, SASL & LDAP

Julian W H Osborne josborne at imsmaxims.com
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 imsmaxims.com 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: 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

Okay using the '-d' option with saslauthd and using a username of 
test at imsmaxims.com 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: 
/var/run/saslauthd/mux.accept
saslauthd[6064] :detach_tty      : master pid is: 0
saslauthd[6064] :ipc_init        : listening on socket: 
/var/run/saslauthd/mux
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

-- 

====================================================================
Julian W H Osborne
IMS MAXIMS Plc
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

http://www.imsmaxims.com/
====================================================================
---
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