Displaying 1 result from an estimated 1 matches for "nt_login".
Did you mean:
do_login
2000 Jul 24
2
Nmblookup trouble
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 wha...