Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
I'm attempting to setup a new samba machine for our office to use. This box's role is essentially just one big file share for all in the office to use, so it's got one share, anonymous access, about as simple as it gets. I've never run into a problem getting samba working on other machines, but I'm getting the followiung when I try to connect:
[tabacco@specs ~]# smbclient //specs/vss
Password: (there is no password, so I hit [Enter] at this point)
Domain=[COLEFAX] OS=[Unix] Server=[Samba 3.0.10-1.4E.11]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
I get a similar but much less verbose error message if I try this from my Windows box.
Doing a google search for this error turns up about ten million hits, but I haven't been able to find a relevent solution. I've tried a few different variations on smb.conf, and finally ended up on one from the RHEL manual on Samba, which is about as bare-bones as it gets:
Code:
[global]
workgroup = COLEFAX
netbios name = specs
security = share
[vss]
comment = control your source
path = /usr/local/telltale/vss
force user = nobody
force group = nobody
read only = No
guest ok = Yes
This is a brand new install of CentOS4. I just installed CentOS on another box and had no problems getting a share working, so I'm not 100% sure what I've done wrong here. Any ideas?
Aha... I ended up figuring it out. The permissions on the path for the 'vss' share were wrong. Always nice to see an error message that really describes the problem ¬¬
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it. subscribe
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe