Net::LDAP::RootDSE - An LDAP RootDSE object
my $dse = $ldap->root_dse(); # get naming Contexts my @contexts = $dse->get_value('namingContext'); # get supported LDAP versions as an array reference my $versions = $dse->get_value('supportedLDAPVersion', asref => 1);
get_value is identical to "get_value" in Net::LDAP::Entry
get_value
Returns true if the server supports all of the specified extension OIDs
Returns true if the server supports all of the specified feature OIDs
Returns true if the server supports all of the specified versions
Returns true if the server supports all of the specified control OIDs
Returns true if the server supports all of the specified SASL mechanism names
Net::LDAP, Net::LDAP::Entry
Chris Ridd <chris.ridd@isode.com>, Graham Barr <gbarr@pobox.com>.
Copyright (c) 2003-2004, Chris Ridd and Graham Barr. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::LDAP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::LDAP
CPAN shell
perl -MCPAN -e shell install Net::LDAP
For more information on module installation, please visit the detailed CPAN module installation guide.