| 1 |
;Configuration file for using multiple authentication providers. |
|---|
| 2 |
;See the samples included, which are basically using |
|---|
| 3 |
;the authentication values normally found in config.php |
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
[ldap_host_1] |
|---|
| 7 |
; Authentication type |
|---|
| 8 |
auth = ldap |
|---|
| 9 |
; LDAP host |
|---|
| 10 |
ldap_host = localhost |
|---|
| 11 |
; LDAP port |
|---|
| 12 |
ldap_port = 389 |
|---|
| 13 |
; Base DN |
|---|
| 14 |
ldap_basedn = "dc=curverider,dc=co,dc=uk" |
|---|
| 15 |
; Bind as |
|---|
| 16 |
ldap_bind_dn = "cn=admin,dc=curverider,dc=co,dc=uk" |
|---|
| 17 |
; Password for non anonymous bind |
|---|
| 18 |
ldap_bind_pwd = secret |
|---|
| 19 |
; Protocol version |
|---|
| 20 |
ldap_protocol_version = 3 |
|---|
| 21 |
; Filter for username, common are cn or uid |
|---|
| 22 |
ldap_filter_attr = uid |
|---|
| 23 |
; Search attibutes |
|---|
| 24 |
ldap_search_attr = dn,ou,mail; |
|---|
| 25 |
; Create user, relies on the givenname, sn, and email attributes for now |
|---|
| 26 |
ldap_user_create = true |
|---|
| 27 |
; Fallback option, try internal authentication if everything fails |
|---|
| 28 |
ldap_internal_fallback = false |
|---|
| 29 |
|
|---|
| 30 |
[ldap_host_2] |
|---|
| 31 |
; Authentication type |
|---|
| 32 |
auth = ldap |
|---|
| 33 |
; LDAP host |
|---|
| 34 |
ldap_host = otherhost |
|---|
| 35 |
; LDAP port |
|---|
| 36 |
ldap_port = 389 |
|---|
| 37 |
; Base DN |
|---|
| 38 |
ldap_basedn = "dc=curverider,dc=co,dc=uk" |
|---|
| 39 |
; Bind as |
|---|
| 40 |
ldap_bind_dn = "cn=admin,dc=curverider,dc=co,dc=uk" |
|---|
| 41 |
; Password for non anonymous bind |
|---|
| 42 |
ldap_bind_pwd = secret |
|---|
| 43 |
; Protocol version |
|---|
| 44 |
ldap_protocol_version = 3 |
|---|
| 45 |
; Filter for username, common are cn or uid |
|---|
| 46 |
ldap_filter_attr = uid |
|---|
| 47 |
; Search attibutes |
|---|
| 48 |
ldap_search_attr = dn,ou,mail |
|---|
| 49 |
; Create user, relies on the givenname, sn, and email attributes for now |
|---|
| 50 |
ldap_user_create = true |
|---|
| 51 |
; Fallback option, try internal authentication if everything fails |
|---|
| 52 |
ldap_internal_fallback = false |
|---|