Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't access samba shares

Status
Not open for further replies.

valicon

MIS
Sep 26, 2000
125
US
Hi all,

I have Red Hat 8 and i set up Samba. I can see the linux box in network neighborhood in XP Pro, but when I double click on it I get the error:

\\Samba server not accessible
The network path was not found.

Here is the smb.conf file:

[global]
workgroup = TECHSUPPORT247
netbios name = SAMBA SERVER
server string = Samba Server on PIII
hosts allow = 10.10.10.
printcap name = /etc/printcap
load printers = yes
printing = lprng
log file = /var/log/samba/%m.log
max log size = 0
security = user
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

Now I even added the samba users via smbusers and still nothing! What am I doing wrong?



 
oops wrong forum! I didn't realize there was a samba forum. I will repost it there, sorry!
 
Not sure, but maybe the NETBIOS NAME shouldn't have a space in it? The error says "\\Samba server not accessible", not "\\Samba Server server not accessible". Maybe try a more sane name? :)


----
JBR
 
Maybe it's a 'server unreachable' kind of thing. Your computer names may not be resolving properly. I have editted my lmhosts file on the linux box, so it maps 'frodo', 'bilbo', and 'golem' to the correct ip addresses.

How about change the name to something without a space, then make sure you set up your lmhosts?

----
JBR
 
type testparm and see if you get any errors. But I would also change the space in the netbios name to an underscore.

Testparm will read the smb.conf and check its validity.

>---------------------------------------Lawrence Feldman
SR. QA. Engineer SNAP Appliance
lfeldman@snapappliance.com

 
Also, i forgot to say, when you are getting these errors, type pidof nmbd on the server, make sure the name process daemon is running.

You can also look at the logs /var/log/samba/log.nmbd and log.smbd They might be of some help as to why you can not connect.

>---------------------------------------Lawrence Feldman
SR. QA. Engineer SNAP Appliance
lfeldman@snapappliance.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top