NT Domain Aurhentification for routrer control

Simon.Murcott at solnet.co.nz Simon.Murcott at solnet.co.nz
Sat Dec 9 07:21:00 GMT 2000


>>> Ok, proxy is very good thing. But I'd like complete task without using
>>> any kind of proxy servers.
>>>
>>> Another idea is to write an script that will run every 5 minutes (or
>>> every minute) and determine name of the user on every machine in
>>> domain. It is not very beautiful, but it may works. If only it is
>>> possible - so, how to determine name of the user logged in from
>>> machine with given name (or hostname, or IP)?
>SS> try smbstatus utility!
>
>smbstatus succesfully shows curren connections with my linux box
>running samba, but afaik it cannot tell who is logged in to specific
>machine. Am I wrong?

you should be able to get the same information using nmblookup or looking at locks/wins.dat.

even more exact would be to use "nmap -sP" and then "nmblookup -A" on the results and then parse that.




More information about the samba-ntdom mailing list