Thanks @kload for your answer.
In /etc/ssh/sshd_config had UsePAM yes
So, I set it to “no”. Of course : in syslog, I could see that the LDAP is no more accessed on login.
Then, back to UsePAM yes
Still fail to login admin in ssh.
I checked the password:
ldapwhoami -H ldap://localhost:389 -x -D cn=admin,dc=yunohost,dc=org -W
And I got:
Enter LDAP Password:
dn:cn=admin,dc=yunohost,dc=org
No errror message: it’s OK for the password.
The trouble seems in between ssh and ldap…
I also tried to replace /etc/ssh/sshd_config
by https://github.com/YunoHost/packages/blob/master/yunohost-config-others/config/others/sshd_config
No result.