<?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] User sync at connection in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ldap-user-sync-at-connection/m-p/228276#M181406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree with this feature suggestion – I am actually facing an identical scenario.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An excellent addition would be something of the form:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.synchronization.autoSyncMissingUser=&amp;lt;true|false&amp;gt;&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;If enabled, such a parameter would pull in the authenticated users' attributes from the central LDAP server upon each successful login – thus keeping the user's attributes consistent with the central company directory (housed with LDAP).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: This functionality should be tenant-aware, i.e. the user store bases should be appropriate for the authenticated user's tenant domain.&amp;nbsp; Currently LDAP sync attempts to place all user attributes in the root content store, thus causing a 'Node not found' error to be thrown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-JASON&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 Apr 2010 19:04:55 GMT</pubDate>
    <dc:creator>jasondalycan</dc:creator>
    <dc:date>2010-04-18T19:04:55Z</dc:date>
    <item>
      <title>[LDAP] User sync at connection</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-user-sync-at-connection/m-p/228271#M181401</link>
      <description>Hi everybody,I've installed a test environment (WebClient+Share) with these features :- Authentification passthru, SSO- CIFS, FTP, WebdavSSO authentification don't give me automatically fields of my Active Directory (lastname, firstname, mail …), I've installed LDAP-AD sync (not authentification). A</description>
      <pubDate>Wed, 13 Jan 2010 14:33:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-user-sync-at-connection/m-p/228271#M181401</guid>
      <dc:creator>piski</dc:creator>
      <dc:date>2010-01-13T14:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: [LDAP] User sync at connection</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-user-sync-at-connection/m-p/228272#M181402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would recommend these settings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.syncOnStartup=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.syncWhenMissingPeopleLogIn=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.autoCreatePeopleOnLogin=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The sync triggered on startup is a 'differential sync'. This means that it runs a query that queries for all users changed since the last differential sync. That will mean that the first startup will be slow if you have thousands of users, but after that, it will be very fast and only pull over those users changed since the last sync.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The sync triggered on login again is differential and is only triggered when someone is successfully authenticated but still unknown to Alfresco. So again, that should only pull in only those users added since the last sync.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you set&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.autoCreatePeopleOnLogin=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you will get the auto-creation of people who were successfully authenticated but weren't brought in by the sync query, which I don't think is what you want. Users auto-created in this way will not have their attributes such as last name, email, etc. pulled in from the LDAP server. If you need this setting, it probably means you haven't configured the sync correctly. It looks like your userSearchBase is wrong. It should not contain any %s placeholders and should look something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.userSearchBase=OU\=my,DC\=organization,DC\=infos,DC\=com&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To work out what it should be, browse to a user, get their DN and use the suffix.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are finding the sync is bringing in more users than you want, just tighten the queries so that they don't include as many users, e.g. they only include those users in a certain group or with a certain attribute.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 15:00:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-user-sync-at-connection/m-p/228272#M181402</guid>
      <dc:creator>dward</dc:creator>
      <dc:date>2010-01-13T15:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: [LDAP] User sync at connection</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-user-sync-at-connection/m-p/228273#M181403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I understand solution you recommend ; working with differential provides the single user creation because it's the only thing that is changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For information, the parameter like %s in my userSearchBase was only a test, not the correct configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll try to be clearest … My users authenticate using passthru which provides me SSO feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By default &amp;amp; at "first" Alfresco launch, there is no user into the repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't want to create my AD users into Alfresco using LDAP sync (howerer I test this feature and it's working).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I only want new users (first time sign in and then unknown users in Alfresco) to be created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LDAP sync just provides me informations from AD such as lastname, mail … which are putting in user profile in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To resume : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Alfresco based on passthru auth - SSO&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- No LDAP sync on first time startup&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- No user defined in Alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt; A user sign in -&amp;gt; LDAP sync only for this user -&amp;gt; user created in Alfresco with his AD informations&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's more clear ? It's possible ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, Many thanks for your help !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 15:44:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-user-sync-at-connection/m-p/228273#M181403</guid>
      <dc:creator>piski</dc:creator>
      <dc:date>2010-01-13T15:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: [LDAP] User sync at connection</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-user-sync-at-connection/m-p/228274#M181404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No it's not currently possible. LDAP sync pulls all your users into Alfresco in advance of you using them. If you turn sync off and auto create person on, then you will get the behaviour you want, but you will not get user details pulled from LDAP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.active=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.autoCreatePeopleOnLogin=true&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 17:21:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-user-sync-at-connection/m-p/228274#M181404</guid>
      <dc:creator>dward</dc:creator>
      <dc:date>2010-01-13T17:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: [LDAP] User sync at connection</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-user-sync-at-connection/m-p/228275#M181405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My purpose, with LDAP sync activation, is to pull AD users details on Alfresco profile.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;User is automatically created, if not exists, by passthru authentification, so I don't need to activate any LDAP features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I though it was possible to cheat by using a kind of parameter such as &lt;/SPAN&gt;&lt;EM&gt;synchronization.userSearchBase&lt;/EM&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;EM&gt;synchronization.personQuery&lt;/EM&gt;&lt;SPAN&gt; to indicate to Alfresco to search only the user trying to connect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any chance to implement in the future ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2010 09:26:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-user-sync-at-connection/m-p/228275#M181405</guid>
      <dc:creator>piski</dc:creator>
      <dc:date>2010-01-14T09:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: [LDAP] User sync at connection</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-user-sync-at-connection/m-p/228276#M181406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree with this feature suggestion – I am actually facing an identical scenario.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An excellent addition would be something of the form:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.synchronization.autoSyncMissingUser=&amp;lt;true|false&amp;gt;&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;If enabled, such a parameter would pull in the authenticated users' attributes from the central LDAP server upon each successful login – thus keeping the user's attributes consistent with the central company directory (housed with LDAP).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: This functionality should be tenant-aware, i.e. the user store bases should be appropriate for the authenticated user's tenant domain.&amp;nbsp; Currently LDAP sync attempts to place all user attributes in the root content store, thus causing a 'Node not found' error to be thrown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-JASON&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Apr 2010 19:04:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-user-sync-at-connection/m-p/228276#M181406</guid>
      <dc:creator>jasondalycan</dc:creator>
      <dc:date>2010-04-18T19:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: [LDAP] User sync at connection</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-user-sync-at-connection/m-p/228277#M181407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd like to see this feature too, but for different reason.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The LDAP server in my organization terminates replies longer than 500 entries, and paging&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;doesn't trick it. So synchronizing in "full" or "differential with deletions" modes doesn't work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 13:48:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-user-sync-at-connection/m-p/228277#M181407</guid>
      <dc:creator>mjjn</dc:creator>
      <dc:date>2011-02-07T13:48:57Z</dc:date>
    </item>
  </channel>
</rss>

