ldap: remove lookupvar and replace with top scope @ var

Change-Id: I045ef3a9c5ac808529eb850b3b5280b6de9ab7fa
Merge "ldap: remove lookupvar and replace with top scope @ var" into production