[Samba] net ads dn - reading netbootGUID attribute

Roman Sommer roman.sommer at gmail.com
Thu Feb 9 10:01:25 GMT 2006


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba/attachments/20060209/05ba7674/signature.bin


More information about the samba mailing list