LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 06-04-2003, 11:07 PM   #1
Peter2003
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: \\192.168.1.103\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 //192.168.1.103/ptshare 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.

[global]
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
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
[ptshare]
comment = Peter's Home
path = /home/peter/Share
public = yes
writable = yes
printable = no
 
Old 06-04-2003, 11:49 PM   #2
linux_pioneer
Member
 
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203

Rep: Reputation: 30
Peter,

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:
http://k12linux.mesd.k12.or.us/using_samba/ch02_04.html
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-05-2003, 12:05 AM   #3
robot_army
LQ Newbie
 
Registered: May 2003
Distribution: RedHat
Posts: 6

Rep: Reputation: 0
Check this site out... http://hr.uoregon.edu/davidrl/samba/samba-pdc.html ; helped me out a lot. Hopefully, you have XP Pro...
 
  


Reply


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 02:35 AM
mount a samba share? trey85stang DamnSmallLinux 2 05-16-2005 07:58 AM
Cannot mount samba share from windows XP Astro Linux - Software 2 12-18-2004 12:26 PM
Mount Partition As Samba Share? Terje Linux - General 1 11-28-2004 06:53 PM
Mount Samba Share on Linux RH9 ja_nch Linux - General 5 10-17-2003 02:32 PM


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