Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Why is there no converting function available in Net::LDAPto deal with GUID values from AD?

38 views
Skip to first unread message

Achim Grolms

unread,
Jan 18, 2013, 3:41:15 PM1/18/13
to perl...@perl.org
Hi,

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?

Best Regards,
Achim

Peter Marschall

unread,
Jan 19, 2013, 10:37:06 AM1/19/13
to perl...@perl.org
Hi,
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

Achim Grolms

unread,
Jan 20, 2013, 9:12:46 AM1/20/13
to perl...@perl.org
On Saturday 19 January 2013, Peter Marschall wrote:

> 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.

OK, got it.

Best Regards,
Achim
0 new messages