1
0
Fork 0
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:
Salamandar 2024-06-15 22:39:44 +02:00
parent bfad152647
commit 6d64ca4884

View file

@ -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