LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba: how to mount windows XP disk on Linux Slackware Server (http://www.linuxquestions.org/questions/linux-networking-3/samba-how-to-mount-windows-xp-disk-on-linux-slackware-server-821190/)

ethereal1m 07-21-2010 03:14 AM

Samba: how to mount windows XP disk on Linux Slackware Server
 
Dear all,
I have a Samba server running on Slackware 13.0 and its service running with diskspace mounted on a Windows XP machine. Is it possible to mount the XP diskspace on the Samba server? Is yes, could anybody give me a pointer on how to do it?

regards,
ethereal1m

HasC 07-21-2010 11:19 AM

yes, just create your shared folders in the windows machine, and use the command "mount" like this:
Code:

mount -t cifs //<windows-machine-name/<shared-folder-name> <directory>
perhaps you will need to enter an username and password. details here:
Code:

man mount

ethereal1m 07-22-2010 10:41 AM

I look at man mount.cifs, the command is part of samba suite. Do I need to add additional service configuration for windows in smb.conf file? Does this command work for XP?

ethereal1m 07-25-2010 09:57 AM

ok so I execute:
Code:

smbmount //Serenity/ShareDocs /mnt/windows/ -o username=ethereal1m,password=mypasswd, rw
Before that use Windows Resource kit tool to do :
Code:

net user ethereal1m /active:yes
ntrights +r SeNetworkLogonRight -u ethereal1m
ntrights -r SeDenyNetworkLogonRight -u ethereal1m

BAM! works... thanks for the help :)


All times are GMT -5. The time now is 07:19 PM.