---
name: "Net::LDAP::RootDSE"
section: "3pm"
platform: "linux"
package: "perl-ldap"
version: "0.68-8"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Net::LDAP::RootDSE"
---

# Net::LDAP::RootDSE(3pm)

An LDAP RootDSE object

## NAME

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

## SYNOPSIS

```
 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);
```

## DESCRIPTION

### Methods

- get\_value

  `"get_value"` is identical to "get\_value" in Net::LDAP::Entry

- supported\_extension ( OID\_LIST )

  Returns true if the server supports all of the specified extension OIDs

- supported\_feature ( OID\_LIST )

  Returns true if the server supports all of the specified feature OIDs

- supported\_version ( VERSION\_LIST )

  Returns true if the server supports all of the specified versions

- supported\_control ( OID\_LIST )

  Returns true if the server supports all of the specified control OIDs

- supported\_sasl\_mechanism ( SASL\_MECH\_LIST )

  Returns true if the server supports all of the specified SASL mechanism names

## SEE ALSO

Net::LDAP, Net::LDAP::Entry

## AUTHOR

Chris Ridd \<chris.ridd@isode.com\>, Graham Barr \<gbarr@pobox.com\>.

## COPYRIGHT

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.
