I am trying to setup the samba server to ping machines on the network via the netbios name. i have the following lines in smb.conf under global wins support = yes domain logons = Yes preferred master = Yes domain master = Yes local master = yes os level = 34 my /etc/nsswitch.conf looks like. hosts: files wins dns I added the address of the samba server into the wins configuration tab in the advanced section of tcp properties in windows xp. When i try to ping that machine from the samba server, i get unknown host. i can ping the samba server by netbios name from the xp machine just fine domain logons work, its just the ping from the samba server thats the problem. I would also like to b able to ping other machines on the network from this xp box in question as well. the samba server is running ubuntu feisty and samba 3.0.24
On Friday 18 May 2007, Jack Mendez wrote:> I added the address of the samba server into the wins configuration tab in > the advanced section of tcp properties in windows xp. When i try to ping > that machine from the samba server, i get unknown host. > i can ping the samba server by netbios name from the xp machine just fine > domain logons work, its just the ping from the samba server thats the > problem. I would also like to b able to ping other machines on the > network from this xp box in question as well.First step is to make sure your XP workstation is registering itself with the WINS server. Take a peek at your wins.dat file to verify. If the system is registered then you can look elsewhere for the problem. I did notice at one point that libnss_wins.so is not built if one specifies --without-winbind. The file is needed for the hosts lookup in WINS even when not using winbind. That's why I think it should always be built. Chris
El Viernes, 18 de Mayo de 2007 20:48, Jack Mendez escribi?:> I am trying to setup the samba server to ping machines on the network via > the netbios name. > i have the following lines in smb.conf under global > wins support = yes > domain logons = Yes > preferred master = Yes > domain master = Yes > local master = yes > os level = 34 > > my /etc/nsswitch.conf looks like. > hosts: files wins dnsAs far as I know, network utilities in Windows work with netbios so you can execute the ping command to a machine with his netbios name. Your setup looks well... perhaps your browse list in /var/lib/samba/wins.dat isn't fully populated or has incorrect info. You can try to stop Samba, delete that file and restart it and se how is being populated. -- Asier.
On Fri, May 18, 2007 3:31 pm, Chris Smith said:> First step is to make sure your XP workstation is registering itself with > the > WINS server. Take a peek at your wins.dat file to verify. >> If the system is registered then you can look elsewhere for the problIdid notice at one point that libnss_wins.so is not built if one> specifies --without-winbind. The file is needed for the hosts lookup inWINS I took a look at wins.dat and the system information is in the file. I did a find for libnss_wins.so and was unable to locate it on my system. I did smbd ?b and will paste the modules section below. Builtin modules: pdb_ldap pdb_smbpasswd pdb_tdbsam rpc_lsa rpc_reg rpc_lsa_ds rpc_wks rpc_svc ctl rpc_ntsvcs rpc_net rpc_netdfs rpc_srv rpc_spoolss rpc_eventlog rpc_samr idma p_ldap idmap_tdb auth_sam auth_unix auth_winbind auth_server auth_domain auth_bu iltin any ideas?