MY cyrus admin user IS in the ldap.  The issue was with how cyrus was
auto appending the machine's domain to the username if it did not
contain an @ which i do not want it to do.. So the virtdomains: userid
is the solution for my setup..


On Tue, 2004-02-24 at 16:56, TN wrote:
> Another option which I use is I just add the cyrus admin as a regular 
> user in the ldap db, so it just gets looked up as usual.
> 
> This might have the advantage of working for people who want ip-bound 
> virtual domains (ie. virtualdomains: yes) instead of userid.
> 
> cheers
> -Trevor.
> 
> 
> 
> Edward Rudd wrote:
> 
> >Aha, Thanks very much that did it..
> >Setting virtdomains to 'userid' instead of 'true' fixed the issue.. 
> >On Tue, 2004-02-24 at 15:54, Igor Brezac wrote:
> >  
> >
> >>On Tue, 24 Feb 2004, Edward Rudd wrote:
> >>
> >>    
> >>
> >>>I have a cyrus-imapd 2.2.3 installation and am using saslauthd from my
> >>>cyrus-sasl 2.1.15 installation, normal authentication to my virtual
> >>>domain users works fine.. ([EMAIL PROTECTED], [EMAIL PROTECTED],
> >>>etc...)
> >>>However I can not login as the administrator (cyrus) which has no domain
> >>>component to the username.. Logging in fails every time and the auth.log
> >>>shows that saslauthd is being sent [EMAIL PROTECTED] instead of just
> >>>cyrus.. And creating an entry in my ldap to handle [EMAIL PROTECTED]
> >>>only has cyrus log the user into a mailbox in the virtual domain system
> >>>(ie not a super user)..
> >>>Is there a way to get cyrus imapd to NOT add on the domain to a user w/o
> >>>it?
> >>>Otherwise I can not administer my domains at all..
> >>>and running the testsaslauthd program tests perfectly fine.. so it is
> >>>cyrus-imapd sending the data....
> >>>      
> >>>
> >>Did you specify defaultdomain param?  You will need to use
> >>[EMAIL PROTECTED] userid when you want to administer your cyrus
> >>installation.
> >>
> >>Alternatively, you can use 'virtdomains: userid'.  Cyrus will not attempt
> >>to resolve unqualified userids and it will assume that unqualified userids
> >>belong to 'defaultdomain' if specified.
> >>    
> >>
> 
-- 
Edward Rudd <[EMAIL PROTECTED]>
Website http://outoforder.cc/

---
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

Reply via email to