Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Tue Mar 19, 2024 12:36 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: LDAP audit.vbs
PostPosted: Thu Nov 08, 2012 3:05 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
Does it run through the list of domain computers real fast? If so it's likely a problem with the script name or path. For a domain audit the audit.vbs file shells out to itself to run the individual audits. Could you post exactly how you're running the audit.vbs file? It would help to know the path and commands you're using. Is the audit.vbs on a domain share and you're calling that from a cmd prompt in c:\temp? If so what's the share path? That sort of detail would help.


Top
 Profile  
Reply with quote  
 Post subject: Re: LDAP audit.vbs
PostPosted: Thu Nov 08, 2012 3:42 pm 
Offline
Newbie

Joined: Tue Sep 25, 2012 5:52 am
Posts: 32
Actually yes, the script runs too fast thru the list of computers. Im running the script from domain server. The audit.vbs and audit.config are in one shared folder c:\openaudit. Im calling the script from cmd (attached picture).


Attachments:
cmd.jpg
cmd.jpg [ 6.09 KiB | Viewed 6647 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: LDAP audit.vbs
PostPosted: Fri Nov 09, 2012 2:29 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
Check the software_audit variable in your audit.config file. It should be software_audit = "audit.vbs".

Also make sure you can audit one of the remote machines from the DC. So run cscript audit.vbs <remote target> and make sure it audits and populates the data.


Top
 Profile  
Reply with quote  
 Post subject: [FIXED] LDAP audit.vbs
PostPosted: Fri Nov 09, 2012 6:53 pm 
Offline
Newbie

Joined: Tue Sep 25, 2012 5:52 am
Posts: 32
I got it.. It works fine now. Thank for all your effort.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group