hello everyone,

I can read *any* attribute I want out of the Active Directory using 'net
ads dn'.. except for one - which of course is the (only) one I need.

netbootGUID. It is stored in an octet string as is objectGUID and
objectSid which I can read properly.

example:
net ads dn 'cn=host1,cn=computers,dc=example,dc=tld' objectSid
Got 1 replies
objectSid: S-1-5-21-1357569919-2303237353-776511975-1113

net ads dn 'cn=host1,cn=computers,dc=example,dc=tld' objectGUID
Got 1 replies
objectGUID: 07770174-c7b8-40ed-992e-5fed2ee09bab

net ads dn 'cn=host1,cn=computers,dc=example,dc=tld' netbootGUID
Got 1 replies
netbootGUID: ________a

net -V
Version 3.0.21a

there are solutions for windows available here..
http://support.microsoft.com/default.aspx?scid=kb;en-us;302514
http://support.microsoft.com/default.aspx?scid=kb;en-us;301920
but of course I don't have the adsi API within linux :|

can someone please shed some light on this?
ldapsearch doesn't get any further either.
--> netbootGUID:: Vk25Z+L/bar9q3BndZLrYQ==
and if I try to compare any netbootGUID to the string above I get 0 results.

--
Roman Sommer


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to