Click to See Complete Forum and Search --> : SAMBA error


Usulsuspct
09-16-2001, 08:23 AM
I am setting up samba for the second time (I had to reinstall mandrake 8). I followed the NHF on this site, the first time and things worked fine.

So I followed it this time as well, however I cant seem to get it working this is the error I get:

[root@server /etc]# smbclient -L localhost
added interface ip=192.168.12.2 bcast=192.168.12.255 nmask=255.255.255.0
added interface ip=192.168.13.2 bcast=192.168.13.255 nmask=255.255.255.0
Password:
Domain=[SOPRANOS] OS=[Unix] Server=[Samba 2.0.7]
tree connect failed: ERRSRV - ERRinvnetname (Invalid network name in tree conne)

Anyone have any idea what that is refering to? The only difference between this installation and the last one is that when the installer asked me about security, I stated high / whereas last time I stated medium.

If it matters...I am running win2k, I havent even gotten to the point of testing the shares out in that enviornment, why bother if I cant even smbclient -L localhost right?

Evil Jeff
09-16-2001, 01:00 PM
The first thing I would do is to check my /etc/inetd.conf file to make sure that it is allowing samba connections (if you run it from inetd). The next thing I would do is to make sure that those ports needed for samba are open. Since I can't remember what they are, I would use the firewalling tool in DrakConf to redo your firewall. When you log in as root (su -) and run the samba script (samba restart) to restart it, does it let it shut down and start back up successfully?

randylinux
09-18-2001, 01:58 PM
There is a good discussion of just this problem in the online book at http://samba.he.net. Check the debugging/troubleshooting section.