Technical Overview: Form Storage -- LDAP
From IHRIS Wiki
Form Storage Options
The options specifying a LDAP storage for $form are stored at:
/modules/forms/forms/$form/storage_options/LDAP
It has the following structure:
- connect: required parent node which contains connection information to the ldap server
- port: Optional scalar node. The port to connect to. Defaults to 389.
- host: Optional scalar node. The server to connect to. Defaults to localhost.
- user: Optional scalar node. The user node to bind on. Defaults to admin.
- pass: Required scalar node. The password user to bind the user with.
- bind_dn: Optional scalar node. DN to bind to. Defaults to 'dc=localhost' Results in a bind query of the form "cn=$user,$bind_dn"
- query: Required parent node containing the queries needed
- get_ids: Required parent node. The query used to get the ids