Fixed ldbDNFromLDAPDN for OpenLDAP users
Fixed typos and missing use
Merge pull request #469 from Zentyal/cperello/samba-bug-fixes

Cperello/samba bug fixes