You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2010/11/03 07:12:25 UTC

[jira] Created: (JAMES-1104) Disable user/pass auth on JMX and bind it to localhost

Disable user/pass auth on JMX and bind it to localhost
------------------------------------------------------

                 Key: JAMES-1104
                 URL: https://issues.apache.org/jira/browse/JAMES-1104
             Project: JAMES Server
          Issue Type: Task
    Affects Versions: 3.0-M1
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 3.0-M2


Using JMX user/password auth on windows is a PITA because of the needed modification on fileownership etc. We should just disable user/password auth,bind jmx  to localhost and add a NOTE about this

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-1104) Disable user/pass auth on JMX and bind it to localhost

Posted by "Eric Charles (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928554#action_12928554 ] 

Eric Charles commented on JAMES-1104:
-------------------------------------

On my windows 7, the execution of the scripts takes around 10 seconds. Is it normal?

I have put chmod600.vbs in the bin dir of James on windows 7 and called it from james.bat.
Script was applied, but it still was refusing to start.
FATAL  | wrapper  | 2010/11/05 11:16:05 | OpenSCManager failed - Access is denied. (0x5)
Nothing more in log file, but I suppose there is still a problem with the permissions...

However, via run.bat, james was starting correctly. That's a good step.

We will probably cut a M2 milestone with no pwd and binding-only from localhost to temporary unlock the issue.
In the meantime, it would be great if you could try on you side to integrate the script in james.bat and look at the time it takes (maybe somethinig specific to my pc ?)
Tks :)


> Disable user/pass auth on JMX and bind it to localhost
> ------------------------------------------------------
>
>                 Key: JAMES-1104
>                 URL: https://issues.apache.org/jira/browse/JAMES-1104
>             Project: JAMES Server
>          Issue Type: Task
>    Affects Versions: 3.0-M1
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 3.0-M2
>
>         Attachments: chmod600.vbs
>
>
> Using JMX user/password auth on windows is a PITA because of the needed modification on fileownership etc. We should just disable user/password auth,bind jmx  to localhost and add a NOTE about this

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Updated: (JAMES-1104) Disable user/pass auth on JMX and bind it to localhost

Posted by "Israel Tsadok (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Israel Tsadok updated JAMES-1104:
---------------------------------

    Attachment: chmod600.vbs

The attached script will take ownership and limit the permissions on the give file path to <Current_User>:Full Control.
Usage:

cscript chmod600.vbs ..\conf\jmx.password

It doesn't have much in the way of error handling, but if this approach is accepted, I'll be willing to work on it some more.

The idea is to call the script from run.bat, which will ensure that the permissions on jmx.password are set properly, allowing james to run.

I tested the script on Windows 7 and Windows XP SP3. In theory, it should work all the way back to Windows 2000.

> Disable user/pass auth on JMX and bind it to localhost
> ------------------------------------------------------
>
>                 Key: JAMES-1104
>                 URL: https://issues.apache.org/jira/browse/JAMES-1104
>             Project: JAMES Server
>          Issue Type: Task
>    Affects Versions: 3.0-M1
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 3.0-M2
>
>         Attachments: chmod600.vbs
>
>
> Using JMX user/password auth on windows is a PITA because of the needed modification on fileownership etc. We should just disable user/password auth,bind jmx  to localhost and add a NOTE about this

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (JAMES-1104) Disable user/pass auth on JMX and bind it to localhost

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-1104.
----------------------------------

    Resolution: Fixed

> Disable user/pass auth on JMX and bind it to localhost
> ------------------------------------------------------
>
>                 Key: JAMES-1104
>                 URL: https://issues.apache.org/jira/browse/JAMES-1104
>             Project: JAMES Server
>          Issue Type: Task
>    Affects Versions: 3.0-M1
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 3.0-M2
>
>         Attachments: chmod600.vbs
>
>
> Using JMX user/password auth on windows is a PITA because of the needed modification on fileownership etc. We should just disable user/password auth,bind jmx  to localhost and add a NOTE about this

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org