Hi, On Friday, 18. January 2013, Achim Grolms wrote: > I'm using Net::LDAP to read information from > a Microsoft Windows AD-Server by LDAP. > > On of the attributes is the "objectGUID", a binary value > that's often used in AD context. > <http://msdn.microsoft.com/de-de/library/windows/desktop/ms679021%28v=vs.85 > %29.aspx> > > Google has shown me solutions how I can work > with this "objectGUID", for example > <http://www.perlmonks.org/?node_id=897883>. > > But why is there no converting "helper-function" available in > Net::LDAP to deal with GUID values from AD?
perl-ldap tries to concentrate on LDAP and LDAP specific topics Decoding individual attribute syntaxes is not considered the main objective of perl-ldap. Otherwise it would need to provide decoding functions for certificates, CRLs, JPEG photos, ... . This also applies to GUID values from AD. For most of those attribute typess there are Perl modules available that do a really good job. Did you check with CPAN? http://search.cpan.org/search?query=GUID If none of them suits your needs, you can always take the code you found on the web. Best Peter -- Peter Marschall pe...@adpm.de