<?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: Ldap query on single subOU in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307316#M260446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I've tryed and put this query :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.synchronization.groupSearchBase=ou\=Users,ou\=Groups,dc\=red,dc\=lan‌​&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it wont work ! It still imports all groups from the Groups OU, not only those under Users…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I add : there are some other OUs under Users\Groups, and I must import all the groups inside them. Don't know if it changes anything though (don't think so).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Aug 2013 07:58:00 GMT</pubDate>
    <dc:creator>ermantis</dc:creator>
    <dc:date>2013-08-14T07:58:00Z</dc:date>
    <item>
      <title>Ldap query on single subOU</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307314#M260444</link>
      <description>Hello everyone,So this is what my ldap looks like :-red.lan—Groups(OU)——Computers(SubOU)——Printers(SubOU)——&amp;lt;strong&amp;gt;Users&amp;lt;/strong&amp;gt;(SubOU)—Some(OU)—&amp;lt;strong&amp;gt;Users&amp;lt;/strong&amp;gt;(OU)——SomeOther(SubOU)So, i'm trying to make a query that would select all the groups in Users(SubOU), but n</description>
      <pubDate>Mon, 12 Aug 2013 09:07:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307314#M260444</guid>
      <dc:creator>ermantis</dc:creator>
      <dc:date>2013-08-12T09:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ldap query on single subOU</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307315#M260445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry Ermantis but I don't get what your problem is, why can't you just use this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupSearchBase=ou\=Users,ou\=Groups,dc\=red,dc\=lan&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The search base is specified with a fully qualified Distinguised Name so there is not duplicity or confusion possible with the other Users OU.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 07:43:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307315#M260445</guid>
      <dc:creator>iblanco</dc:creator>
      <dc:date>2013-08-14T07:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ldap query on single subOU</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307316#M260446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I've tryed and put this query :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.synchronization.groupSearchBase=ou\=Users,ou\=Groups,dc\=red,dc\=lan‌​&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it wont work ! It still imports all groups from the Groups OU, not only those under Users…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I add : there are some other OUs under Users\Groups, and I must import all the groups inside them. Don't know if it changes anything though (don't think so).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 07:58:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307316#M260446</guid>
      <dc:creator>ermantis</dc:creator>
      <dc:date>2013-08-14T07:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ldap query on single subOU</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307317#M260447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you sure that it is importing those other groups ? Have you deleted them after changing the configuration and restarting Alfresco ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By default Alfresco synchornization is done in a differential way or differential with deletions. The groups might not be deleted because although it is not taking them back to Alfresco again they do still exist. Not 100% sure about that though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just in case I would configure Alfresco to make a FULL synchronization instead of differential and program the CRON to trigger it now:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/The_Synchronization_Subsystem" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/The_Synchronization_Subsystem&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 11:43:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307317#M260447</guid>
      <dc:creator>iblanco</dc:creator>
      <dc:date>2013-08-14T11:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ldap query on single subOU</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307318#M260448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I haven't tryed deleting those groups.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've set synchronization.synchronizeChangesOnly to false already and it is not deleting groups already created… But suppressing groups manually seems to do the trick : they are not re-imported.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It does not automatically suppress the groups though… How could I change that ? Also I can't find out how to pass the synchronization in Partial With Deletion mode ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or is there a way to delete all existing groups so it syncs from scrap ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 12:26:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307318#M260448</guid>
      <dc:creator>ermantis</dc:creator>
      <dc:date>2013-08-14T12:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Ldap query on single subOU</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307319#M260449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ermantis, have you read the provide link about synchronization ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On startup and authentication a "differential" sync is done, not a "differential with removals" or a "full" one. If you run a "full" or probably even a "differential with removals" sync old groups should dissapear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should change in alfresco-global.properties the cron expression to fire a "differential with removals" or "full" synchronization:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;# The cron expression defining when imports should take place&lt;BR /&gt;synchronization.import.cron=0 0 0 * * ?&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can see by default it fires every midnight, change it to something like "0 0/5 * * * ?" so that it fires every 5 minutes and restart Alfresco. Once you have ended don't forget to reestablish the cron expression to something more reasonable than firingi sync every 5 minutes and restart again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 13:43:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307319#M260449</guid>
      <dc:creator>iblanco</dc:creator>
      <dc:date>2013-08-14T13:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ldap query on single subOU</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307320#M260450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Changing the cron expression doesnt' trigger a full sync.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've set &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.import.cron=0 0/5 * * * ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.synchronizeChangesOnly=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.allowDeletions=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in Alfresco-global.properties. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then restarted alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Still doesn't work : groups aren't deleted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I doing something wrong ? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 13:34:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307320#M260450</guid>
      <dc:creator>ermantis</dc:creator>
      <dc:date>2013-08-20T13:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ldap query on single subOU</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307321#M260451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any update ? &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 08:21:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307321#M260451</guid>
      <dc:creator>ermantis</dc:creator>
      <dc:date>2013-08-27T08:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ldap query on single subOU</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307322#M260452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Enable &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/The_Synchronization_Subsystem#Debugging" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/The_Synchronization_Subsystem#Debugging&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;logging for the synchronization as stated in the wiki&amp;lt;/a&amp;gt; and report what it says when synchronization fires.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Authorities in Alfresco are related to zones, so if a full synchronization fires and some groups "dissapear" they should dissapear also in Alfresco. I think zones are named after the instance name you use for you ldap source subsytem, typically "ldap1". Have you changed that name ? If you change that name I guess there is a chance for Alfresco not to correctly relate the old groups with the LDAP.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 08:04:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307322#M260452</guid>
      <dc:creator>iblanco</dc:creator>
      <dc:date>2013-09-02T08:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ldap query on single subOU</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307323#M260453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I totaly deleted the configuration and made it from the beginning and it seems to work. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 15:38:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-query-on-single-subou/m-p/307323#M260453</guid>
      <dc:creator>ermantis</dc:creator>
      <dc:date>2013-11-12T15:38:11Z</dc:date>
    </item>
  </channel>
</rss>

