Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-19-2007, 02:18 AM   #1
LQ Newbie
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
mount from windows XP to fedora core 4 using samba


I have a shared folder on Fedora box and would like to mount it from windows XP (professional) so I can read/change source files. have a few question, appreciate some help.

1) Is it possible to do so using NFS on both machines?

2) Is it possible to do so using Samba (Fedora as Samba server and XP as client) ?

3) I tried to config smb.conf on Fedora box, the only I change is basically the following :

security = user

# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
; comment = Mary's and Fred's stuff
path = /home/joe
valid users = joe
public = yes
writable = yes
printable = no
create mask = 0765

4) run smdpasswd -a joe, enter password

restart smb service on Linux

5) When trying to map network driver in windows XP, using \IP_ADDRESS\home\joe, it prompts for user name and password, so I entered joe\password

6) XP always changes user name to \COMPANY_DOMAIN_NAME\joe and ask for re-log in, never be able to log in

what do I miss here? where is domain name come from?

Many thanks

Old 12-19-2007, 03:11 AM   #2
LQ Newbie
Registered: Nov 2007
Posts: 7

Rep: Reputation: 0

the XP domain name is just the leftover of how xp connects to the default active directory server thing. you can forget about it if you have your samba working correctly. first thing you have to remember about samba, is that there are 2 parts to samba.

1. the samba authorization part
2. the linux file permissions and ownership for the file.

firstly your conf file:

; comment = Mary's and Fred's stuff
path = /home/joe
valid users = joe
public = yes
writable = yes
printable = no
create mask = 0765

try this instead:

path = /home/joe
valid users = joe
public = yes
browsable = yes
writable = yes
printable = no
create mask = 0765

check the permissions of the folder /home/joe, and make sure that it belongs to joe (joe can read/write to it)

then, in windows connect to:


and try connect with username joe and your password.

oh, and if you want to check if all is working correctly, run testparm it will test all your samba settings and tell you what is missing, then restart samba.

Last edited by zaktalanos; 12-19-2007 at 03:12 AM. Reason: more to it.


samba, windows, xp

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
How to mount Windows volumes in Fedora Core 5 ? sco1984 Fedora 6 08-30-2006 12:48 AM
Fedora Core 5, Samba and Windows 98 lbclinux Linux - Networking 1 05-28-2006 10:04 AM
Fedora core 3 mount windows FAT32 partition device busy starney Fedora 4 11-30-2004 10:08 PM
Samba 3.0.6 - How to mount Samba Shares from Windows 2003? kp1 Linux - Software 2 09-10-2004 07:03 PM
Cannot install fedora core 1 or core 2: Initial setup crashes: "Unable to mount root" ovelasco Linux - Newbie 10 07-15-2004 08:19 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:59 PM.

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