External Database (MSSQL Server) and User Directories

To the Ipswitch web site

Ipswitch Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



External Database (MSSQL Server) and User DirectoriesExpand / Collapse
Author
Message
Posted 8/2/2008 12:07:38 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/11/2008 2:06:19 PM
Posts: 3, Visits: 3
Hi everyone,

I have version 5 installed in a server. Since I don't want users logged in to have their "user folder", I have disabled the automatic creation of user folders. I have folders for each user to access. But whenever a user logs in without specifying one of these folders, they get a 550:Folder Not Found error (the user directory does not exist, of course!). Now, from what I understood, when a user does not have a user directory, they get logged on to the root directory automatically, so they should never get the Folder Not Found error. I even forced the option to log the user to the root directory, but they still get that error.

Any ideas of what I am doing wrong?

Is there a way to configure the user directory programatically? I use an external MSSQL database but the user directory is not amoung the field list for external databases.

Thanks
Post #45885
Posted 8/8/2008 12:12:10 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 11/3/2008 10:45:31 AM
Posts: 10, Visits: 10
do the users have permissions to read and list the root directory?
Post #46090
Posted 8/8/2008 1:31:47 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/11/2008 2:06:19 PM
Posts: 3, Visits: 3
peteoc (8/8/2008)
do the users have permissions to read and list the root directory?


Hi, thanks for the reply. They have access to the SERVER root directory. But the USER DIRECTORY in the user properties does not exist.
Post #46096
Posted 8/11/2008 12:20:32 PM


Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Administrators
Last Login: 2 days ago @ 3:16:54 PM
Posts: 55, Visits: 103
What is the exact version of Server 5 you are running?  What client are you testing with?

If you have the users set to login to their home folder and that folder does not exist (as is the case when you removed the option to auto create home folders) you will get the 'folder not found' error.  You will have to manually update the user's home folder setting to point to a valid folder.  This can be done in the server console, or in the registry at:  HKEY_LOCAL_MACHINE\SOFTWARE\Ipswitch\iFtpSvc\Domains\YOUR_HOSTNAME\Users\USERNAME

If you set the host to login users to Root, you will need to make sure (as was posted above) that you have given the users permission to the root of the FTP server.

If you still have trouble, please add a log from the FTP client you are testing with so I can see the communication that is happening.

Carey W.
Ipswitch, Inc.
Email Support: http://www.ipswitch.com/support/email_support.asp

Post #46112
Posted 8/11/2008 2:07:39 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/11/2008 2:06:19 PM
Posts: 3, Visits: 3
Thank you for your reply. You are spot on.

The Server Manager says 5.05. Is that the same as the server version?

You are right, since the user folder does not exist (not created), I get that error. Now, is there any way to modify this programatically using the server's API? Or do I have to write a program to do this directly in the registry?

Best regards
Post #46115
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Dave, Mark Singh, kevin r gillis, Jason Benton, Brandon Felger, Ben Henderson, Tripp Allen, Will Sansbury, Jason Williams, Hush, FTPplanet.com, LDW, Hugh Garber, WUP-PM, mmulryan@ipswitch.com, mswimm, Travis G.

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 4:46am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 8 queries. Compression Enabled.