SAMBA again
Roger Oberholtzer
roger
Tue Nov 22 13:02:55 PST 2005
On Tue, 2005-11-22 at 08:53 -0800, Aaron Grewell wrote:
> > 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.
I have this setup. nmbd is running and I see that samba not only sends
my machine info to the wins server, it also broadcasts it to the
network. The wins server acknowledges my information. This without the
FQD name. But windows users still need to use it to get to me.
The problem I am refering to is resolving names of windows machines from
Linux (libresolv). I have 'hosts: files dns' in my /etc/nsswitch.conf
file. I would think all would be in the local windows DNS. But I think
they are sloppy and only really maintain wins for internal machines. I
see a /lib/libnss_wins.so.2 file. Perhaps that could go on that line?
> _______________________________________________
> Linux-users mailing list ( Linux-users at linux-sxs.org )
> Unsub/Password/Etc: http://mail.linux-sxs.org/cgi-bin/mailman/listinfo/linux-users
>
> Need to chat further on this subject? Check out #linux-users on irc.linux-sxs.org !
More information about the Linux-users
mailing list