After setting up vasproxy on a system the ldapsearch command is unable to perform LDAP queries. The following error message is reported:
# ldapsearch -x -h 127.0.0.1:10000 -b "dc=domain,dc=com"
Failed to obtain a bound LDAP handle, error(2): VAS_ERR_KRB5: Kerberos error
Requested service (ldap/127.0.0.1@DOMAIN.COM) cannot be found.
KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN (-1765328377): Server not found in Kerberos database
Reason: Server (ldap/127.0.0.1@DOMAIN.COM) unknown