SASL domains and usernames and authentication

William K. Hardeman wont-i at wkh.org
Wed Mar 10 12:43:43 EST 2004


--On Wednesday, 10 March, 2004 11:44 -0500 Prentice Bisbal 
<prentice at rcsb.rutgers.edu> wrote:

> The problem is when I try to authenticate to the IMAP server using
> Mozilla, it sends the user name as username at mailserver.domain.tld.
> That username is not in the sasldb, so then the user cannot authenticate.
>
> Is there anyway to fix this on the server side? I don't know if it can be
> fixed in Mozilla, and even if it could be, I can't expect the users to
> know how to reconfigure Mozilla.

I fixed this by writing a little shell script that I use to actually add my 
users to my sasldb2. It adds both the domain.tld that is specified on the 
command line and also adds a mail.domain.tld entry, as well. I also use 
this script to change passwords, when that's required, so that I don't have 
to manually do it for each entry.

I can send the script to you if you would like, but it's a pretty simple 
little hack job. :-)

Will

----------------------------------------------------------------------------
William K. Hardeman
wont-i at wkh.org
http://www.wkh.org

The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
                -- Isaac Asimov

Always listen to experts. They'll tell you what can't be done and why. Then
do it.
--Robert A. Heinlein
---
Home Page: http://asg.web.cmu.edu/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