Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Listing machine accounts & sids in an NT 4 domain?

Thread Tools

Listing machine accounts & sids in an NT 4 domain?

Brian Duffy
Posts: n/a
Hello list,

I'm trying to generate lists of machines & sids in Windows NT 4 & W2k
AD domains to help detect machines that get re-imaged with a new copy
of windows. I'm currently operating on the assumption that when a
machine is re-imaged a new SID will be generated and kept at the
domain level.

I figure if I can list all of the thousands of machine sids in the
domain and place them in a database, I can periodically list all the
machine SIDs again and easily identifity the ones that have changed.

The only problem is, I am having difficulty finding a perl function
that returns both the name & the sid of the workstation.

Could anyone point me in the right direction?

Brian Duffy Removed)
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Listing All computer accounts Bad Beagle ASP .Net 0 12-23-2005 04:04 PM
Xp machine causes ME machine to get error 'unable to browse networ =?Utf-8?B?Sm9obg==?= Wireless Networking 1 12-01-2005 03:15 PM
Restarting IIS every time I add accounts to local machine.... Thomas Smith ASP .Net Security 1 06-22-2005 03:00 AM
Listing machine connected to catalyst Nadir Sahnoun Cisco 0 08-12-2004 11:02 AM