Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
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?