Utility „net“


> sudo net rpc info    -S 10.0.11.21  -U kner -W htl-md.schule 

Enter kner's password:

Domain Name: HTL-MD

Domain SID: S-1-5-21-2823454782-1396477091-3942333817

Sequence number: 1

Num users: 7757

Num domain groups: 0

Num local groups: 591


>net lookup ldap htl-md.schule 

10.0.11.206:389

10.0.11.210:389

10.0.12.170:389

10.0.11.171:389

10.0.11.142:389

10.0.11.146:389

10.0.11.21:389

10.0.11.14:389

10.11.79.9:389

10.20.1.5:389

10.11.79.4:389


>net lookup host el-meins.htl-md.schule 

10.11.15.65


> net lookup host htl-md.schule 

10.0.11.21


>net time -S 10.0.11.21 

Wed Jun 16 14:57:56 2010


>sudo net ads info    -S 10.0.11.21  -U kner -W htl-md.schule 

Enter kner's password:

LDAP server: 10.0.11.21

LDAP server name: WV-Chicago.htl-md.schule

Realm: HTL-MD.SCHULE

Bind Path: dc=HTL-MD,dc=SCHULE

LDAP port: 389

Server time: Mi, 16 Jun 2010 15:20:38 CEST

KDC server: 10.0.11.21

Server time offset: 0



>sudo net ads lookup -S 10.0.11.21 

Information for Domain Controller: 10.0.11.21


Response Type: LOGON_SAM_LOGON_RESPONSE_EX

GUID: 61ad550d-8eee-4257-8d99-26f20177ee3d

Flags:

Is a PDC: yes

Is a GC of the forest: yes

Is an LDAP server: yes

Supports DS: yes

Is running a KDC: yes

Is running time services: yes

Is the closest DC: yes

Is writable: yes

Has a hardware clock: yes

Is a non-domain NC serviced by LDAP server: no

Is NT6 DC that has some secrets: no

Is NT6 DC that has all secrets: yes

Forest: htl-md.schule

Domain: htl-md.schule

Domain Controller: WV-Chicago.htl-md.schule

Pre-Win2k Domain: HTL-MD

Pre-Win2k Hostname: WV-CHICAGO

Server Site Name : West

Client Site Name : West

NT Version: 5

LMNT Token: ffff

LM20 Token: ffff


>sudo net ads printer search   -S 10.0.11.21 -U kner -W htl-md.schule 

Enter kner's password:

objectClass: top

objectClass: leaf

objectClass: connectionPoint

objectClass: printQueue

location: MIM\M4

serverName: MIMv-Turbine.htl-md.schule

driverName: HP Universal Printing PCL 6

printerName: HP Universal Printing PCL 6


objectClass: top

objectClass: leaf

objectClass: connectionPoint

objectClass: printQueue

location: FPU/IH/AV2

serverName: ih-holzwurm.htl-md.schule

driverName: Kyocera Mita FS-6020 KX

printerName: Kyocera Mita FS-6020 KX AV2