Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-04-2003, 10:07 PM   #1
LQ Newbie
Registered: May 2003
Location: Philly area, PA, USA
Distribution: RH 9
Posts: 2

Rep: Reputation: 0
XP not able to mount Linux share through SAMBA

Hi all,

Have RH-9 on a machine, samba running, and a Win-XP machine that tries to mount ptshare. In the network neighborhood on the XP machine I see workgroup MSHOME and RHLinux (my RH machine) under it, but get a message about privs: "\\RHLinux is not accessible. You might not have permissions to use this network resource. Contact the system administrator blablabla"

I can ping the both machines from each other. When I try
net use x: \\\ptshare it actually prompts me for a user and password but then get error 53 on the XP.

On the linux box I can do: smbclient // then hit enter on the password prompt, and it puts me on the smb: /> prompt and I can do e.g. ls which shows a file that sits in /home/peter/ptshare, so that seems to work.

Anybody any suggestions why the XP machine is having trouble?

Here's my smb.conf.

workgroup = MSHOME
server string = Samba Server on RedHat Linux
hosts allow = 192.168.1. 192.168.2. 127.
printcap name = /etc/printcap
load printers = yes
printing = cups
log file = /var/log/samba/%m.log
max log size = 0
security = share
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*

pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
comment = Temporary file space
path = /tmp
read only = no
public = yes
comment = Peter's Home
path = /home/peter/Share
public = yes
writable = yes
printable = no
Old 06-04-2003, 10:49 PM   #2
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203

Rep: Reputation: 30

From reading your message I suspect the problem is in your smb.conf file. I'm at work right now so I can't compare yours to mine. I only noticed one thing different so far. Try adding "readonly=no" under [ptshare]. Have you set up a samba user account? Here is the site I used to set up samba:
Funny thing though, when I was running rh8 I had to edit this file (that's why I'm familar with it), but when I did a clean install of rh9 I didn't have to touch that file. I just went to the start menu (redhat icon bottom left corner), I chose system settings --> server settings and chose samba. This utility with a simple gui popped up and allowed me to create a user account and set up shares. Have you tried this utility yet?
Old 06-04-2003, 11:05 PM   #3
LQ Newbie
Registered: May 2003
Distribution: RedHat
Posts: 6

Rep: Reputation: 0
Check this site out... ; helped me out a lot. Hopefully, you have XP Pro...


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
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
mount a samba share? trey85stang DamnSmallLinux 2 05-16-2005 06:58 AM
Cannot mount samba share from windows XP Astro Linux - Software 2 12-18-2004 11:26 AM
Mount Partition As Samba Share? Terje Linux - General 1 11-28-2004 05:53 PM
Mount Samba Share on Linux RH9 ja_nch Linux - General 5 10-17-2003 01:32 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:36 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