Enforce string usage with ldap

The singleton could be a fake record and so it will return None for all fields.
ldap requires string as parameters otherwise it raise a TypeError.

issue4159
review12561002