[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: samba problems (was: Re: Serial conn. to WIN (success!) - thanks)



Stephan Hachinger wrote:
> 
> Hello!
> 
> Now, the further problems: I hope perhaps someone can send me some
> suggestions about this 'cause I have read the smb.conf manpage thoroughly
> and don't know what to do (although I said I was probably able to solve
> this).
> 
> I'm using a ip connection over slip (serial cable direct) from a WIN 95b box
> to slink. I can also mount my win services (smbmount), no problem. And I can
> use the samba supplied services on the win box. But, the problem is that win
> doesn't find any computer in the Network Neighbourhood and claims it can't
> be browsed. If I Run >>//computername/resource" in win, I can see the
> resource, and then, if I press the "change to upper dir" button (don't know
> what it's called in English WIN vers), I get, after some time connected,
> the workgroup in the window, and then, after a second click I reach the
> network neighbourhood and then --- the computername is shown
> CORRECTLY!!!
> 
> I really don't know what causes this behaviour, and so I'm sending you the
> smb.conf as well as the dialup.dun file with this mail. I'm using Samba
> 2.0.5 or so.
> 
> Sometimes it also says that the groupname "workgroup" cannot be found,
> although I've configured both boxes to be in that group.
> 
I've run into this a fair number of times.  I think the problem is that
when Windows networking looks for other computers in the neighborhood,
all it can do through TCP/IP is broadcast to local machines.  It needs
WINS to be able to resolve names over a PPP or (I assume) SLIP link. 
(Why, I'm not quite sure; maybe someone can fill me in on this).  Try
setting up My Computer/Control Panel/Network on your Win machine to use
WINS, and point it to the IP address of your Linux box in the DUN TCP/IP
settings.  (pppd has a way to provide the WINS IP address from the
server, so you wouldn't have to set it on the Win machine, but I don't
know if SLIP has this).

In smb.conf on your Linux box, make sure to set:

wins support

I also set:

os level=65
domain master=yes
local master=yes
preferred master=yes

That way, browsing is all done through the Linux box and doesn't "drift
around".

One more thing: make sure those workgroup names match on your Win box
and in smb.conf!


Reply to: