Variable names in mapped directories?


Author
Message
jestyr
jestyr
Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)
Group: Forum Members
Posts: 2, Visits: 12
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%"
Beth Redd
Beth Redd
Pragmateer (789 reputation)Pragmateer (789 reputation)Pragmateer (789 reputation)Pragmateer (789 reputation)Pragmateer (789 reputation)Pragmateer (789 reputation)Pragmateer (789 reputation)Pragmateer (789 reputation)Pragmateer (789 reputation)
Group: Administrators
Posts: 81, Visits: 180
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


Beth Redd
Edited 14 Years Ago by Technical Support Group (TSG)
Technical Support Group...
Technical Support Group (TSG)
Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)
Group: Moderators
Posts: 136, Visits: 639
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

Pragma Systems Technical Support
13809 Research Blvd, #675
Austin, TX 78750
http://www.pragmasys.com
jestyr
jestyr
Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)
Group: Forum Members
Posts: 2, Visits: 12
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
Technical Support Group...
Technical Support Group (TSG)
Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)
Group: Moderators
Posts: 136, Visits: 639
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.


Pragma Systems Technical Support
13809 Research Blvd, #675
Austin, TX 78750
http://www.pragmasys.com
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search