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

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


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

2008-04-07 Thread Alain Spineux
On Thu, Apr 3, 2008 at 11:33 PM, ram <[EMAIL PROTECTED]> 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 ?

>
>
>  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:
>  [EMAIL PROTECTED] [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
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you

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


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

2008-04-03 Thread ram
On my cryus imap server , when I try login  from my localserver cyrus
login works 


But when I login from a remote server realm gets added autmatically ,
causing login to fail 


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:
[EMAIL PROTECTED] [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