SFTP AD authentication and incorrect home directory

Report bugs or issues with Core FTP Server here
Post Reply
andyr
Posts: 1
Joined: Sat Apr 19, 2008 11:10 pm

SFTP AD authentication and incorrect home directory

Post by andyr »

I want an SFTP drop zone controlled using AD accounts and NTFS permissions. I don't want to use individual home directories, just the base directory. Problem is that the SFTP & AD authentication combination does not seem to allow this. I have documented my tests below:

I first created a Coreftp user called "ftpuser" with home directory locked to the base directory (SFTPRoot) and full permissions (except execute). NTFS permissions on base directory is set to Everyone Full Control for the moment.

**Test 1**: SFTP connection with AD authentication
Enable Active Directory users: checked
User settings to use: ftpuser
Ignore AD home directory: checked
Use Windows domain: TEST
Use base directory + username: unchecked
**Result**: Authentication is successful but base directory is set to coreftp program directory which the user will not have rights to. Error line in coreftp log is:
LIST denied - /C:/Program Files/CoreFTPServer/

**Test 2**: SFTP connection with NT authentication
Enable WinNT users: checked
User settings to use: ftpuser
Use Windows domain: TEST
Use base directory + username: unchecked
**Result**: Authentication is successful, base directory is set successfully to the root directory as desired.

**Test 3**: FTP connection with AD authentication
Enable Active Directory users: checked
User settings to use: ftpuser
Ignore AD home directory: checked
Use Windows domain: TEST
Use base directory + username: unchecked
**Result**: Authentication is successful, base directory is set successfully to the root directory as desired.

I may be able to get away with using WinNT authentication to the W2003 AD domains, but it's not ideal. Is this a known problem or something to do with my setup?

thanks,
Andy.
grimanvil
Posts: 1
Joined: Mon May 19, 2008 11:13 pm

AD authentication

Post by grimanvil »

It seems to work for all 'domain local' users. But I want to use a specific local or domain group .i.e DOMAIN\sftpusers or SERVER\sftp-group and I see no way to do this. I don't want everyone using the sftp server, especially since I want a single shared sftp folder for just this group. How do I specify a group?
Post Reply