Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Example Reading ADSI Attributes

 
Logged in as: Guest
arrSession:exec spGetSession 2,16,55477
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> Post a VBScript >> Example Reading ADSI Attributes
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Example Reading ADSI Attributes - 1/15/2008 6:37:53 PM   
  aresu

 

Posts: 1
Score: 0
Joined: 1/15/2008
Status: offline
Windows Active Directory Dormant ID Review

Hi All,

I just want to share it with you, some of you maybe as security administrator know and have the same experience that we should do dormant id review every month to maintenance our system and to ensure that our system is clean from dormant ID as recommended by IT auditor.

Usually, I have generated the report using DumpSec to produce windows ID report (truelastlogon) and review it whether any user id that never login below to 90 days (base on company policy) or over 90 days.

How can we easily review if we have thousand user id and several companies separately by organization unit (OU)?
For this reason, I have made clone DumpSec function (Dump Users as Table) using visual basic script (VBS) to access Windows Active Directory (ADSI) and exported to text file delimited format with tab.

The Advantage:
  1. With this script you can generate user list base on OU that you have specified
  2. If you have limited network connection between primary domain controller and backup domain controller and also you have many backup domain controller, this script will be generate report faster than DumpSec because the script will be collect information from specific domain controller name as your specified on the configuration header within the script.

How to using this script?
Please read the header script for more information.
But if you still have problem, please write down your comment in this post.

Thanks,
AresU


      

_____________________________

Share of The Day (SOTD)
How can you discover your world by reading my blog? You will find tips&tricks, news, knowledge, fun, etc.

http://aresu.blogspot.com
 
 
Revisions: 1 | Post #: 1
 
 RE: Example Reading ADSI Attributes - 3/6/2008 3:46:19 AM   
  crapapelada

 

Posts: 1
Score: 0
Joined: 2/12/2008
Status: offline
I REALLY needed this, thank you!!!!

(in reply to aresu)
 
 
Post #: 2
 
 RE: Example Reading ADSI Attributes - 3/6/2008 11:04:18 PM   
  DiGiTAL.SkReAM


Posts: 1157
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
Can vbscripts actually be copyrighted?!?

_____________________________

"Would you like to touch my monkey?" - Dieter (Mike Meyers)

"It is better to die like a tiger, than to live like a pussy."
-Master Wong, from Balls of Fury

(in reply to crapapelada)
 
 
Post #: 3
 
 RE: Example Reading ADSI Attributes - 3/7/2008 12:34:52 AM   
  TomRiddle


Posts: 165
Score: 4
Joined: 2/7/2008
Status: offline
I would say yes and no.

"YES" If I write or work on a script at work, that script is owned by my employer, I can not take it with me when I leave and delete all other copies. The employer owns it. If I write a script that does some revolutionary new function that has never been done before and I write in it "script by TomRiddle" and then some dork at a later date writes same script, copywrite by dork and starts to make money I could sue him to get my share. That assuming a patent or copywrite on a script can actually be made.

and "NO" because you can't really sell them, you can't encrypt them, code is code, it can only be written written in a certain way i.e the syntax must be correct enough for it to work, two people could in theory come up with the same script, same syntax and even same variable names, especially since there is so much sample code out there, no one will reinvent the wheel when a perfectly good wheel already exists.

This script says it is copywrite aresu.blogspot.com, created by AresU but original code from Richard L. Mueller.
This site states that "All posts and images are owned by VisualBasicScript.com"

So in conclusion, can a script be copyrighted? this one probably NO, since it is a blatant functional copy of DumpSec. Other vbscripts probably can not be copywrighted either. Show me a vbscript that actually is copywrighted.

But this script in particular, since all posts on this site are owned by VisualBasicScript.com, aresu has relinquishing ownership of it to VisualBasicScript.com and can only claim to have written it which he did not.

< Message edited by TomRiddle -- 3/7/2008 12:37:19 AM >

(in reply to DiGiTAL.SkReAM)
 
 
Revisions: 1 | Post #: 4
 
 RE: Example Reading ADSI Attributes - 3/8/2008 8:49:32 PM   
  TNO


Posts: 1064
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
This explains the details behind the legality (Don't worry, its a simple read):

http://www.piercelaw.edu/tfield/copynet.htm

_____________________________

To iterate is human, to recurse divine. -- L. Peter Deutsch

(in reply to TomRiddle)
 
 
Post #: 5
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Post a VBScript >> Example Reading ADSI Attributes Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts