ldap users cannot log in
I solved my problem using this script 

for m in CRAM-MD5 DIGEST-MD5 LOGIN NTLM PLAIN; do
  /usr/libexec/PlistBuddy -c "add ':module options:ldap:Denied SASL Methods:' string $m" /Library/Preferences/OpenDirectory/Configurations/LDAPv3/ldap.foo.fr.plist
done


I'm pretty sure it's not the best answer but still, it do the trick and now I can log in.