[Samba] samba4wins - all ok but how to use nmblookup from my PDC?
Pablo Chamorro C.
pchamorro at ingeominas.gov.co
Thu Mar 16 03:59:48 GMT 2006
> On Fri, 2006-03-10 at 09:07 -0500, Pablo Chamorro C. wrote:
>> I installed samba4wins on two of my Fedora Core 3 servers (from src rpm),
>> on one PDC (samba 3.0.21c) and on one standalone server without samba, in
>> order to test samba4wins. I think I managed to install and to setup
>> properly the software but it seems nmblookup is not working on the PDC
>> [user]$ nmblookup '*'
>> querying * on 192.168.19.255
>> name_query failed to find name *
> Are you there is no firewall software blocking answers to the request ?
sorry for my delayed answer, no, I don't have any firewall on the LAN
where I installed samba4wins.
>>> From any other linux, including the standalone machine nmblookup '*'
>> works. I followed the instructions given on samba4wins-1.0.1-HOWTO.txt.
>> On the other side, I am having similar samba4wins records both for user
>> machines and for users! Is this ok? Please look below.
> Yes, workstations register the username with Netbios to be able, for
> example, to receive messages directed to a username. This is also why
> you should never name a workstation after the username, you may end up
> in conflicts.
ok, I think I understand that, but the samba4wins records not only include
machine names' records but also user names' records, e.g. for the next
two, RICHARD (record 12, type 0x03) is an user and galeras is a machine
(record 18, type 0x03):
# record 12
# record 13
# record 18
>> 2. in the linux without samba: eth0: 192.168.19.7 ("standalone") and for
>> samba4wins: 192.168.19.107 (standalone-wins)
>> netbios name = standalone-wins
>> workgroup = group
>> interfaces = 192.168.19.107
>> bind interfaces only = yes
>> log level = 4
>> nbtd:disable_broadcast = no
> If this machine does not have samba, then you do not need to restirct
> samba4wins to an alias, you can just use the primary interface.
ok, thanks, I did it just for similarity with the wins on the PDC
> The ip alias trick is used to let samba3 run it's own nmbd daemon on the
> same address of smbd.
> I'd make a network trace and see if the request goes out on the wire and
> if any answer returns.
ok, i'm gonna try and to double check my setup, I have samba4wins and
samba listening on the same ports as indicated on the howto page,
Tel: +57 (2) 7314752/3222/2595 - Fax: +57 (2) 7310514
Carrera 31 #18-07 Parque Infantil - PO Box 1795 - Pasto
More information about the samba