LinuxQuestions.org
Help answer threads with 0 replies.
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, 03:14 AM   #1
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Rep: Reputation: 30
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, 11: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, 10:41 AM   #3
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
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, 09:57 AM   #4
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
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 09:58 AM.
 
  


Reply

Tags
samba


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:07 PM
Samba server shares linux disk but windows user cannot connect mcmorj Suse/Novell 2 04-26-2007 04:54 AM
Timeout using samba - windows 2000 server and Slackware 9.1 Retrievil_Knievil Linux - Networking 0 07-15-2004 06:41 PM
How do I mount a windows (vfat) disk image under Linux? brownb2 Linux - Software 2 06-19-2004 03:47 PM


All times are GMT -5. The time now is 08:15 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration