By jestyr - 12/1/2010 4:13:33 AM
Can you set up mapped directories with variables? I am currently evaluating replacement sftp software packages for our university and we make extensive use of Active Directory users and groups for management of our current sftp solution. One thing that make good use of with our current solution is the ability to define a single group of users and grant that group access to a specific share with unique folders. For example if we have a class that needs web space on a development server then we would create a class AD group with all the students in there, create the folder and then give the group access to that folder. Our current sftp solution allows us to define the sftp rights in such a way that when john.smith logs in and is in that class the server checks the class folder for his unique directory, if it's there it dumps him there, if not it creates it. Much the same way that your home directions are defined (c:\home\%USERPROFILE%).
So can that same structure be used with remote shares? I can't seem to get it working and didn't know if I was missing something. Basically I would like to go to the SFTP groups and add a virtual mapping something like "Virtual Path: Your Class Folder | File Path: \\webserver\classShare\%USERPROFILE%"
|
By bethredd - 12/1/2010 4:31:26 AM
Hello,
You can do exactly as you need. First thing is to make sure you at least Version 7.0 build 9 Revision 993. Then you would configure the virtual directory as follows:
1. Under the SFTP User configuration, click to use virtual directory assignments 2. Click Add 3. Assign the virtual directory name and location, using the environment variable, such as in your example %USERPROFILE%.
You must make sure that the directory exist and the user has access to the directory. The best way to confirm this is to logon as that user using ssh, then change directory to the true path assigned. Such as "cd %USERPROFILE%". If that fails, then your sftp directory will not work. Thank you,
Beth Redd Technical Support Group Pragma Systems, Inc. 13809 Research Blvd, #675 Austin, TX 78750 http://www.pragmasys.com
|
By Technical Support Group (TSG) - 12/1/2010 5:18:50 AM
Hello,
You can do exactly as you need. First thing is to make sure you at least Version 7.0 build 9 Revision 993. Then you would configure the virtual directory as follows:
1. Under the SFTP User configuration, click to use virtual directory assignments 2. Click Add 3. Assign the virtual directory name and location, using the environment variable, such as in your example %USERPROFILE%.
You must make sure that the directory exist and the user has access to the directory. The best way to confirm this is to logon as that user using ssh, then change directory to the true path assigned. Such as "cd %USERPROFILE%". If that fails, then your sftp directory will not work. Thank you,
Beth Redd Technical Support Group Pragma Systems, Inc. 13809 Research Blvd, #675 Austin, TX 78750 http://www.pragmasys.com
|
By jestyr - 12/1/2010 8:45:29 AM
I guess I'm not seeing that version of the software. I downloaded Pragma Fortress SSH Server 5.0 for Windows.
Version 5.0 Build 9 Revision 1049
|
By Technical Support Group (TSG) - 12/2/2010 4:38:01 AM
Version 5.0 Build 9 Revision 1049 should work just fine to configure and use Pragma's SFTP Server per Beth Redd's suggestions in post # 73.
Should this issue persists or should you run into other issues, please call our technical support number at 512-219-7270.
Thank you,
Technical Support Group (TSG) Pragma Systems, Inc.
|
|