<?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 Re: ¿How can I sync LDAP user accounts in Alfresco 3.4? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-sync-ldap-user-accounts-in-alfresco-3-4/m-p/29462#M12559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ldap synchronization user queries (configured in&amp;nbsp;ldap.synchronization.personQuery and ldap.synchronization.personDifferentialQuery parameters)&amp;nbsp;should not include disabled users. Check the corresponding queries with Apache Directory Studio tool. Anyway, if users are ** really ** disabled in your LDAP, you won't be able to login in Alfresco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Aug 2017 08:30:12 GMT</pubDate>
    <dc:creator>cesarista</dc:creator>
    <dc:date>2017-08-01T08:30:12Z</dc:date>
    <item>
      <title>¿How can I sync LDAP user accounts in Alfresco 3.4?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-sync-ldap-user-accounts-in-alfresco-3-4/m-p/29461#M12558</link>
      <description>I need to sync LDAP users accounts on alfresco.On LDAP you can see "userAccountControl" = Account disabled... but in Alfresco appears with the account active...Any idea?Sorry for my english.</description>
      <pubDate>Mon, 31 Jul 2017 11:52:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-sync-ldap-user-accounts-in-alfresco-3-4/m-p/29461#M12558</guid>
      <dc:creator>angelmartinboni</dc:creator>
      <dc:date>2017-07-31T11:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: ¿How can I sync LDAP user accounts in Alfresco 3.4?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-sync-ldap-user-accounts-in-alfresco-3-4/m-p/29462#M12559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ldap synchronization user queries (configured in&amp;nbsp;ldap.synchronization.personQuery and ldap.synchronization.personDifferentialQuery parameters)&amp;nbsp;should not include disabled users. Check the corresponding queries with Apache Directory Studio tool. Anyway, if users are ** really ** disabled in your LDAP, you won't be able to login in Alfresco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 08:30:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-sync-ldap-user-accounts-in-alfresco-3-4/m-p/29462#M12559</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-08-01T08:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: ¿How can I sync LDAP user accounts in Alfresco 3.4?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-sync-ldap-user-accounts-in-alfresco-3-4/m-p/29463#M12560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Cesar Capillas&lt;/B&gt;‌: The default settings do not exclude&amp;nbsp;disabled users. The default LDAP/AD query&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;only specifies that the account must be a "regular user account". In order to exclude a disabled user you need to explicitly disallow synchronisation of any user with that flag.:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(!(userAccountControl\:1.2.840.113556.1.4.803\:\=2)))&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;(a similar change needs to be made to the personDifferentialQuery)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The regular LDAP subsystem does not even have a notion of disabled users in its default queries and thus will not filter anything out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default is sensible in the way that it does not immediately delete a user (and their preferences, site memberships etc.) just because they may have been disabled temporarily (i.e. maternity leave, sabbatical, extended medical leave).&amp;nbsp;Changes to the queries need to be based on the corporate user management principles and reflect the best approach for the specific processes in use for the organisation...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 09:53:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-sync-ldap-user-accounts-in-alfresco-3-4/m-p/29463#M12560</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-08-01T09:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: ¿How can I sync LDAP user accounts in Alfresco 3.4?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-sync-ldap-user-accounts-in-alfresco-3-4/m-p/29464#M12561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Creo que no os he entendido. He probado con estas sentencias en el&lt;/P&gt;&lt;P&gt;alfresco-global.properties:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.userAccountControl=true&lt;/P&gt;&lt;P&gt;ldap.synchronization.userAccountStatusProperty=userAccountControl&lt;/P&gt;&lt;P&gt;#ldap.synchronization.userAccountStatusProperty=ds-pwp-account-disabled&lt;/P&gt;&lt;P&gt;#ldap.synchronization.disabledAccountPropertyValue=true&lt;/P&gt;&lt;P&gt;#ldap.synchronization.externalUserControl=true&lt;/P&gt;&lt;P&gt;#ldap.synchronization.externalUserControlSubsystemName=ldap-ad1&lt;/P&gt;&lt;P&gt;#ldap.synchronization.allowDeletions=true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pero en Alfresco la cuenta de los usuarios en cuestión sigue sin salir&lt;/P&gt;&lt;P&gt;desactivada.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;el campo de userAccountControl tiene&lt;/P&gt;&lt;P&gt;"[ AccountDisabled\, NoPasswordRequired\, NormalAccount ]"&lt;/P&gt;&lt;P&gt;Qué sentencia en el alfresco-global.properties debería poner para que&lt;/P&gt;&lt;P&gt;aparezca desactivada?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gracias.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2017-08-01 11:54 GMT+02:00 afaust &amp;lt;kristen.gastaldo@alfresco.com&amp;gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;Alfresco Community&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.alfresco.com/?et=watches.email.thread&amp;gt;&lt;/P&gt;&lt;P&gt;Re: ¿How can I sync LDAP user accounts in Alfresco 3.4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Axel Faust&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.alfresco.com/people/afaust?et=watches.email.thread&amp;gt; in *Alfresco&lt;/P&gt;&lt;P&gt;Content Services (ECM)* - View the full discussion&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.alfresco.com/message/819076-re-how-can-i-sync-ldap-user-accounts-in-alfresco-34?commentID=819076&amp;amp;et=watches.email.thread#comment-819076&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 08:31:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-sync-ldap-user-accounts-in-alfresco-3-4/m-p/29464#M12561</guid>
      <dc:creator>angelmartinboni</dc:creator>
      <dc:date>2017-08-07T08:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: ¿How can I sync LDAP user accounts in Alfresco 3.4?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-sync-ldap-user-accounts-in-alfresco-3-4/m-p/29465#M12562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I don´t understand you. I tried with these sentences in the&lt;/P&gt;&lt;P&gt;alfresco-global.properties:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ldap.synchronization.userAccountControl = true&lt;/P&gt;&lt;P&gt;Ldap.synchronization.userAccountStatusProperty = userAccountControl&lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;Ldap.synchronization.userAccountStatusProperty = ds-pwp-account-disabled&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;Ldap.synchronization.disabledAccountPropertyValue = true&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;Ldap.synchronization.externalUserControl = true&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;Ldap.synchronization.externalUserControlSubsystemName = ldap-ad1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;Ldap.synchronization.allowDeletions = true&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in Alfresco the account of the users in question is still not enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TheAccountControl user field has&lt;/P&gt;&lt;P&gt;"[AccountDisabled \, NoPasswordRequired \, NormalAccount]" from LDAP&lt;/P&gt;&lt;P&gt;records...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What sentence in the alfresco-global.properties should you put to appear&lt;/P&gt;&lt;P&gt;disabled?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2017-08-01 11:54 GMT+02:00 afaust &amp;lt;kristen.gastaldo@alfresco.com&amp;gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;Alfresco Community&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.alfresco.com/?et=watches.email.thread&amp;gt;&lt;/P&gt;&lt;P&gt;Re: ¿How can I sync LDAP user accounts in Alfresco 3.4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Axel Faust&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.alfresco.com/people/afaust?et=watches.email.thread&amp;gt; in *Alfresco&lt;/P&gt;&lt;P&gt;Content Services (ECM)* - View the full discussion&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.alfresco.com/message/819076-re-how-can-i-sync-ldap-user-accounts-in-alfresco-34?commentID=819076&amp;amp;et=watches.email.thread#comment-819076&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 11:19:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-sync-ldap-user-accounts-in-alfresco-3-4/m-p/29465#M12562</guid>
      <dc:creator>angelmartinboni</dc:creator>
      <dc:date>2017-08-08T11:19:45Z</dc:date>
    </item>
  </channel>
</rss>

