\Horde_Ldap_RootDse

Getting the rootDSE entry of a LDAP server.

Copyright 2009 Jan Wagner Copyright 2010-2017 Horde LLC (http://www.horde.org/)

Summary

Methods
Properties
Constants
__construct()
getValue()
supportedExtension()
supportedVersion()
supportedControl()
supportedSASLMechanism()
serialize()
unserialize()
No public properties found
No constants found
_checkAttr()
$_entry
N/A
No private methods found
No private properties found
N/A

Properties

$_entry

$_entry : object

Type

object — Horde_Ldap_Entry

Methods

__construct()

__construct(\Horde_Ldap  $ldap, array  $attrs = null) 

Constructor.

Fetches a RootDSE object from an LDAP connection.

Parameters

\Horde_Ldap $ldap

Directory from which the RootDSE should be fetched.

array $attrs

Array of attributes to search for.

Throws

\Horde_Ldap_Exception

getValue()

getValue(string  $attr, array  $options = '') : string|array

Returns the requested attribute value.

Parameters

string $attr

Attribute name.

array $options

Array of options.

Throws

\Horde_Ldap_Exception

Returns

string|array —

Attribute value(s).

supportedExtension()

supportedExtension(array  $oids) : boolean

Determines if the extension is supported.

Parameters

array $oids

Array of OIDs to check.

Returns

boolean

supportedVersion()

supportedVersion(array  $versions) : boolean

Determines if the version is supported.

Parameters

array $versions

Versions to check.

Returns

boolean

supportedControl()

supportedControl(array  $oids) : boolean

Determines if the control is supported.

Parameters

array $oids

Control OIDs to check.

Returns

boolean

supportedSASLMechanism()

supportedSASLMechanism(array  $mechlist) : boolean

Determines if the sasl mechanism is supported.

Parameters

array $mechlist

SASL mechanisms to check.

Returns

boolean

serialize()

serialize() 

unserialize()

unserialize(  $serialized) 

Parameters

$serialized

_checkAttr()

_checkAttr(array  $values, string  $attr) : boolean

Checks for existance of value in attribute.

Parameters

array $values

Values to check.

string $attr

Attribute name.

Returns

boolean