Active Directory create by default a guest user in the users directry. to exluded "guest" user from synchronization, I added these line into my ldap-ad-authentication.properties (mentioned in my first comment)
NB: I created a reserved Unit Organization for my users and this is my config to do synchronization only with my users
———————————-
# The group search base restricts the LDAP group query to a sub section of tree on the LDAP server.
ldap.synchronization.groupSearchBase=OU\=EPR,DC\=epr, DC\=lan
# The user search base restricts the LDAP user query to a sub section of tree on the LDAP server.
ldap.synchronization.userSearchBase=OU\=EPR,DC\=epr,DC\=lan
———————————