Add scoping to ldap lookup when only dn given
Merge pull request #6857 from bytheway/master

Add scoping to ldap lookup when only dn given