Jump to content

file server setup


m0nkeymafia
 Share

Recommended Posts

Hi

 

I am going to be setting up two machines with mandrake in the next few weeks, one as a fileserver and the other as a work station. Also on my network are several windows XP machines. I would like to set up the file sharing so that any user can log onto anyone of these machines and have their files mounted for them. For example:

 

Machines:

A, B, C are running XP

D is mandrake desktop

E is mandrake file server

 

If a user logged onto A, I'd like his files to be taken from E and mounted as a shared drive. If the user logged onto D the files should be either mounted as a drive or as a directory like ~/files.

 

I imagine the files would b stored on E in directories corresponding to usernames. So essentially what I want to do is upon login mount the logged in user's files.

 

Is this possible using samba? If so how do I set it up?

 

Cheers

Edited by m0nkeymafia
Link to comment
Share on other sites

To share files on the server with Windows, you will have to setup and run samba server on machine E. You can use swat or webmin for this, or edit smb.conf file by hand. Samba HOWTO will guide through the setup. After that is done, you will have to make your XP machines members of the same workgroup. (You will choose the name in smb.conf, by default it's MDKGROUP, but Windows comes with workgroup name set to WORKGROUP, so you'll have to change that). After restarting windows, the server will appear in the Network Neighborhood, and the windows users will be able to browse through their files, and read/write them. Again, the permissions must be setup in smb.conf

 

Mounting server files to a linux box is done through NFS service. It's a matter of adding an entry to /etc/fstab and running daemons. There should be NFS HOWTO around as well

 

Also, take a look at the posting "setting up a ML / XP network".

Edited by coverup
Link to comment
Share on other sites

what your asking is for a "primary domain controller"

that means you have a universal login system for any of the windows computers (you'll have to do it slightly differentlyin linux.)

 

Look for primary domain controller in the samba documentation bundled with samba on your machine.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...