<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Synchronizing user account status with Kerberos SSO in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/synchronizing-user-account-status-with-kerberos-sso/m-p/97934#M28604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have a problem synchronizing user account status. It worked fine&amp;nbsp;with ldap authentication before I&amp;nbsp;add kerberos to&amp;nbsp;authentication chain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Configurations:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;alfresco-global.properties&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;### The authentication chain&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;authentication.chain=kerberos1:kerberos,ldap1:ldap-ad,alfinst:alfrescoNtlm&lt;BR /&gt;ntlm.authentication.sso.enabled=false&lt;BR /&gt;ntlm.authentication.mapUnknownUserToGuest=false&lt;BR /&gt;alfresco.authentication.authenticateCIFS=false&lt;BR /&gt;alfresco.authentication.allowGuestLogin=false&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;### Kerberos&lt;BR /&gt;kerberos.authentication.realm=&lt;EM&gt;AD.DOMAIN.UA&lt;/EM&gt;&lt;BR /&gt;kerberos.authentication.sso.enabled=true&lt;BR /&gt;kerberos.authentication.browser.ticketLogons=true&lt;BR /&gt;kerberos.authentication.sso.fallback.enabled=true&lt;BR /&gt;kerberos.authentication.authenticateCIFS=false&lt;BR /&gt;kerberos.authentication.user.configEntryName=Alfresco&lt;BR /&gt;kerberos.authentication.defaultAdministratorUserNames=admin&lt;BR /&gt;kerberos.authentication.cifs.configEntryName=AlfrescoCIFS&lt;BR /&gt;kerberos.authentication.cifs.password=&lt;EM&gt;password&lt;/EM&gt;&lt;BR /&gt;kerberos.authentication.http.configEntryName=AlfrescoHTTP&lt;BR /&gt;kerberos.authentication.http.password=&lt;EM&gt;password&lt;/EM&gt;&lt;BR /&gt;kerberos.authentication.stripUsernameSuffix=true&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;### LDAP Synchronization settings. Active Directory (LDAP-AD).&lt;BR /&gt;&lt;STRONG&gt;synchronization.externalUserControl=true&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;synchronization.externalUserControlSubsystemName=ldap1&lt;/STRONG&gt;&lt;BR /&gt;synchronization.syncOnStartup=true&lt;BR /&gt;synchronization.autoCreatePeopleOnLogin=false&lt;BR /&gt;synchronization.syncWhenMissingPeopleLogIn=true&lt;BR /&gt;synchronization.allowDeletions=true&lt;BR /&gt;synchronization.import.cron=0 0/20 8-20 * * ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ldap-ad-authentication-context.xml&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;...&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;import resource="../../common-ldap-context.xml" /&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;bean id="&lt;STRONG&gt;ldapadUserAccountStatusInterpreter&lt;/STRONG&gt;" class="org.alfresco.repo.security.sync.ldap_ad.LDAPADUserAccountStatusInterpreter"&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;...&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ldap-ad-authentication.properties&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ldap.authentication.active=false&lt;BR /&gt;ldap.authentication.allowGuestLogin=false&lt;BR /&gt;ldap.authentication.userNameFormat=%s@&lt;EM&gt;ad.domain.ua&lt;/EM&gt;&lt;BR /&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://&lt;EM&gt;ad.domain.ua&lt;/EM&gt;:389&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=simple&lt;BR /&gt;ldap.authentication.escapeCommasInBind=false&lt;BR /&gt;ldap.authentication.escapeCommasInUid=false&lt;BR /&gt;ldap.authentication.defaultAdministratorUserNames=Administrator,admin&lt;BR /&gt;ldap.authentication.authenticateFTP=false&lt;BR /&gt;ldap.synchronization.active=true&lt;BR /&gt;ldap.synchronization.java.naming.security.authentication=simple&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=&lt;EM&gt;syncuser@ad.domain.ua&lt;/EM&gt;&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=&lt;EM&gt;password&lt;/EM&gt;&lt;BR /&gt;ldap.synchronization.queryBatchSize=1000&lt;BR /&gt;ldap.synchronization.attributeBatchSize=1000&lt;BR /&gt;ldap.synchronization.groupQuery=(&amp;amp;(objectclass\=group)(!(cn\=prn*)))&lt;BR /&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(&amp;amp;(objectclass\=group)(!(cn\=prn*)))(!(whenChanged&amp;lt;\={0})))&lt;BR /&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))&lt;BR /&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(!(whenChanged&amp;lt;\={0})))&lt;BR /&gt;ldap.synchronization.groupSearchBase=ou\=&lt;EM&gt;OrganisationName&lt;/EM&gt;,dc\=ad,dc\=domain,dc\=ua&lt;BR /&gt;ldap.synchronization.userSearchBase=ou\=&lt;EM&gt;OrganisationName&lt;/EM&gt;,dc\=ad,dc\=domain,dc\=ua&lt;BR /&gt;ldap.synchronization.modifyTimestampAttributeName=whenChanged&lt;BR /&gt;ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'&lt;BR /&gt;ldap.synchronization.userIdAttributeName=sAMAccountName&lt;BR /&gt;ldap.synchronization.userFirstNameAttributeName=sn&lt;BR /&gt;ldap.synchronization.userLastNameAttributeName=givenName&lt;BR /&gt;ldap.synchronization.userEmailAttributeName=mail&lt;BR /&gt;ldap.synchronization.userOrganizationalIdAttributeName=departmentNumber&lt;BR /&gt;ldap.synchronization.userJobTitleAttributeName=title&lt;BR /&gt;ldap.synchronization.userSizeQuota=10000&lt;BR /&gt;ldap.synchronization.userAvatarAttributeName=thumbnailPhoto&lt;BR /&gt;ldap.synchronization.userAvatarDefaultMimetype=image/jpeg&lt;BR /&gt;ldap.synchronization.defaultHomeFolderProvider=largeHomeFolderProvider&lt;BR /&gt;ldap.synchronization.groupIdAttributeName=extensionName&lt;BR /&gt;ldap.synchronization.groupDisplayNameAttributeName=description&lt;BR /&gt;ldap.synchronization.groupType=group&lt;BR /&gt;ldap.synchronization.personType=user&lt;BR /&gt;ldap.synchronization.groupMemberAttributeName=member&lt;BR /&gt;ldap.synchronization.enableProgressEstimation=true&lt;BR /&gt;ldap.authentication.java.naming.read.timeout=0&lt;BR /&gt;ldap.authentication.java.naming.referral=follow&lt;BR /&gt;ldap.synchronization.com.sun.jndi.ldap.connect.pool=true&lt;BR /&gt;ldap.pooling.com.sun.jndi.ldap.connect.pool.authentication=none simple&lt;BR /&gt;ldap.pooling.com.sun.jndi.ldap.connect.pool.debug=fine&lt;BR /&gt;ldap.pooling.com.sun.jndi.ldap.connect.pool.initsize=1&lt;BR /&gt;ldap.pooling.com.sun.jndi.ldap.connect.pool.maxsize=&lt;BR /&gt;ldap.pooling.com.sun.jndi.ldap.connect.pool.prefsize=&lt;BR /&gt;ldap.pooling.com.sun.jndi.ldap.connect.pool.protocol=plain&lt;BR /&gt;ldap.pooling.com.sun.jndi.ldap.connect.pool.timeout=&lt;BR /&gt;ldap.pooling.com.sun.jndi.ldap.connect.timeout=&lt;BR /&gt;&lt;STRONG&gt;ldap.synchronization.userAccountStatusProperty=userAccountControl&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ldap.synchronization.userAccountStatusInterpreter=ldapadUserAccountStatusInterpreter&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plus&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;common-ldap-context.xml&lt;/EM&gt; contain&amp;nbsp;correspondence of AD and Alfresco fields.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All users are synchronized. But all users are enabled.&lt;/P&gt;&lt;P&gt;With another AD server and ldap authorization I can change enable/disable in AD and sync it on Alfresco.&lt;/P&gt;&lt;P&gt;The similar configuration with kerberos sso don't react on&amp;nbsp;userAccountControl parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 May 2019 13:57:06 GMT</pubDate>
    <dc:creator>fedorow</dc:creator>
    <dc:date>2019-05-16T13:57:06Z</dc:date>
    <item>
      <title>Synchronizing user account status with Kerberos SSO</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/synchronizing-user-account-status-with-kerberos-sso/m-p/97934#M28604</link>
      <description>Hi!I have a problem synchronizing user account status. It worked fine&amp;nbsp;with ldap authentication before I&amp;nbsp;add kerberos to&amp;nbsp;authentication chain.Configurations:alfresco-global.properties&amp;nbsp;### The authentication chainauthentication.chain=kerberos1:kerberos,ldap1:ldap-ad,alfinst:alfrescoNtlmntlm.authentica</description>
      <pubDate>Thu, 16 May 2019 13:57:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/synchronizing-user-account-status-with-kerberos-sso/m-p/97934#M28604</guid>
      <dc:creator>fedorow</dc:creator>
      <dc:date>2019-05-16T13:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronizing user account status with Kerberos SSO</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/synchronizing-user-account-status-with-kerberos-sso/m-p/97935#M28605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the problem isn't in synchronization subsystem. Some process block Account status (Disable Account check box) and I cant check it manually even with&amp;nbsp;synchronization.externalUserControl=false. Without kerberos sso all works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to be continue...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2019 10:01:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/synchronizing-user-account-status-with-kerberos-sso/m-p/97935#M28605</guid>
      <dc:creator>fedorow</dc:creator>
      <dc:date>2019-05-21T10:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronizing user account status with Kerberos SSO</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/synchronizing-user-account-status-with-kerberos-sso/m-p/97936#M28606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a bug of share. User account have disabled status in database and can't login (usr:enabled = false). But admin see him&amp;nbsp;with green button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 06:07:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/synchronizing-user-account-status-with-kerberos-sso/m-p/97936#M28606</guid>
      <dc:creator>fedorow</dc:creator>
      <dc:date>2019-05-28T06:07:37Z</dc:date>
    </item>
  </channel>
</rss>

