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
Guenther Deschner
2006-Feb-09 10:28 UTC
[Samba] net ads dn - reading netbootGUID attribute
Hi Roman, On Thu, Feb 09, 2006 at 11:01:25AM +0100, Roman Sommer wrote:> > 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.Ok, I fixed that in subversion (see http://build.samba.org/?function=diff;tree=samba_3_0;date=1139480667;author=gd;revision=13410) You might want to take a look at the adssearch.pl perl script which quickly allows you to work on decoding the various attributes without recompiling. Guenther -- G?nther Deschner GPG-ID: 8EE11688 Novell / SUSE LINUX gd@suse.de Samba Team gd@samba.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20060209/4fe01df9/attachment.bin
Maybe Matching Threads
- [Samba 4.5] Very slow LDAP Queries (almost unusable), performance tunning ?
- [Samba 4.5] Very slow LDAP Queries (almost unusable), performance tunning ?
- [Samba 4.5] Very slow LDAP Queries (almost unusable), performance tunning ?
- [Samba 4.5] Very slow LDAP Queries (almost unusable), performance tunning ?
- [Samba 4.5] Very slow LDAP Queries (almost unusable), performance tunning ?