RE: [ActiveDir] dsHeuristics and list object access mode

2005-12-15 Thread Grillenmeier, Guido



right - thanks for the clarification 
Dean


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Dean 
WellsSent: Donnerstag, 15. Dezember 2005 03:18To: Send - 
AD mailing listSubject: RE: [ActiveDir] dsHeuristics and list object 
access mode

To 
clarify, note the syntax of dsHeuristics (Unicode string) ... it requires 
that you enter a sequence of characters (bytes not bits ... nor the decimal 
representation of those bits), e.g. - 01000.
--Dean WellsMSEtechnology* Email: dwells@msetechnology.comhttp://msetechnology.com
 


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Grillenmeier, 
GuidoSent: Wednesday, December 14, 2005 2:40 PMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] dsHeuristics and 
list object access mode

The DSheuristics setting activates or de-activates the 
List Object permission, not the List Content permission - however, you have to 
use both in conjunction to reach most goals in respect to hiding data in AD. 
I've created this table for other stuff I'm 
working on to clarify the confusion a bit. 
 
(btw, the first two bits 
of this setting are also important, but not for permissioning - they control 
name resolution during AD searches.)
 
/Guido
 
 


  
  

  Granted Permissions on…

  Result
  

  Organizational Unit

  Child Objects
  
  

  List Contents and List Object

  N/A

  The 
  List Object permission on the OU makes the OU visible. As List Contents is 
  also granted to the OU, this will take precedence over any missing List 
  Object permissions for child objects and AD will automatically list all 
  objects in the container. 
  A 
  delegated administrator can browse to the OU and all child objects with 
  ADUC.
  An 
  LDAP Query for all objects will return OU and ALL child 
  objects.
  

  List Object
  (List Contents not granted or 
denied)

  List Object

  The 
  List Object permission on the OU makes the OU visible. If List Contents is 
  not granted or if it is denied AND if List Object is granted to the 
  container object (OU), AD will evaluate the List Object permission for the 
  child objects and only list those, where the List Object (or Read) 
  permission has been granted.
  A 
  delegated administrator can browse to the OU with ADUC and selected child 
  objects.
  An 
  LDAP Query for all objects will return OU and only those child objects, 
  where List Object permissions have been 
granted
  

  List Contents
  (List Object not granted or denied)

  N/A

  The 
  OU will NOT be visible. As List Contents is granted to the OU, this will 
  take precedence over any missing List Object permissions for child objects 
  and AD will automatically list all objects in the container. 
  
  A 
  delegated administrator cannot browse to the OU or child objects in 
  ADUC.
  An 
  LDAP Query for all objects will NOT return the OU object, but ALL of its 
  child objects.
  

  Neither List Contents nor List Object is granted 
  

  N/A

  The 
  OU will NOT be visible. As neither List Contents nor List Object is 
  granted to the container object (OU), AD will NOT evaluate any permission 
  of the child objects.
  A 
  delegated administrator cannot browse to the OU or child objects in 
  ADUC.
  An 
  LDAP Query for all objects will NOT return the OU or any of its child 
  objects.
 


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of PAUL 
MAYESSent: Mittwoch, 14. Dezember 2005 16:07To: 
ActiveDir@mail.activedir.orgSubject: [ActiveDir] dsHeuristics and 
list object access mode


dsHeuristics can be used to control whether the 'list 
contents' ACE has an affect. So if the attribute is set to 001 then this means 
that if you haven't got list contents permission on a container then you can't 
see what's under it. Whereas if dsHeuristics is the equivalent of 000 then list 
contents doesn't matter so much and you can see what's under a container without 
explicit list contents rights just as an authenticated user.
 
At least this is what I've finally arrived at by reading different 
contradictary sources. I'm still a bit sceptical by all of this, indeed I reckon 
that somewhere along the various cut and paste jobs someone has got totally the 
wrong idea. So this has all started me off doing some 
experimenting.
 
No matter what state the dsHeuristics attribute is set to , 
000 or 001. (
 
So I'm looking for some clarification from practical experience as I no 
longer believe the spin that says you need to set dsHeuristics to 001 (or full 
001000. equivalent) to be able to effectively use or remove the 'list 
contents' perm

RE: [ActiveDir] dsHeuristics and list object access mode

2005-12-14 Thread Dean Wells



To 
clarify, note the syntax of dsHeuristics (Unicode string) ... it requires 
that you enter a sequence of characters (bytes not bits ... nor the decimal 
representation of those bits), e.g. - 01000.
--Dean WellsMSEtechnology* Email: dwells@msetechnology.comhttp://msetechnology.com
 


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Grillenmeier, 
GuidoSent: Wednesday, December 14, 2005 2:40 PMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] dsHeuristics and 
list object access mode

The DSheuristics setting activates or de-activates the 
List Object permission, not the List Content permission - however, you have to 
use both in conjunction to reach most goals in respect to hiding data in AD. 
I've created this table for other stuff I'm 
working on to clarify the confusion a bit. 
 
(btw, the first two bits 
of this setting are also important, but not for permissioning - they control 
name resolution during AD searches.)
 
/Guido
 
 


  
  

  Granted Permissions on…

  Result
  

  Organizational Unit

  Child Objects
  
  

  List Contents and List Object

  N/A

  The 
  List Object permission on the OU makes the OU visible. As List Contents is 
  also granted to the OU, this will take precedence over any missing List 
  Object permissions for child objects and AD will automatically list all 
  objects in the container. 
  A 
  delegated administrator can browse to the OU and all child objects with 
  ADUC.
  An 
  LDAP Query for all objects will return OU and ALL child 
  objects.
  

  List Object
  (List Contents not granted or 
denied)

  List Object

  The 
  List Object permission on the OU makes the OU visible. If List Contents is 
  not granted or if it is denied AND if List Object is granted to the 
  container object (OU), AD will evaluate the List Object permission for the 
  child objects and only list those, where the List Object (or Read) 
  permission has been granted.
  A 
  delegated administrator can browse to the OU with ADUC and selected child 
  objects.
  An 
  LDAP Query for all objects will return OU and only those child objects, 
  where List Object permissions have been 
granted
  

  List Contents
  (List Object not granted or denied)

  N/A

  The 
  OU will NOT be visible. As List Contents is granted to the OU, this will 
  take precedence over any missing List Object permissions for child objects 
  and AD will automatically list all objects in the container. 
  
  A 
  delegated administrator cannot browse to the OU or child objects in 
  ADUC.
  An 
  LDAP Query for all objects will NOT return the OU object, but ALL of its 
  child objects.
  

  Neither List Contents nor List Object is granted 
  

  N/A

  The 
  OU will NOT be visible. As neither List Contents nor List Object is 
  granted to the container object (OU), AD will NOT evaluate any permission 
  of the child objects.
  A 
  delegated administrator cannot browse to the OU or child objects in 
  ADUC.
  An 
  LDAP Query for all objects will NOT return the OU or any of its child 
  objects.
 


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of PAUL 
MAYESSent: Mittwoch, 14. Dezember 2005 16:07To: 
ActiveDir@mail.activedir.orgSubject: [ActiveDir] dsHeuristics and 
list object access mode


dsHeuristics can be used to control whether the 'list 
contents' ACE has an affect. So if the attribute is set to 001 then this means 
that if you haven't got list contents permission on a container then you can't 
see what's under it. Whereas if dsHeuristics is the equivalent of 000 then list 
contents doesn't matter so much and you can see what's under a container without 
explicit list contents rights just as an authenticated user.
 
At least this is what I've finally arrived at by reading different 
contradictary sources. I'm still a bit sceptical by all of this, indeed I reckon 
that somewhere along the various cut and paste jobs someone has got totally the 
wrong idea. So this has all started me off doing some 
experimenting.
 
No matter what state the dsHeuristics attribute is set to , 
000 or 001. (
 
So I'm looking for some clarification from practical experience as I no 
longer believe the spin that says you need to set dsHeuristics to 001 (or full 
001000. equivalent) to be able to effectively use or remove the 'list 
contents' permission. 
 
Does list object access mode work irrespective of the third bit of the 
dsHeuristics value for other people?
 
If it makes no difference, as I'm seeing, what does that value actually do 
as it doesn't seem to tie up with what some pe

RE: [ActiveDir] dsHeuristics and list object access mode

2005-12-14 Thread Grillenmeier, Guido



The DSheuristics setting activates or de-activates the 
List Object permission, not the List Content permission - however, you have to 
use both in conjunction to reach most goals in respect to hiding data in AD. 
I've created this table for other stuff I'm 
working on to clarify the confusion a bit. 
 
(btw, the first two bits 
of this setting are also important, but not for permissioning - they control 
name resolution during AD searches.)
 
/Guido
 
 


  
  

  Granted Permissions on…

  Result
  

  Organizational Unit

  Child Objects
  
  

  List Contents and List Object

  N/A

  The 
  List Object permission on the OU makes the OU visible. As List Contents is 
  also granted to the OU, this will take precedence over any missing List 
  Object permissions for child objects and AD will automatically list all 
  objects in the container. 
  A 
  delegated administrator can browse to the OU and all child objects with 
  ADUC.
  An 
  LDAP Query for all objects will return OU and ALL child 
  objects.
  

  List Object
  (List Contents not granted or 
denied)

  List Object

  The 
  List Object permission on the OU makes the OU visible. If List Contents is 
  not granted or if it is denied AND if List Object is granted to the 
  container object (OU), AD will evaluate the List Object permission for the 
  child objects and only list those, where the List Object (or Read) 
  permission has been granted.
  A 
  delegated administrator can browse to the OU with ADUC and selected child 
  objects.
  An 
  LDAP Query for all objects will return OU and only those child objects, 
  where List Object permissions have been 
granted
  

  List Contents
  (List Object not granted or denied)

  N/A

  The 
  OU will NOT be visible. As List Contents is granted to the OU, this will 
  take precedence over any missing List Object permissions for child objects 
  and AD will automatically list all objects in the container. 
  
  A 
  delegated administrator cannot browse to the OU or child objects in 
  ADUC.
  An 
  LDAP Query for all objects will NOT return the OU object, but ALL of its 
  child objects.
  

  Neither List Contents nor List Object is granted 
  

  N/A

  The 
  OU will NOT be visible. As neither List Contents nor List Object is 
  granted to the container object (OU), AD will NOT evaluate any permission 
  of the child objects.
  A 
  delegated administrator cannot browse to the OU or child objects in 
  ADUC.
  An 
  LDAP Query for all objects will NOT return the OU or any of its child 
  objects.
 


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of PAUL 
MAYESSent: Mittwoch, 14. Dezember 2005 16:07To: 
ActiveDir@mail.activedir.orgSubject: [ActiveDir] dsHeuristics and 
list object access mode


dsHeuristics can be used to control whether the 'list 
contents' ACE has an affect. So if the attribute is set to 001 then this means 
that if you haven't got list contents permission on a container then you can't 
see what's under it. Whereas if dsHeuristics is the equivalent of 000 then list 
contents doesn't matter so much and you can see what's under a container without 
explicit list contents rights just as an authenticated user.
 
At least this is what I've finally arrived at by reading different 
contradictary sources. I'm still a bit sceptical by all of this, indeed I reckon 
that somewhere along the various cut and paste jobs someone has got totally the 
wrong idea. So this has all started me off doing some 
experimenting.
 
No matter what state the dsHeuristics attribute is set to , 
000 or 001. (
 
So I'm looking for some clarification from practical experience as I no 
longer believe the spin that says you need to set dsHeuristics to 001 (or full 
001000. equivalent) to be able to effectively use or remove the 'list 
contents' permission. 
 
Does list object access mode work irrespective of the third bit of the 
dsHeuristics value for other people?
 
If it makes no difference, as I'm seeing, what does that value actually do 
as it doesn't seem to tie up with what some people are claiming?
 
fast environment facts:
Win2003 Ent SP1
Win2003 domain func
Win2000 forest func
dsHeuristics value fiddled with on cn=Directory Service,cn=Windows 
NT,cn=Services,cn=Configuration, ...
 
 


RE: [ActiveDir] dsHeuristics and list object access mode

2005-12-14 Thread PAUL MAYES
  Aha. It is down to shoddy cut and pastes then. Sorted.     >The 3rd bit controls the "list object" behaviour not "list contents". The former is only >available to use in an ACE if the 3rd bit is set to 1. If it's set to 0 or "not set" then >"list contents" is available but not "list object".  >  >This article explains further.  >http://www.windowsitpro.com/Article/ArticleID/46572/46572.html  >  >neil  >PS I tested this quickly and it works as described above.

RE: [ActiveDir] dsHeuristics and list object access mode

2005-12-14 Thread Almeida Pinto, Jorge de
have you seen the following:
http://www.windowsitlibrary.com/Content/667/04/2.html
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ad/ad/controlling_object_visibility.asp
also look at: http://www.kimberry.co.uk/Downloads/Index.aspx --> "Implementing 
Server Security focusing on Active Directory® - Active Directory® Security and 
Delegated Administration" That presentation also talks about list object mode
 
cheers,
Jorge
 

 


From: [EMAIL PROTECTED] on behalf of PAUL MAYES
Sent: Wed 12/14/2005 4:07 PM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] dsHeuristics and list object access mode


dsHeuristics can be used to control whether the 'list contents' ACE has an 
affect. So if the attribute is set to 001 then this means that if you haven't 
got list contents permission on a container then you can't see what's under it. 
Whereas if dsHeuristics is the equivalent of 000 then list contents doesn't 
matter so much and you can see what's under a container without explicit list 
contents rights just as an authenticated user.
 
At least this is what I've finally arrived at by reading different 
contradictary sources. I'm still a bit sceptical by all of this, indeed I 
reckon that somewhere along the various cut and paste jobs someone has got 
totally the wrong idea. So this has all started me off doing some 
experimenting.
 
No matter what state the dsHeuristics attribute is set to , 000 or 
001. (<>

RE: [ActiveDir] dsHeuristics and list object access mode

2005-12-14 Thread neil.ruston



The 3rd bit controls the "list object" behaviour not 
"list contents". The former is only available to use in an ACE if the 3rd bit is 
set to 1. If it's set to 0 or "not set" then "list contents" is available but 
not "list object".
 
This article explains further.
http://www.windowsitpro.com/Article/ArticleID/46572/46572.html
 
neil
PS I 
tested this quickly and it works as described 
above.


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of PAUL 
MAYESSent: 14 December 2005 15:07To: 
ActiveDir@mail.activedir.orgSubject: [ActiveDir] dsHeuristics and 
list object access mode


dsHeuristics can be used to control whether the 'list 
contents' ACE has an affect. So if the attribute is set to 001 then this means 
that if you haven't got list contents permission on a container then you can't 
see what's under it. Whereas if dsHeuristics is the equivalent of 000 then list 
contents doesn't matter so much and you can see what's under a container without 
explicit list contents rights just as an authenticated user.
 
At least this is what I've finally arrived at by reading different 
contradictary sources. I'm still a bit sceptical by all of this, indeed I reckon 
that somewhere along the various cut and paste jobs someone has got totally the 
wrong idea. So this has all started me off doing some 
experimenting.
 
No matter what state the dsHeuristics attribute is set to , 
000 or 001. (
 
So I'm looking for some clarification from practical experience as I no 
longer believe the spin that says you need to set dsHeuristics to 001 (or full 
001000. equivalent) to be able to effectively use or remove the 'list 
contents' permission. 
 
Does list object access mode work irrespective of the third bit of the 
dsHeuristics value for other people?
 
If it makes no difference, as I'm seeing, what does that value actually do 
as it doesn't seem to tie up with what some people are claiming?
 
fast environment facts:
Win2003 Ent SP1
Win2003 domain func
Win2000 forest func
dsHeuristics value fiddled with on cn=Directory Service,cn=Windows 
NT,cn=Services,cn=Configuration, ...
 
 PLEASE READ: The information contained in this email is confidential and

intended for the named recipient(s) only. If you are not an intended

recipient of this email please notify the sender immediately and delete your

copy from your system. You must not copy, distribute or take any further

action in reliance on it. Email is not a secure method of communication and

Nomura International plc ('NIplc') will not, to the extent permitted by law,

accept responsibility or liability for (a) the accuracy or completeness of,

or (b) the presence of any virus, worm or similar malicious or disabling

code in, this message or any attachment(s) to it. If verification of this

email is sought then please request a hard copy. Unless otherwise stated

this email: (1) is not, and should not be treated or relied upon as,

investment research; (2) contains views or opinions that are solely those of

the author and do not necessarily represent those of NIplc; (3) is intended

for informational purposes only and is not a recommendation, solicitation or

offer to buy or sell securities or related financial instruments.  NIplc

does not provide investment services to private customers.  Authorised and

regulated by the Financial Services Authority.  Registered in England

no. 1550505 VAT No. 447 2492 35.  Registered Office: 1 St Martin's-le-Grand,

London, EC1A 4NP.  A member of the Nomura group of companies.





[ActiveDir] dsHeuristics and list object access mode

2005-12-14 Thread PAUL MAYES
  dsHeuristics can be used to control whether the 'list contents' ACE has an affect. So if the attribute is set to 001 then this means that if you haven't got list contents permission on a container then you can't see what's under it. Whereas if dsHeuristics is the equivalent of 000 then list contents doesn't matter so much and you can see what's under a container without explicit list contents rights just as an authenticated user.     At least this is what I've finally arrived at by reading different contradictary sources. I'm still a bit sceptical by all of this, indeed I reckon that somewhere along the various cut and paste jobs someone has got totally the wrong idea. So this has all started me off doing some experimenting.     No matter what state the dsHeuristics attribute is set to , 000 or 001. (     So I'm looking for some clarification from practical experience as I no longer believe the spin that says you need to set dsHeuristics to 001 (or full 001000. equivalent) to be able to effectively use or remove the 'list contents' permission.      Does list object access mode work irrespective of the third bit of the dsHeuristics value for other people?     If it makes no difference, as I'm seeing, what does that value actually do as it doesn't seem to tie up with what some people are claiming?     fast environment facts:  Win2003 Ent SP1  Win2003 domain func  Win2000 forest func  dsHeuristics value fiddled with on cn=Directory
 Service,cn=Windows NT,cn=Services,cn=Configuration, ...