RE: [ActiveDir] Script to find owner of home directory

2006-03-22 Thread Steve Rochford
:[EMAIL PROTECTED] On Behalf Of joeSent: 22 March 2006 02:00To: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Script to find owner of home directory This could prove troublesome, I would expect most of the home folders would have an owner of administrator. -- O'Reilly

RE: [ActiveDir] Script to find owner of home directory

2006-03-22 Thread joe
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 10:55 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Script to find owner of home directory This is an interesting topic. I am having loads of issues w/ different applications

Re: [ActiveDir] Script to find owner of home directory

2006-03-21 Thread matheesha weerasinghe
Why dont you ask NTFS instead of AD? Why not you use something like subinacl and query the folders of the owner? Assuming all folders that are valid have proper owners, I guess the invalid folders will have unresolvable SIDs or Administrator as the owner against them. M@ On 21/03/06, Steve

Re: [ActiveDir] Script to find owner of home directory

2006-03-21 Thread matheesha weerasinghe
Why dont you ask NTFS instead of AD? Why not you use something like subinacl and query the folders of the owner? Assuming all folders that are valid have proper owners, I guess the invalid folders will have unresolvable SIDs or Administrator as the owner against them. M@ On 21/03/06, Steve

RE: [ActiveDir] Script to find owner of home directory

2006-03-21 Thread Charlie Kaiser
W Stelley Sent: Tuesday, March 21, 2006 7:08 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Script to find owner of home directory Hey, that's pretty good! works nicely! I'm trying to put it all together with other tools, I can get a listing of all homedirectories easily

RE: [ActiveDir] Script to find owner of home directory

2006-03-21 Thread Charlie Kaiser
You'll need to escape the backslash characters with a \5c (without the quotes). Use this syntax: homedirectory=\5c\5ctconwl11\5chome\5c1973 Didn't try it with LDP, but it works with ADFind... ** Charlie Kaiser W2K3 MCSA/MCSE/Security, CCNA Systems Engineer Essex Credit /

RE: [ActiveDir] Script to find owner of home directory

2006-03-21 Thread Douglas W Stelley
Subject RE: [ActiveDir] Script to find owner of home directory You'll need to escape the backslash characters with a \5c (without the quotes). Use this syntax: homedirectory=\5c\5ctconwl11\5chome\5c1973 Didn't try it with LDP, but it works with ADFind... ** Charlie Kaiser

RE: [ActiveDir] Script to find owner of home directory

2006-03-21 Thread Steve Rochford
ject: Re: [ActiveDir] Script to find owner of home directory Why dont you ask NTFS instead of AD? Why not you use something like subinacl and query the folders of the owner? Assuming all folders that are valid have proper owners, I guess the invalid folders will have unresolvable SIDs or Admini

RE: [ActiveDir] Script to find owner of home directory

2006-03-21 Thread Steve Rochford
PROTECTED] On Behalf Of Charlie Kaiser Sent: 21 March 2006 14:45 To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Script to find owner of home directory You'll need to escape the backslash characters with a \5c (without the quotes). Use this syntax: homedirectory=\5c\5ctconwl11\5chome\5c1973

RE: [ActiveDir] Script to find owner of home directory

2006-03-21 Thread joe
1. When using slashes in a query you need to be careful of the characters following them. Officially you are supposed to specify all slashes that are part of a query as \5c. However a lot of the times you can skip that, except if the slash is followed by a valid HEX character 0-9 and A-F. What

RE: [ActiveDir] Script to find owner of home directory

2006-03-21 Thread joe
, March 21, 2006 5:43 AMTo: ActiveDir@mail.activedir.orgSubject: Re: [ActiveDir] Script to find owner of home directory Why dont you ask NTFS instead of AD? Why not you use something like subinacl and query the folders of the owner? Assuming all folders that are valid have proper owners, I

RE: [ActiveDir] Script to find owner of home directory

2006-03-21 Thread Marcus.Oh
: Tuesday, March 21, 2006 8:59 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Script to find owner of home directory 1. When using slashes in a query you need to be careful of the characters following them. Officially you are supposed to specify all slashes that are part of a query as \5c