SAMBA again
Aaron Grewell
AGrewell
Tue Nov 22 11:02:57 PST 2005
> I think this is a WINS type of place. I have been told which machine is
> the WINS server, yet, if I let a linux box setup via dhcp, the
> resolv.conf file does not contain the WINS server. Until I add it by
> hand, I cannot resolve local window machine names. But that is not, I
> think, the problem. I would have thought that any WINS entries would
> also be in the DNS, but I do not think so.
>
> If the windows users use the SAMBA share's FQD name, they can access it
> when I relax authentication.
WINS server info is contained within smb.conf. The Linux DHCP client
has no support for WINS entries so it just ignores them. Make sure the
following are set in smb.conf, customizing appropriately for your
environment:
#Turn off Samba's built-in WINS server
wins support = no
#Tell Samba/Winbind to use this WINS server for name resolution
wins server = 192.168.0.1
This will not only make sure that you use WINS for resolution, it will
put your machine into the WINS database so that WINS clients can find
it, which may be what you are running into. IIRC you'll have to make
sure nmbd is running, since it is responsible for dealing with WINS.
More information about the Linux-users
mailing list