Fixed stub disabling for ldap tests