mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 18:04:26 +02:00
[various] Remove config/addon.config.php in favor of per-addon configuration file
This commit is contained in:
parent
5b25b03ea3
commit
46d4d0b51e
29 changed files with 137 additions and 206 deletions
|
@ -12,38 +12,4 @@ However, it's possible with an option to automate the creation of a Friendica ba
|
|||
Note when using with Windows Active Directory: you may need to set TLS_CACERT in your site
|
||||
ldap.conf file to the signing cert for your LDAP server.
|
||||
|
||||
The configuration options for this module may be set in the `config/addon.config.php` file
|
||||
e.g.:
|
||||
|
||||
'ldapauth' => [
|
||||
// ldap hostname server - required
|
||||
'ldap_server' => '',
|
||||
|
||||
// admin dn - optional - only if ldap server dont have anonymous access
|
||||
'ldap_binddn' => '',
|
||||
|
||||
// admin password - optional - only if ldap server dont have anonymous access
|
||||
'ldap_bindpw' => '',
|
||||
|
||||
// dn to search users - required
|
||||
'ldap_searchdn' => '',
|
||||
|
||||
// attribute to find username - required
|
||||
'ldap_userattr' => '',
|
||||
|
||||
// DN of the group whose member can auth on Friendica - optional
|
||||
'ldap_group' => '',
|
||||
|
||||
// To create Friendica account if user exists in ldap
|
||||
// Requires an email and a simple (beautiful) nickname on user ldap object
|
||||
// active account creation - optional - default true
|
||||
'ldap_autocreateaccount' => true,
|
||||
|
||||
// attribute to get email - optional - default : 'mail'
|
||||
'ldap_autocreateaccount_emailattribute' => 'mail',
|
||||
|
||||
// attribute to get nickname - optional - default : 'givenName'
|
||||
'ldap_autocreateaccount_nameattribute' => 'givenName',
|
||||
],
|
||||
|
||||
...etc.
|
||||
The configuration options for this module are described in the `config/ldapauth.config.php` file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue