Nmblookup trouble

Mike Brodbelt m.brodbelt at acu.ac.uk
Mon Jul 24 17:03:18 GMT 2000


Hi,

Some time ago, I wrote a small script based on some information on one
of the Samba lists, which let me figure out which machine a user was
logged in on. The script was this:-

# smbfind: watch for someone to log in

PATH=/bin:/usr/bin

case $# in
0)      echo 'Usage: smbfind <nt_login>' 1>&2; exit 1
esac

nmblookup -S "${1}#03" | awk '/<00> -  /{print $1}'


This has recently stopped working, and I'm at a loss as to why - node
status queries seem to simply fail on my network these days. I'm using
Samba 2.0.7, and I've no idea what changed to stop the script from
working. I'd appreciate any ideas...

Mike.


More information about the samba mailing list