[plug] Samba query (fwd)
Leon Brooks
leon at brooks.smileys.net
Thu Sep 21 22:39:27 WST 2000
Richard Sharpe wrote:
> At 07:13 PM 9/21/00 +1100, Arie wrote:
>> Leon wrote:
>>> Do you know if W2k responds normally in SMB when
>>> it's semi-configured like this?
>> I don't know enough about SMB to answer how W2k responds.
>> Maybe Richard Sharpe who is a SMB expert can supply an answer?
> Because SMB over NetBIOS over TCP relies on TCP, and uses broadcasts or
> WINS for address resolution and uses broadcasts for browsing functionality,
> not much is likely to work if a client comes up in a different subnet to
> the server.
Hokay, to bring back a little context and exactitude to the question...
IF I do something like:
ifconfig eth0:0 169.254.0.1 netmask 255.255.0.0 broadcast 169.254.255.255 up
AND add the appropriate matching definition in /etc/smb.conf
AND do something this regularly (doing a tcpdump scan might be better):
for borg in $(nmblookup '*' | gawk '{ print $1 }'); do
nmblookup -A $borg >>borgscan-$borg.log
done
...will the files borgscan-*.log occasionally contain details from any
randomly-dispersed DHCP-addicted Win2k machines?
--
How can you expect a computer to act sanely when you give it such
conflicting orders? You want it to work, and you want it to run
Windows. -- Alan Shutko
More information about the plug
mailing list