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 Fri Mar 29, 2024 12:04 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
PostPosted: Fri Mar 27, 2009 5:37 pm 
Offline
Newbie

Joined: Wed Mar 25, 2009 6:55 pm
Posts: 12
another feature I'd like: the list-all-windows-administrators also lists the defaults "administrator, domain admins". I'd like to add a filter to filter these out so in the results you only find the hosts with other local admins.

I won't mind doing this myself, but before I start coding: are there any guidelines I should follow? I would do it like this:

in the admin_config.php script add another option: "default local admin filter:" with default value "Administrator, Domain Admins" (this must be an option since local administrator may be renamed (as we do) and you could have other default admins too).

in the list-script add a text-field "don't list: " to the top with the filter in by default. In the script the filter is added to the query (duh)


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 27, 2009 9:24 pm 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
Sounds good to me, let me know if you need any help testing etc.
:D

_________________
Andrew

[size=85]OA Server: Windows XP/ XAMPP, Mandriva/Apache, Ubuntu
Auditing: 300+ Wstns, 20+ Srvrs, Thin clients, Linux boxes, Routers, etc
OS's: Windows XP , W2K Srvr, W2K3 Srvr, W2K8, Vista, Windows 7, Linuxes (and a Mac at home)
LDAP: Active Directory[/size]


Top
 Profile  
Reply with quote  
PostPosted: Tue May 12, 2009 5:23 pm 
Offline
Newbie

Joined: Wed May 07, 2008 4:32 am
Posts: 42
Yes!!! - I'm here for testing to, I was actualy wondering about something like this, great job!


Thanks & Regards,
Adrian

_________________
Server Info:
OS : Windows 2003 SP2
Auditing: 1700 Machines
LDAP: Active Directory


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 05, 2009 7:39 pm 
Offline
Newbie

Joined: Wed May 07, 2008 4:32 am
Posts: 42
anybody tackled this in the end?

_________________
Server Info:
OS : Windows 2003 SP2
Auditing: 1700 Machines
LDAP: Active Directory


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 11, 2011 1:51 am 
Offline
Newbie

Joined: Tue Dec 07, 2010 11:08 pm
Posts: 4
Location: Germany
It's simple.

Modify the SQL query in the file list_viewdef_all_win_admins.php

Original Line 4:
[code]
"sql"=>"SELECT * FROM groups, system WHERE groups_SID = 'S-1-5-32-544' AND groups_uuid = system_uuid AND groups_timestamp = system_timestamp",
[/code]

Modified:
[code]
"sql"=>"SELECT * FROM groups, system WHERE groups_SID = 'S-1-5-32-544' AND groups_uuid = system_uuid AND groups_timestamp = system_timestamp AND NOT groups_members = \"Add here the output from a standard machine\" ",
[/code]

_________________
Server Info:
    OS :Win2k8 R2 - IIS 7.5
    Auditing: 550 Windows machines remotely
    LDAP: Active Directory


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.  [ 5 posts ] 

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