[SAMBA4] Help needed: Would someone like to implement parentGUID?

Andrew Bartlett abartlet at samba.org
Thu Mar 12 03:09:16 GMT 2009


On Thu, 2009-03-12 at 12:18 +1100, Andrew Bartlett wrote:
> Recently I've been asked to implement parentGUID support in Samba4.
> This is a new feature in Windows 2008, and one that I've had indicated
> some tools are starting to query.
> 
> In short, this is the objectGUID of the parent record, and could easily
> be added in the 'objectclass' ldb module - for example in
> objectclass_do_add() just after we call fix_dn().  (We have just
> searched for the parent, so including it's objectGUID in that search
> should be trivial). 
> 
> Later work should ensure we update this on a rename:
> objectclass_do_rename() should do an extra step (with another callback)
> to make a modify as well as the rename.
> 
> I could knock this up myself, but I realised that this is perhaps an
> easy introductory exercise in Samba4 development, and wondered if
> someone would like to take it on?
> 
> Thanks,  
> 
> See also:
> http://msdn.microsoft.com/en-us/library/cc221277(PROT.13).aspx

Also see MS-ADTS 3.1.1.4.5.28:
      parentGUID
  This attribute is not present on an object that is the root of an NC.
For all other objects, let TO be
  the object from which the parentGUID attribute is being read and let
TP be TO!parent.
  TO!parentGUID is equal to TP!objectGUID.

Andrew Bartlett
-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20090312/3c6dab67/attachment.bin


More information about the samba-technical mailing list