Small Home Network - XP Network Place to Samba Share

G

Guest

Looking for help in configuring Windows XP (Home Ed) to grab a networked
share on a Fedora Linux server. Samba share was already set up and is visible
to the XP box, but cannot connect to it ("You may not have permission ...")

Share user permissions were set up on Fedora, and assigned to Samba Server
and directory I'm trying to share.

Network consists of 3 servers, DHCP, through a NetGear router.

Am I missing something on the XP side?
Have Firewall enabled, but the fact that I can see the share tells me that
it is working. I'm questioning the account name & password in XP. Played
around with that, but doesn't seem to help.

Any assistance greatly appreciated. Thanks!
 
M

Malke

dlong said:
Looking for help in configuring Windows XP (Home Ed) to grab a
networked share on a Fedora Linux server. Samba share was already set
up and is visible to the XP box, but cannot connect to it ("You may
not have permission ...")

Share user permissions were set up on Fedora, and assigned to Samba
Server and directory I'm trying to share.

Network consists of 3 servers, DHCP, through a NetGear router.

Am I missing something on the XP side?
Have Firewall enabled, but the fact that I can see the share tells me
that it is working. I'm questioning the account name & password in XP.
Played around with that, but doesn't seem to help.

Here's my Samba setup boilerplate. Take what is applicable to your
situation and your distro (I use SUSE).

1. On Windows boxen, make sure all accounts are properly named (no
damned spaces) and there are no null passwords. Configure any firewalls
to allow lan traffic. Create shares as desired. Note that if any boxen
are XP Pro, you should disable Simple Sharing (Folder Options>View).

2. On Linux, create identical user account/passwords with your distro's
configuration method.
3. Make sure you've installed Samba server/client with your distro's
configuration method.
4. Configure run levels so that the nmb and smb daemons start at bootup.

5. Now add your users to Samba. Make these match the ones on Windows. I
think the easiest way is from the console, so open one, su to root, and
type:
smbpasswd -a username [enter]
(enter password)
(enter password again)

6. Go to your distro's configuration method and set your Samba server
and client Identity to match your Windows Workgroup name.

7. I use KDE, so if you use Gnome or another window manager you'll need
to figure this next bit out yourself. Open up the Control Center and go
to Internet/Network and then Samba. Click on the Administrator Mode
(enter root password). I use User security level. Check to make sure
Shares (these are for the Linux box of course) are the way you want
them. Apply and close that part.

8. Click on File Sharing and enable Administrator Mode. Check "Enable
local network file sharing". I have mine set on "Advanced sharing".
Check the box for "Use Samba" rather than NFS.

And that's pretty much it. Now if you want to make a new share - say a
folder that isn't in your /home, you can right-click it to set Sharing
Properties. If all you want to share is your /home, you're done. Since
9.3, SUSE has a useful Network icon on the desktop (at least in KDE it
does) where you can find your Windows Workgroup and see all the smb
shares. Perhaps your distro does, too.

Note: To use a Linux firewall w/Samba - If you do not have WINS on the
network, then your network is relying on broadcasted browser
announcements for NetBios resolution. Configure your firewall to allow
NetBios broadcasts, with UDP and TCP ports 137-139 open.

Malke
 
C

Chuck

Looking for help in configuring Windows XP (Home Ed) to grab a networked
share on a Fedora Linux server. Samba share was already set up and is visible
to the XP box, but cannot connect to it ("You may not have permission ...")

Share user permissions were set up on Fedora, and assigned to Samba Server
and directory I'm trying to share.

Network consists of 3 servers, DHCP, through a NetGear router.

Am I missing something on the XP side?
Have Firewall enabled, but the fact that I can see the share tells me that
it is working. I'm questioning the account name & password in XP. Played
around with that, but doesn't seem to help.

Any assistance greatly appreciated. Thanks!

The "You may not have permission ..." can have several causes. The complete
message may help. In Windows, it could be either an error 5, or 53. Involving
Fedora, and Samba, may make it more interesting.
<http://nitecruzr.blogspot.com/2005/06/mysterious-error-5-aka-access-denied.html>
http://nitecruzr.blogspot.com/2005/06/mysterious-error-5-aka-access-denied.html
<http://nitecruzr.blogspot.com/2005/06/mysterious-error-53-aka-name-not-found.html>
http://nitecruzr.blogspot.com/2005/06/mysterious-error-53-aka-name-not-found.html

Look for personal firewalls first. Then look at the browser setup. Personal
firewalls can cause many interesting symptoms, and yours is not too unusual.
<http://nitecruzr.blogspot.com/2005/10/irregularities-in-workgroup-visibility.html>
http://nitecruzr.blogspot.com/2005/10/irregularities-in-workgroup-visibility.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top