WINS, dialup, and netlogon problems
sharpe at ns.aus.com
Tue Sep 22 12:29:06 GMT 1998
At 09:32 AM 9/21/98 -0700, Jeremy Allison wrote:
>Richard Sharpe wrote:
>> 1. The user's PC logs in one night and they get:
>> IP address =172.16.10.120
>> so they have a PC#00, PC#03 and PC#20 all saying 172.16.10.120
>> Next night they log in, because a different modem is used, they get:
>> IP address = 172.16.10.121
>> so they have a PC#00, PC#03, and PC#20 all saying 172.16.10.121 as well
>> as the entries above!
>> We have 1.9.18p10 and I have seen the above.
>Well the nmbd in 1.9.18p10 will register a name multiple-times
>for the same IP address, but only if the second registration
>is a multi-homed registration.
Except that I think I am seeing the same name registered with different IP
>Are these machines coming in over a dialup line ? If so this
>dialup IP registration may very well be a multi-homed
Same machine calling in at different times and getting different modems
that map to different IP addresses.
>> 2. We are doing things with smbclient against the above dial-in PCs, but
>> smbclient will not use WINS, and if you put WINS SERVER = <server ip
>> address> in the smb.conf pointing to the machine which runs samba (which is
>> the same machine that we do smbclient on) and have WINS SUPPORT = on, since
>> we are a WINS server, nmbd refuses to run.
>> How are we to get smbclient to do WINS lookups?
>Doesn't smbclient use the host lookup switchtable
>function ? In which case it should use either
>gethostbyname(), WINS or broadcast - depending
>on how you have the "name resolve order" set.
smbclient gets its WINS server address from the smb.conf file. Since the
server is already a WINS server, we cannot have a WINS SERVER = line in the
smb.conf file as well.
I have to look into a command line way of specifying the WINS server.
Richard Sharpe, sharpe at ns.aus.com, NIC-Handle:RJS96
NS Computer Software and Services P/L,
Ph: +61-8-8281-0063, FAX: +61-8-8250-2080,
Samba, Linux, Apache, Digital UNIX, AIX, Netscape, Stronghold, C, ...
More information about the samba-technical