corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » AD Permissions audit


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author AD Permissions audit
willay
Moderator
Organiser: South East, National Events
Premium Member


Avatar

Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
18th Oct 12 at 16:06   View Garage View User's Profile U2U Member Reply With Quote

I need to do a permissions audit/report for my company for a few network shares, has anyone had to do this and can anyone reccomend some methods for doing it?

I'm guessing what I need to do is detail what security groups we have, who is in them and what access the groups have? Also need to do it for users who have been added outside of groups.

Any pointers or tips would be handy, sounds like a nightmare tbh
Bart
Member

Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
18th Oct 12 at 17:31   View User's Profile U2U Member Reply With Quote

never done this, but im also curious actually, its a good thing to test.
Richie
Member

Registered: 3rd Dec 02
Location: Newport, Wales
User status: Offline
18th Oct 12 at 17:40   View User's Profile U2U Member Reply With Quote

Hyena / Dumpsec. Bit of tidying up afterwards - nothing too major.
Gaz
Member

Registered: 24th Aug 03
Location: Widnes, Cheshire
User status: Offline
18th Oct 12 at 19:56   View User's Profile U2U Member Reply With Quote

do you not have the share set up under it's own security group?
if so, you can just report on the members of that group?
willay
Moderator
Organiser: South East, National Events
Premium Member


Avatar

Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
18th Oct 12 at 21:45   View Garage View User's Profile U2U Member Reply With Quote

One share will have multiple folders, each folder may be for a certain department, each folder will only allow certain groups to access it.
willay
Moderator
Organiser: South East, National Events
Premium Member


Avatar

Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
18th Oct 12 at 21:48   View Garage View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Richie
Hyena / Dumpsec. Bit of tidying up afterwards - nothing too major.


Both look awesome, will look into it tomorrow and hopefully produce something
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
19th Oct 12 at 07:56   View Garage View User's Profile U2U Member Reply With Quote

Powershell/commandline it out into a csv is what I've done in the past.
willay
Moderator
Organiser: South East, National Events
Premium Member


Avatar

Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
19th Oct 12 at 09:53   View Garage View User's Profile U2U Member Reply With Quote

yeah but nigga dont know powershell syntax unless you want to do the work for me bro
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
19th Oct 12 at 10:35   View Garage View User's Profile U2U Member Reply With Quote

Powershell: take everything you know about scripting. And throw it out the window
willay
Moderator
Organiser: South East, National Events
Premium Member


Avatar

Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
19th Oct 12 at 10:37   View Garage View User's Profile U2U Member Reply With Quote

nice
VrsTurbo
Premium Member

Registered: 8th Jun 10
User status: Offline
19th Oct 12 at 17:01   View Garage View User's Profile U2U Member Reply With Quote

powershell is gay but im growing to it now ive just literally written this so IP address get applied automatically -

code:


$IP2=gc env:computername
$IP2=$IP2.substring(5,2)
$IP2
if ($IP2 -lt 10) {($IP2=$IP2.Substring(1,1))}
elseif ($IP2 -gt 09) {($IP2=$IP2.substring(5,2))}$IP3=gc env:computername
$IP3=$IP3.substring(7,2)
$IP3
if ($IP3 -lt 10) {($IP3=$IP3.Substring(1,1))}
elseif ($IP3 -gt 09) {($IP3=$IP3.substring(7,2))}
$IPFinal=gc env:computername
$IPFinal=$IPFinal.substring(10,3)


$IPAdd=[int]$ipfinal+240

Write-host "10.${IP2}.${IP3}.${IPADD}"
Write-host "10.${ip2}.${ip3}.100"
Write-host "10.120.6.60"



New-NetIPAddress -InterfaceAlias "WIFI" -IPaddress "10.${IP2}.${IP3}.${IPADD}" -PrefixLength 24 -DefaultGateway "15.${ip2}.${ip3}.1"
Set-DnsClientServerAddress -InterfaceAlias "WIFI" -ServerAddresses "10.10.10.10"
John
Member

Registered: 30th Jun 03
User status: Offline
19th Oct 12 at 17:29   View User's Profile U2U Member Reply With Quote

Why are you applying ip addresses with script instead of dhcp?
VrsTurbo
Premium Member

Registered: 8th Jun 10
User status: Offline
19th Oct 12 at 17:50   View Garage View User's Profile U2U Member Reply With Quote

Securing a network you wouldn't run dhcp. Plus the subnet is split for different devices/sites. 600 sites its not manageable over dhcp.
John
Member

Registered: 30th Jun 03
User status: Offline
19th Oct 12 at 17:53   View User's Profile U2U Member Reply With Quote

fair do's. I've got similar spread over a bit less than 600 sites, not enough PC's on each site to bother scripting it though, handy to know for future reference.

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Latest MSN version 6.1.0203??? Steve Geek Day 17 1428
8th Dec 03 at 09:35
by M2RTY
 
Folder permissions on shared windows servers... Houckham Geek Day 3 904
7th Jan 06 at 17:31
by Houckham
 
FTP permissions? Melville Geek Day 3 522
20th Jul 06 at 10:40
by Dan B
 
File permissions gooner_47 Geek Day 3 269
23rd Jun 07 at 17:00
by loafofbrett
 
Urgent question jrdn7 Snap Day 4 299
15th May 12 at 23:08
by jrdn7
 

Corsa Sport » Message Board » Off Day » Geek Day » AD Permissions audit 28 database queries in 0.0105951 seconds