Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require_once ('extensions/LdapAuthentication/LdapAuthentication.php');
- require_once ('extensions/LdapAuthentication/LdapAutoAuthentication.php');
- $wgAuth = new LdapAuthenticationPlugin();
- $wgLDAPDomainNames = array('openldap_example_com');
- $wgLDAPServerNames = array('openldap_example_com' => 'localhost');
- $wgLDAPUseLocal = false;
- $wgLDAPEncryptionType = array('openldap_example_com' => 'clear');
- $wgLDAPPort = array('openldap_example_com' => 389);
- $wgLDAPGroupBaseDNs = array('openldap_example_com' => 'ou=Groups,dc=mydomain,dc=com');
- $wgLDAPSearchStrings = array('openldap_example_com' => 'uid=USER-NAME,ou=People,dc=mydomain,dc=com');
- $wgLDAPBaseDNs = array('openldap_example_com' => 'dc=mydomain,dc=com');
- $wgLDAPGroupUseFullDN = array('openldap_example_com' => true);
- $wgLDAPDebug = 1;
- $wgDebugLogGroups['ldap'] = '/tmp/debug.log';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement