Net::LDAP::RootDSE(3) User Contributed Perl Documentation Net::LDAP::RootDSE(3)

Net::LDAP::RootDSE - An LDAP RootDSE object

my $dse = $ldap->root_dse();
# get naming Contexts
my @contexts = $dse->get_value('namingContexts');
# 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
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.

2024-09-01 perl v5.40.0