Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
edvler authored Mar 10, 2017
1 parent beb0017 commit 9a4a5fe
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Add this code in your components section of the application configuration (eg. c
```php
'components' => [
//.....
//.....
// other components ...
//.....
'ad' => [
'class' => 'Edvlerblog\Adldap2\Adldap2Wrapper',
Expand All @@ -52,7 +52,7 @@ Add this code in your components section of the application configuration (eg. c
* Setting a default connection
*
*/
//'defaultProvider' => 'another_provider',
// 'defaultProvider' => 'another_provider',

/*
* Adlapd2 v7.X.X can handle multiple providers to different Active Directory sources.
Expand Down Expand Up @@ -108,6 +108,11 @@ Add this code in your components section of the application configuration (eg. c
// Connect this provider on initialisation of the LdapWrapper Class automatically
'autoconnect' => false,

// The provider's schema. Default is \Adldap\Schemas\ActiveDirectory set in https://github.com/Adldap2/Adldap2/blob/master/src/Connections/Provider.php#L112
// You can make your own https://github.com/Adldap2/Adldap2/blob/master/docs/schema.md or use one from https://github.com/Adldap2/Adldap2/tree/master/src/Schemas
// Example to set it to OpenLDAP:
// 'schema' => new \Adldap\Schemas\OpenLDAP(),

// The config has to be defined as described in the Adldap2 documentation.
// https://github.com/Adldap2/Adldap2/blob/master/docs/configuration.md
'config' => [
Expand Down

0 comments on commit 9a4a5fe

Please sign in to comment.