<?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 Home Space based on LDAP Attributes in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/home-space-based-on-ldap-attributes/m-p/172573#M125778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all.&amp;nbsp; I'm trying to find a way to create user home directories automatically NOT based on UID and I could use some help.&amp;nbsp; Here's the situation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've got LDAP authentication working successfully against our OpenLDAP server.&amp;nbsp; I was able to configure UID-based directory creation using the "UIDBasedHomeFolderProvider" bean.&amp;nbsp; I want to automatically create home directories based on OTHER attributes in LDAP, for example first name (givenName), last name (sn), and organization.&amp;nbsp; To that end, I created another HomeFolderProvider class called "NameBasedHomeFolderProvider".&amp;nbsp; It creates a folder name from the "PROP_FIRSTNAME" and "PROP_LASTNAME" properties, but I quickly found that these were not correctly set.&amp;nbsp; (The class did work, however, and confirmed the ability to customize folder names.&amp;nbsp; All that is missing is the correct LDAP attributes.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to avoid a full LDAP synchronization because we have a large number of users in LDAP and I don't want to add data from all of them into Alfresco.&amp;nbsp; What would ideally happen is some kind of attribute mapping at initial login time so the above properties would be set correctly and I could use them.&amp;nbsp; Unfortunately I can't figure out where this could be configured (if at all).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is an LDAP synchronize operation the only way to map LDAP attributes?&amp;nbsp; What happens if a user tries to log in before synchronization has completed (or begun)?&amp;nbsp; In that case, a home space would be created that would later need to be changed.&amp;nbsp; Would a conflict arise during the sync operation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've searched the forums extensively and the closest I've gotten is the Wiki entry on LDAP configuration.&amp;nbsp; Unfortunately that only covers synchronization (import), but I'd really like to avoid that if at all possible and instead grab the necessary attributes at login time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Damon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Jul 2008 03:30:24 GMT</pubDate>
    <dc:creator>dtmiller1976</dc:creator>
    <dc:date>2008-07-26T03:30:24Z</dc:date>
    <item>
      <title>Home Space based on LDAP Attributes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/home-space-based-on-ldap-attributes/m-p/172573#M125778</link>
      <description>Hi all.&amp;nbsp; I'm trying to find a way to create user home directories automatically NOT based on UID and I could use some help.&amp;nbsp; Here's the situation:We've got LDAP authentication working successfully against our OpenLDAP server.&amp;nbsp; I was able to configure UID-based directory creation using the "UIDBasedH</description>
      <pubDate>Sat, 26 Jul 2008 03:30:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/home-space-based-on-ldap-attributes/m-p/172573#M125778</guid>
      <dc:creator>dtmiller1976</dc:creator>
      <dc:date>2008-07-26T03:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Home Space based on LDAP Attributes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/home-space-based-on-ldap-attributes/m-p/172574#M125779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To sync from LDAP at login time you would have to write a custom AuthenticationComponent and DAO or do it in the authentication filters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You also need to be able to find all users to which you can assign permissions (for invite users, assign workflow&amp;nbsp; …. etc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you require is not provideded out of the box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 08:51:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/home-space-based-on-ldap-attributes/m-p/172574#M125779</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2008-09-11T08:51:31Z</dc:date>
    </item>
  </channel>
</rss>

