NAME

Connector::Proxy::Net::LDAP::DN

DESCRIPTION

The class is designed to find and return the dn of matching records. It is possible to delete entries from the repository using the set method.

see Connector::Proxy::Net::LDAP for basic configuration options

accessor methods

get

Not supported.

get_list

Return the list of DNs, that match the filter (configuration + path value).

get_size

Return the number of entries in the list of get_list.

get_hash / get_keys

Not supported.

set

This method can be used to remove entire nodes from the ldap repository. For security reasons, you can remove only entries that are matched by the filter. To remove an entry, use the same path as used with get_list, pass undef as value and pass the DN to delete with the pkey attribute.

$conn->set('John*', undef, { pkey => 'cn=John Doe,ou=people...'})