Skip to content

Instantly share code, notes, and snippets.

@rbnor
Last active October 23, 2019 10:07
Show Gist options
  • Save rbnor/0aa45fcf5a3b9ac63b89a8a3fd772b22 to your computer and use it in GitHub Desktop.
Save rbnor/0aa45fcf5a3b9ac63b89a8a3fd772b22 to your computer and use it in GitHub Desktop.
'ApacheSecureAuth' =>
array (
'apacheEnv' => 'PHP_AUTH_USER',
'ldapServer' => 'ldap://yourdomain',
'ldapProtocol' => 3,
'ldapReaderUser' => 'CN=ldapuseriwthreaderrights,OU=your_OU(s if several),DC=domain1,DC=domain2',
'ldapReaderPassword' => 'reader password',
'ldapDN' => 'DC=domainpart1,DC=domainpart2',
'ldapSearchAttribut' => 'sAMAccountName',
'ldapDefaultRoleId' => 1,
'ldapDefaultOrg' => '1',
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment