A module for performing JNDI queries against Directories, returning XML representations of the results.
Closes a JNDI Context
$directory-context | The directory context handle from a jndi:get-dir-context() call |
Create a JNDI Directory entry.
$directory-context | The directory context handle from a jndi:get-dir-context() call |
$dn | The Distinguished Name |
$attributes | The entry attributes to be set in the form <attributes><attribute name="" value=""/></attributes>. You can also optionally specify ordered="true" for an attribute. |
Delete a JNDI Directory entry.
$directory-context | The directory context handle from a jndi:get-dir-context() call |
$dn | The Distinguished Name |
Opens a JNDI Directory Context.
$properties? | The JNDI Directory Context environment properties to be set in the form <properties><property name="" value=""/></properties>. |
Modify a JNDI Directory entry.
$directory-context | The directory context handle from a jndi:get-dir-context() call |
$dn | The Distinguished Name |
$attributes | The entry attributes to be set in the form <attributes><attribute name="" value="" operation="add | replace | remove"/></attributes>. You can also optionally specify ordered="true" for an attribute. |
Rename a JNDI Directory entry.
$directory-context | The directory context handle from a jndi:get-dir-context() call |
$old-dn | The Distinguished Name to rename |
$new-dn | The new Distinguished Name |
Searches a JNDI Directory by attributes.
$directory-context | The directory context handle from a jndi:get-dir-context() call |
$dn | The Distinguished Name |
$search-attributes | The search attributes in the form <attributes><attribute name="" value=""/></attributes>. |
Searches a JNDI Directory by filter.
$directory-context | The directory context handle from a jndi:get-dir-context() call |
$dn | The Distinguished Name |
$filter | The filter. The format and interpretation of filter follows RFC 2254 with the following interpretations for 'attr' and 'value' mentioned in the RFC. 'attr' is the attribute's identifier. 'value' is the string represention the attribute's value. The translation of this string representation into the attribute's value is directory-specific. |
$scope | The scope, which has a value of 'object', 'onelevel' or 'subtree' |