Virtual domain problem - POP/IMAP, SASL & LDAP

Julian W H Osborne josborne at imsmaxims.com
Wed Mar 16 05:56:14 EST 2005


Thanks Andy,
In making various changes since the first post I had changed it to yes. 
  Changed it back with the other changes and it all works :-)

Julian



Andy Fiddaman wrote:
> Have you got:
> 	virtdomains: userid
> in the imapd.conf ?
> 
> On Wed, 16 Mar 2005, Julian W H Osborne wrote:
> 
> ; 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
> ;
> ; Using imtest instead of testsaslauth I get:
> ;
> ; imtest -v -a test at imsmaxims.com
> ; WARNING: no hostname supplied, assuming localhost
> ;
> ; S: * OK IMS MAXIMS MAIL AGGREGATOR IMAP4
> ; C: C01 CAPABILITY
> ; S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE
> ; UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT
> ; THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS LISTEXT
> ; LIST-SUBSCRIBED X-NETSCAPE
> ; S: C01 OK Completed
> ; Please enter your password:
> ; C: L01 LOGIN test at imsmaxims.com {8}
> ; S: + go ahead
> ; C: <omitted>
> ; S: L01 NO Login failed: authentication failure
> ; Authentication failed. generic failure
> ; Security strength factor: 0
> ;
> ; Mar 16 09:12:12 localhost slapd[3234]: conn=33 fd=16 ACCEPT from
> ; IP=127.0.0.1:32896 (IP=0.0.0.0:389)
> ; Mar 16 09:12:12 localhost slapd[3234]: conn=33 op=0 BIND
> ; dn="cn=manager,o=virtual_domain" method=128
> ; Mar 16 09:12:12 localhost slapd[3234]: conn=33 op=0 BIND
> ; dn="cn=Manager,o=virtual_domain" mech=SIMPLE ssf=0
> ; Mar 16 09:12:12 localhost slapd[3234]: conn=33 op=0 RESULT tag=97 err=0 text=
> ; Mar 16 09:12:12 localhost slapd[3234]: conn=33 op=1 SRCH
> ; base="o=virtual_domain" scope=2 filter="(uid=test at localdomain)"
> ; Mar 16 09:12:12 localhost slapd[3234]: conn=33 op=1 SRCH attr=dn
> ; Mar 16 09:12:12 localhost slapd[3234]: conn=33 op=1 SEARCH RESULT tag=101
> ; err=0 nentries=0 text=
> ;
> ;
> ; saslauthd[6067] :rel_accept_lock : released accept lock
> ; saslauthd[6068] :get_accept_lock : acquired accept lock
> ; saslauthd[6067] :do_auth         : auth failure: [user=test] [service=imap]
> ; [realm=localdomain] [mech=ldap] [reason=Unknown]
> ; saslauthd[6067] :do_request      : response: NO
> ;
> ;
> ; 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