How to ask a windows client...

dobos_s at dobos_s at
Thu Jan 3 10:04:07 GMT 2002

I tried this, but on machine where the user logged in only locally (eg.
local Administrator)
there is no <03> line of him.
On the other side is this netbios method reliable?
I thought something like RPC mechanism...

Dobos Sandor
IBCnet Hungary Ltd.

                    "Esh, Andrew"                                                                                  
                    <AEsh at tricord        To:     "'dobos_s at'" <dobos_s at>,                        
                    .com>                samba-technical at                                                 
                    2002.01.03           Subject:     RE: How to ask a windows client...                           

Run this from linux:

nmblookup -A ip_address_of_client

This produces a listing of an NT 4.0 client like this:

[root at r1c1n129 bin]# nmblookup -A
Looking up status of
        ESH             <00> -         M <ACTIVE>
        CENTRAL         <00> - <GROUP> M <ACTIVE>
        ESH             <03> -         M <ACTIVE>
        ESH             <20> -         M <ACTIVE>
        CENTRAL         <1e> - <GROUP> M <ACTIVE>
        ANDREWE         <03> -         M <ACTIVE>

Machine (the "<20>" 'fileserver' listing): ESH
Domain (the "<1e> - <GROUP>" 'normal group name' listing): CENTRAL
User (the "<03>" 'messenger service' listing that doesn't match the machine
name): ANDREWE

-----Original Message-----
From: dobos_s at [mailto:dobos_s at]
Sent: Thursday, January 03, 2002 8:07 AM
To: samba-technical at
Subject: How to ask a windows client...


Can somebody tell me wether is it possible some way to ask windows
nt/2000/xp machines
from linux side about who is currently logged in?
Like identd for example, but with some builtin windows mechanisms?

Sorry, I didnt spent time with reading docs because I am in hurry, so rtfm
with some links
are welcomed :-)

Please CC to me too.

Dobos Sandor
IBCnet Hungary Ltd.

More information about the samba-technical mailing list