Jason Straight wrote:

> Samba is acting wierd and I can't quite seem to pin down the reason for it.
> 
> If smb is started at boot time it works fine.
> 
> If smb is off at boot and I start it manually, or if I restart smb after boot 
> I get this 
> 
> [root@jkd rc5.d]# smbclient -L localhost
> added interface ip=12.32.79.nn bcast=12.32.79.79 nmask=255.255.255.240
> Password:
> Anonymous login successful
> Domain=[PENGUINFARM] OS=[Unix] Server=[Samba 2.0.8]
> tree connect failed: ERRSRV - ERRinvnetname (Invalid network name in tree 
> connect.)
> [root@jkd rc5.d]#
> 
> The only thing I can figure is that there must be something that starts after 
> smb that if smb is restarted or started too late this other app must 
> interfere somehow. I don't have anything that would bind to the nmbd or smbd 
> ports that I know of - I'm not running portsentry at this time.
> 
> Anyone know why this is happening?

I found the issue with the /root/tmp error.  /etc/profile sets
$HOME/tmp as your $TMPPATH.  When you start samba, it inherits 
this $TMPPATH variable.  To resolve the issue, I temporarily 
set TMPPATH=/tmp and restarted samba, it worked like a charm.

     Woody



Reply via email to