enabled = $enabled; $this->lib_ug = $lib_ug; $this->lib_ag = $lib_ag; $this->principal = $principal; $this->credential = $credential; $this->repository_uri = $repository_uri; $this->user_dn = $user_dn; $this->group_dn = $group_dn; $this->domain = $domain; } }; if($_SERVER[REQUEST_METHOD]=='POST') { $returnMessage = $_REQUEST['returnMessage']; $errorCode = $_REQUEST['errorCode']; $displayMessage = $_REQUEST['Message']; } // get current LDAP configuration $ldap = get_ldap($user); error_log(print_r($ldap, true)); $ldapDomains = get_ldap_domains($user); error_log( "ldapDomains = ". print_r($ldapDomains, true) ); if ($ldap->enabled == 1) { $state = "Enabled"; $ldap_on = ""; $ldap_off = "div-hide"; } else { $state = "Disabled"; $ldap_on = "div-hide"; $ldap_off = ""; } ?> LDAP Configuration
LDAP Authentication Settings
0){ ?>
Error Message Image Error Message

Error code:
Informational Message Image

Operation complete



It is highly recommended that the library's configuration is saved to an external file after each configuration change. This can be done from the Save/Restore Configuration page.

Close Message


General:
LDAP Authentication: Enabled Disabled Enabled Disabled


Repository URI: Example: ldap://hostname:389
Group DN: Example: cn=groups,ou=system
User DN: Example: cn=users,ou=system
Default Domain: Example: domain.com

Authentication:
Principal: Example: administrator@domain
Credential:
Confirm credential:

Groups:
User Group:
Administrator Group: