AW: [Web-cyradm] web-cyradm doesn't honor username

Marcel Hartmann mail at marcel-hartmann.com
Fri Jan 5 16:49:26 CET 2007


> auth.log:
> sql plugin doing query SELECT password FROM accountuser WHERE
> username = 'cyrus at openforce.lan';
> 
> 
> Where does the "cyrus at openforce.lan" come from? I mean it's nowhere
> in the web cyradm config
> 
> # grep -ir "cyrus at openforce.lan"
> #
> 
> so nothing there nada nowhere. However from the commandline I can
> login using the configured credentials with cyradm. Anyone could tell
> me whats going wrong here?

How did you tested the login auth? With a Mailclient? Whitch 
Username/password did you use? If you use the Username: cyrus, 
then there is elsewhere a flag witch can be set up to use the 
domain part for authentication. I don't know where to find I 
must read the manual first. Then I can tell you where to find #
this one. If you use sslauthd then it is in man saslauthd:

     -r      Combine the realm with the login (with an '@' sign in between).
             e.g.  login: "foo" realm: "bar" will get passed as login:
             "foo at bar".  Note that the realm will still be passed, which may
             lead to unexpected behavior.

Regards

Marcel



More information about the Web-cyradm mailing list