Please change the DNS lookup = defaultdomain process, and use defaultdomain as the default domain.
josh at endries.org
josh at endries.org
Wed Jul 1 11:55:47 EDT 2009
Hi, thanks for the reply.
What I'm trying to achieve is that, when I log in with "user", Cyrus
appends the defaultdomain value when looking up the password (I use
SQL for that).
My fqdn for the server is mail.blah.com, which is what I normally use.
I'm not sure why it stopped working; I changed the IP of the box,
along with forward and reverse DNS, and it broke. That's separate from
the bug, though. It should append the defaultdomain if there is none
in the user name; pretty simple.
I did my admin stuff manually which seemed to work so I'm giving up on
this for the time being. I have too much to do and have wasted a whole
day on this already... I have another problem with Sieve vacation
replies that I need to fix, which is even worse; no logging
whatsoever. Joy.
Josh
Quoting Kendrick Vargas <ken at hudat.com>:
> Not sure if this helps, but, you might wanna take a look at this post/thread
> and bugzilla entry:
>
> http://lists.andrew.cmu.edu/pipermail/info-cyrus/2006-October/023811.html
>
> https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2886
>
> It's hard to tell from your post exactly what you want to achieve. However I
> wanted to mention that whenever I've set up local admin accounts in cyrus,
> I've always made them part of a domain which was @the.local.fqdn. It's just
> safer and removes ANY confusion. I also don't like the way the virtdomain
> option works, never thought it was very consistent.
>
> I just reworked the patch to work against the latest RPM's as of a week ago
> and it seems to work fine. It's a short one and should go in by hand rather
> easily. Otherwise I can send you the patch I used or the source rpm so you
> can rebuild it yourself. Hope this helped...
> -peace
>
> josh at endries.org wrote:
>> Okay, defaultdomain is set to mail.blah.com again, as it should be.
>>
>> Logging in as admin at mail.blah.com now doesn't work, reports the user
>> name as 'admin', correctly, but doesn't work.
>>
>> Logging in as admin doesn't work, reports the user name as
>> user at blah.com and the password for that user is (now) different.
>>
>> With the defaultdomain set to something else, like something.fake,
>> logging in as admin at mail.blah.com works but then of course is not a
>> global admin.
>>
>> Changing defaultdomain to blah.com, which kinda makes sense but
>> shouldn't be forced...using admin tries login as admin and doesn't
>> work (doesn't append blah.com?). Logging in as admin at blah.com also
>> tries login as admin and doesn't work.
>>
>> e.g. by "tries login as..." I mean "admin" in:
>>
>> Jul 1 11:02:38 mail imaps[19476]: badlogin: mail.blah.com [x.x.x.x]
>> plaintext admin SASL(-13): authentication failure: checkpass failed
>>
>> This was from logging in with
>>
>> c login "admin at blah.com" "password"
>>
>> Still working on it...
>>
>> Josh
>>
>> ----
>> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
>> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
>> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
More information about the Info-cyrus
mailing list