[jan] Fix user name parameter in LDAP driver (Bug #12331).
[jan] Fix fatal error in Samba/LDAP driver (Bug #12319).