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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-04-07 at 14:01 +0200, Alain Spineux wrote:
> On Thu, Apr 3, 2008 at 11:33 PM, ram <ram@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx] [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
> >
> 
> 
> 

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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux