Authentication works fine if I just use sAMAccountName. When i try to filter using
'memberOf=(&(objectClass=user)(sAMAccountName=*)(|(department=861)(department=945)))'
as my ldap property name for login i get
javax.naming.directory.InvalidSearchFilterException: invalid attribute description;
Ive tried with/without the memberOf= bit. Any suggestions?