Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Windows 2008 R2 server setup with DFS to another Windows server. I created a namespace called Linux with a folder called ClientFTP. Files added to the folder sync with both servers. Great.

I am now adding a linux server to the mix. I'm not sure if I want it/or need for it, to join the Windows Active Directory, but that's something you can tell me.

Moving on... I am using Debian Squeeze 6.0 with ProFTP and the ftp users are stored in a MySQL database. These users are not part of our organization. They are our clients, so I don't want them added into our AD. If they need to change their password they can go to our web site and there's a form that processes the password change using PHP/MySQL.

My questions are:

  1. Does the server need to join AD?
  2. How can I set it up so that the user saves the file to the DFS share?
    • If DFS is too difficult or not supported on linux, I can use the main server IP, and switch it the other server if the main one goes down.
  3. How do I auto-create the home folder for the FTP user within the root ClientFTP folder?
    • eg. \DOMAIN\linux\ClientFTP\%user% I don't want them seeing other user folders.
share|improve this question

closed as not a real question by mdpc, Magellan, Ward, Brent Pabst, TheCleaner Dec 21 '12 at 16:56

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
What's wrong with letting your clients set up accounts in your AD? –  HopelessN00b Dec 21 '12 at 2:48
    
How would they be able to change their passwords? And I'm not familiar how to setup ProFTP using AD users. –  Markaway Dec 21 '12 at 3:37
    
I was honestly just throwing it out there in the general case, because not wanting to add users to your AD sounded a bit off to me. Makes managing outsiders' accounts easier when you put them in your AD or LDAP implementation, and I'd think it would be a lot easier to manage their level of access to your Windows SMB shares if their accounts were in your AD. Hell, I generally have an OU or two for external people's accounts. –  HopelessN00b Dec 21 '12 at 3:42
    
I'll consider it as you bring up a good point about management. I guess I have to reinstall ProFTP without mysql. I still don't know how the user could change their password though, unless I give them SSH access and they can do it through the linux box. –  Markaway Dec 21 '12 at 3:49
    
My approach has always been "here's your user name and password, deal with it," though I suppose there are a bunch of ways you could provide password change capabilities... might be worth a question of its own, though. –  HopelessN00b Dec 21 '12 at 4:05
add comment

1 Answer

What have you tried?

  1. No
  2. DFS is not supported on Linux (ironically since most of the functionality it provides is stuff that's been available on Un*x systems forever). You could export the filesystem from the Linux box using SMB or NFS or AFS (but MSWindows can be temperemental). Or you could mount the MSWindows folder as an SMB share on Linux

  3. rtfm?

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.