mirror of
https://github.com/YunoHost-Apps/wallabag2_ynh.git
synced 2024-10-01 13:35:06 +02:00
Try to fix ldap config
This commit is contained in:
parent
bfad152647
commit
6d64ca4884
1 changed files with 4 additions and 4 deletions
|
@ -18,7 +18,7 @@ index 9ab51621..675d8905 100644
|
|||
id: fos_user.user_provider.username_email
|
||||
+ yunohost_users:
|
||||
+ ldap:
|
||||
+ service: yunohost.ldap
|
||||
+ service: Symfony\Component\Ldap\Ldap
|
||||
+ base_dn: ou=users,dc=yunohost,dc=org
|
||||
+ search_dn:
|
||||
+ search_password:
|
||||
|
@ -33,7 +33,7 @@ index 9ab51621..675d8905 100644
|
|||
pattern: ^/
|
||||
+ http_basic_ldap:
|
||||
+ provider: yunohost_users
|
||||
+ service: yunohost.ldap
|
||||
+ service: Symfony\Component\Ldap\Ldap
|
||||
+ dn_string: "uid={username},ou=users,dc=yunohost,dc=org"
|
||||
form_login:
|
||||
provider: fos_userbundle
|
||||
|
@ -46,9 +46,9 @@ index 270e79d9..efdd34d5 100644
|
|||
tags:
|
||||
- { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }
|
||||
|
||||
+ yunohost.ldap:
|
||||
+ class: Symfony\Component\Ldap\Ldap
|
||||
+ Symfony\Component\Ldap\Ldap:
|
||||
+ arguments: ['@Symfony\Component\Ldap\Adapter\ExtLdap\Adapter']
|
||||
+ tags: [ldap]
|
||||
+ Symfony\Component\Ldap\Adapter\ExtLdap\Adapter:
|
||||
+ arguments:
|
||||
+ - host: localhost
|
||||
|
|
Loading…
Add table
Reference in a new issue