Users disabled by AD stay enabled in repository

cancel
Showing results for 
Search instead for 
Did you mean: 
mire323
Active Member II

Users disabled by AD stay enabled in repository

Hello,

 

We have a problem - when disableing users in AD they stay enabled in repository. Is it possible that users get disabled in repo when the get disabled in AD? We are using LDAP synchronization. See screenshots below:

RepoRepoADAD 

Thanks in advance and have a greate day! Smiley Very Happy

1 Reply
fedorow
Senior Member II

Re: Users disabled by AD stay enabled in repository

Check ldap-ad-authentication.properties

ldap.synchronization.userAccountStatusProperty=userAccountControl
ldap.synchronization.userAccountStatusInterpreter=ldapadUserAccountStatusInterpreter

and ldap-ad-authentication-context.xml

...
<import resource="../../common-ldap-context.xml" />
<bean id="ldapadUserAccountStatusInterpreter" class="org.alfresco.repo.security.sync.ldap_ad.LDAPADUserAccountStatusInterpreter">
</bean>
...