Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. require_once ('extensions/LdapAuthentication/LdapAuthentication.php');
  2. require_once ('extensions/LdapAuthentication/LdapAutoAuthentication.php');
  3. $wgAuth = new LdapAuthenticationPlugin();
  4. $wgLDAPDomainNames = array('openldap_example_com');
  5. $wgLDAPServerNames = array('openldap_example_com' => 'localhost');
  6. $wgLDAPUseLocal = false;
  7. $wgLDAPEncryptionType = array('openldap_example_com' => 'clear');
  8. $wgLDAPPort = array('openldap_example_com' => 389);
  9.  
  10. $wgLDAPGroupBaseDNs = array('openldap_example_com' => 'ou=Groups,dc=mydomain,dc=com');
  11. $wgLDAPSearchStrings = array('openldap_example_com' => 'uid=USER-NAME,ou=People,dc=mydomain,dc=com');
  12. $wgLDAPBaseDNs = array('openldap_example_com' => 'dc=mydomain,dc=com');
  13. $wgLDAPGroupUseFullDN = array('openldap_example_com' => true);
  14. $wgLDAPDebug = 1;
  15. $wgDebugLogGroups['ldap'] = '/tmp/debug.log';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement