LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba/Cifs Home Directory Mount (https://www.linuxquestions.org/questions/linux-software-2/samba-cifs-home-directory-mount-552332/)

Cottsay 05-08-2007 01:09 PM

Samba/Cifs Home Directory Mount
 
Hello! I'm using samba with as a primary domain controller, and I need a way to map home directories for each user. Can I somehow map a network drive to /home and maintain all of the permissions? All of my samba stuff works great mapping from Windows, but I don't really understand how Fedora 6 treats samba shares. Help?

Thanks,

Scott K Logan
CottsayNet
logans@cottsay.net

nzgreenie 06-07-2007 10:05 PM

Hi Scott,

Can you re-state your problem?
Do you have a windows domain controller and want to map home directories on the domain controller to linux workstations?
Linux workstations generally mount a network share from a windows machine using the following format:
Code:

mount -t smbfs -o username=<domain>\<username>,password=<domainpassword> //<servername>/<sharename$> /path/to/mount/on
The line to add to the /etc/fstab file to do the same thing on boot would be:
Code:

//<servername>/<sharename$> /path/to/mount/on  smbfs auto,username=<domain>\<username>,password=<domainpassword> 0 0


All times are GMT -5. The time now is 09:58 PM.