# Google Analytics

LDAP import works but authentication fails - user search filter


It appears as if the LDAP directory is configured correctly and users and groups are imported, but the users are not able to authenticate. 


If you only want to import a subset of your active directory you most likely have created a User search filter which looks like:

(&(objectCategory=Person)(sAMAccountName=*)(|(memberOf=CN=IGXUS Preview Users,OU=IGXUS,OU=External,OU=Colo Users,DC=ad,DC=igrafxdemo,DC=com)(memberOf=CN=iGrafx Preview Administrators,OU=External,OU=Colo Users,DC=ad,DC=igrafxdemo,DC=com)))

Please ensure that the first part of the query (&(objectCategory=Person)(sAMAccountName=*) is included. Unless your Login name attribute, which is a field on the directory configuration form as well, is something else; in which case you need to make sure the attribute in the query matches the one specified as Login name attribute.

If this doesn't appear the appropriate solution for you configure logging as described in LDAP import works but authentication fails - Simple Bind