can not run cyradm from remote server .. realm gets appended to username

ram ram at netcore.co.in
Tue Apr 8 06:22:59 EDT 2008


On Mon, 2008-04-07 at 14:01 +0200, Alain Spineux wrote:
> On Thu, Apr 3, 2008 at 11:33 PM, ram <ram at netcore.co.in> wrote:
> > On my cryus imap server , when I try login  from my localserver cyrus
> >  login works
> 
> You used localhost ? Only localhost is working then.
> Try using the IP address you used from your remote server, it should fail too.
> 
> >
> >
> >  But when I login from a remote server realm gets added autmatically ,
> >  causing login to fail
> 
> man imad.conf, look for "virtdomains" option, it use the ip address of
> your interface to guess a
> realm. The key is arround options virtualdomains, defaultdomains and
> loginrealms,
> but it depend of what you want ! Dou you have multiple domains ?
> 


Yes I have multiple domains. I need support for virtualdomains 

Actually I solved the issue , using a silly workaround. I had another
interface on the remote cyrus server and when I cyradm to the secondary
interface IP, No realm gets attached in SASL. 
No idea why it works , but it sure does  !! 





> >
> >
> >  In my sasl logs I can see for a local connection
> >  -----
> >  saslauthd[21947] :do_auth         : auth success: [user=cyrus]
> >  [service=imap] [realm=] [mech=pam]
> >  saslauthd[21947] :do_request      : response: OK
> >  ------
> >
> >
> >
> >
> >
> >  For a remote connection
> >  -----
> >  saslauthd[24011] :do_auth         : auth failure:
> >  [user=cyrus at netcore.co.in] [service=imap] [realm=netcore.co.in]
> >  [mech=pam] [reason=PAM auth error]
> >  ------
> >
> >
> >  What can be seen simply is that the realm netcore.co.in is getting added
> >  automatically. How can I avoid this
> >
> >  ----
> >  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