m0nkeymafia Posted April 18, 2004 Report Share Posted April 18, 2004 (edited) 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 April 18, 2004 by m0nkeymafia Quote Link to comment Share on other sites More sharing options...
SoulSe Posted April 19, 2004 Report Share Posted April 19, 2004 Possible yes, easy no. Time to start reading Samba man pages I'm afraid... Quote Link to comment Share on other sites More sharing options...
coverup Posted April 21, 2004 Report Share Posted April 21, 2004 (edited) 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 April 21, 2004 by coverup Quote Link to comment Share on other sites More sharing options...
fissy Posted April 21, 2004 Report Share Posted April 21, 2004 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.