LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-21-2010, 02:14 AM   #1
ethereal1m
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 312

Rep: Reputation: 31
Question 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
 
Old 07-21-2010, 10:19 AM   #2
HasC
Member
 
Registered: Oct 2009
Location: South America - Paraguay
Distribution: Debian 5 - Slackware 13.1 - Arch - Some others linuxes/*BSDs through KVM and Xen
Posts: 329

Rep: Reputation: 55
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
 
1 members found this post helpful.
Old 07-22-2010, 09:41 AM   #3
ethereal1m
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 312

Original Poster
Rep: Reputation: 31
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?
 
Old 07-25-2010, 08:57 AM   #4
ethereal1m
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 312

Original Poster
Rep: Reputation: 31
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

Last edited by ethereal1m; 07-25-2010 at 08:58 AM.
 
  


Reply

Tags
samba



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs mount between Slackware 11.0 and Windows Server 2003 Sebastien Faucher Linux - Networking 3 06-01-2007 02:07 PM
Samba server shares linux disk but windows user cannot connect mcmorj SUSE / openSUSE 2 04-26-2007 03:54 AM
Timeout using samba - windows 2000 server and Slackware 9.1 Retrievil_Knievil Linux - Networking 0 07-15-2004 05:41 PM
How do I mount a windows (vfat) disk image under Linux? brownb2 Linux - Software 2 06-19-2004 02:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration