On Fri, Nov 07, 2008 at 09:17:27AM +0100, Roger Oberholtzer wrote:
I have joined a Windows Active Directory and all works fine. Except one thing: I am unable to resolve network addresses that are in WINS but not DNS. (Why such a situation exists is a mystery over which I have no control - I must simply deal with it). In the Samba Server config in YAST, I can select that the WINS server should be set via DHCP. Well, the machine does not boot via DHCP. So, how should I arrange this?
Set your wins server in smb.conf manually. wins server = 192.9.200.1 192.168.2.61 See smb.conf man page for more WINS options.
Is there any possible conflict with the AD stuff if I add a wins server to /etc/samba/smb.conf? Will that even be used by the resolver? My /etc/nsswitch.conf file looks like this (set up by YAST):
Then hosts have to be resolved by wins too. Therefore the samba-client package includes libnss_wins.
passwd: compat winbind group: compat winbind
hosts: files mdns4_minimal [NOTFOUND=return] dns
Add wins at the end of this line. IIRC we recently had a discussion to support this from inside YaST too. Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany