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