From 6d64ca4884ac4162e01cbc5501fd5507efcccac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sat, 15 Jun 2024 22:39:44 +0200 Subject: [PATCH] Try to fix ldap config --- sources/patches/main-00-ldap-auth.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sources/patches/main-00-ldap-auth.patch b/sources/patches/main-00-ldap-auth.patch index def9f26..f1f61be 100644 --- a/sources/patches/main-00-ldap-auth.patch +++ b/sources/patches/main-00-ldap-auth.patch @@ -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