You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Amichai Rothman (JIRA)" <ji...@apache.org> on 2008/10/29 19:42:44 UTC

[jira] Created: (FTPSERVER-205) missing user management docs

missing user management docs
----------------------------

                 Key: FTPSERVER-205
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-205
             Project: FtpServer
          Issue Type: Bug
    Affects Versions: 1.0-M3
            Reporter: Amichai Rothman


There is no mention in the docs of how to manage users (i.e. add new ones, etc.). There's one page which mentions the admin GUI app which is not available in the distribution (see issue FTPSERVER-201). As a new user on a new installation, I could not find the mechanism by which I can add and administer users on the server, which makes it pretty much unusable.

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


[jira] Commented: (FTPSERVER-205) missing user management docs

Posted by "Gary Bell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FTPSERVER-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644737#action_12644737 ] 

Gary Bell commented on FTPSERVER-205:
-------------------------------------

You can manually edit the user properties file, using the MD5 encrypt webpage at http://www.iwebtool.com/md5 to create the password hash. You have to restart the server to get it to see the change though. We have implemented a custom SITE UPDATE command to create a new UserManager object and call the setUserManager() on the default listener:

FtpServer server = new FtpServer();
String filename = "c:\bar\foo.properties"; //name of user property file.

....
....

=== Snippet from onSite() method call ===
PropertiesUserManager userManager = new PropertiesUserManager();
userManager.setFile(new File(filename)); //re-read the properties file with the newly added accounts.
userManager.configure();
server.getListener("default").setUserManager(userManager);
==================================

This seems to work OK for us.

> missing user management docs
> ----------------------------
>
>                 Key: FTPSERVER-205
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-205
>             Project: FtpServer
>          Issue Type: Bug
>    Affects Versions: 1.0-M3
>            Reporter: Amichai Rothman
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0-M4
>
>
> There is no mention in the docs of how to manage users (i.e. add new ones, etc.). There's one page which mentions the admin GUI app which is not available in the distribution (see issue FTPSERVER-201). As a new user on a new installation, I could not find the mechanism by which I can add and administer users on the server, which makes it pretty much unusable.

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


[jira] Updated: (FTPSERVER-205) missing user management docs

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FTPSERVER-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niklas Gustavsson updated FTPSERVER-205:
----------------------------------------

    Fix Version/s: 1.0-M4
         Assignee: Niklas Gustavsson

> missing user management docs
> ----------------------------
>
>                 Key: FTPSERVER-205
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-205
>             Project: FtpServer
>          Issue Type: Bug
>    Affects Versions: 1.0-M3
>            Reporter: Amichai Rothman
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0-M4
>
>
> There is no mention in the docs of how to manage users (i.e. add new ones, etc.). There's one page which mentions the admin GUI app which is not available in the distribution (see issue FTPSERVER-201). As a new user on a new installation, I could not find the mechanism by which I can add and administer users on the server, which makes it pretty much unusable.

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


[jira] Closed: (FTPSERVER-205) missing user management docs

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FTPSERVER-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niklas Gustavsson closed FTPSERVER-205.
---------------------------------------

    Resolution: Fixed

Command line tool for managing users added as well as documentation on some approaches. Hopefully that should solve the basics. The cli tool will need further work, but should be sufficient for 1.0

> missing user management docs
> ----------------------------
>
>                 Key: FTPSERVER-205
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-205
>             Project: FtpServer
>          Issue Type: Bug
>    Affects Versions: 1.0-M3
>            Reporter: Amichai Rothman
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0-M4
>
>
> There is no mention in the docs of how to manage users (i.e. add new ones, etc.). There's one page which mentions the admin GUI app which is not available in the distribution (see issue FTPSERVER-201). As a new user on a new installation, I could not find the mechanism by which I can add and administer users on the server, which makes it pretty much unusable.

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


[jira] Commented: (FTPSERVER-205) missing user management docs

Posted by "Gary Bell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FTPSERVER-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646293#action_12646293 ] 

Gary Bell commented on FTPSERVER-205:
-------------------------------------

D'oh! My suggestion above will not work after FTPServer-187. The change to immutable classes means that you cannot set a different UserManager once the listener is created.

> missing user management docs
> ----------------------------
>
>                 Key: FTPSERVER-205
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-205
>             Project: FtpServer
>          Issue Type: Bug
>    Affects Versions: 1.0-M3
>            Reporter: Amichai Rothman
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0-M4
>
>
> There is no mention in the docs of how to manage users (i.e. add new ones, etc.). There's one page which mentions the admin GUI app which is not available in the distribution (see issue FTPSERVER-201). As a new user on a new installation, I could not find the mechanism by which I can add and administer users on the server, which makes it pretty much unusable.

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


[jira] Commented: (FTPSERVER-205) missing user management docs

Posted by "Gary Bell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FTPSERVER-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648561#action_12648561 ] 

Gary Bell commented on FTPSERVER-205:
-------------------------------------

Ok, FTPSERVER-218 added a refresh() method to the PropertiesUserManager, so now you can use that.

https://issues.apache.org/jira/browse/FTPSERVER-218

=== Snippet from onSite() method call === 
String cmd = request.getArgument().toUpperCase();
if ("UPDATE ACCTS".equals(cmd)) {
// admin has hand-edited the user file and wants to let the server know...

((PropertiesUserManager) server.getUserManager()).refresh(); //server is an instance of DefaultFtpServer created earlier..
return FtpletResult.SKIP; // prevent further processing.
=====================================

> missing user management docs
> ----------------------------
>
>                 Key: FTPSERVER-205
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-205
>             Project: FtpServer
>          Issue Type: Bug
>    Affects Versions: 1.0-M3
>            Reporter: Amichai Rothman
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0-M4
>
>
> There is no mention in the docs of how to manage users (i.e. add new ones, etc.). There's one page which mentions the admin GUI app which is not available in the distribution (see issue FTPSERVER-201). As a new user on a new installation, I could not find the mechanism by which I can add and administer users on the server, which makes it pretty much unusable.

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