<?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 import in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ldap-import/m-p/94250#M64551</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;I suggest you keep the ldap authentication component, configure the person service not to auto create people and then use LDAP import to import only the people who should be able to use alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The unknown people will be thrown out. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If not you need to fix up the authentication filter to check if users can use alfresco. Can you pass this info through from CAS somehow?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2007 11:30:29 GMT</pubDate>
    <dc:creator>andy</dc:creator>
    <dc:date>2007-09-17T11:30:29Z</dc:date>
    <item>
      <title>LDAP import</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-import/m-p/94247#M64548</link>
      <description>Hi,I've managed to import the users and groups into Alfresco. But I cannot login using those usernames. the users and groups are in the users list. I got userName not found exception. I'm not using LDAP authentication and instead are using CAS. What i planned was to import some users(not all) into A</description>
      <pubDate>Tue, 19 Jun 2007 08:33:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-import/m-p/94247#M64548</guid>
      <dc:creator>guestbcs</dc:creator>
      <dc:date>2007-06-19T08:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP import</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-import/m-p/94248#M64549</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;LDAP import only pulls in personal information. It does not get the password or inply that you can authenticate as those users. Authentication is up to your authentication service and component(s) and the web filters how they are configured. I would guess you need to configure an authentication filter to support single sign on. There are a few forum discussions about this and CAS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 14:29:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-import/m-p/94248#M64549</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2007-06-20T14:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP import</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-import/m-p/94249#M64550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andy, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've went through several thread. the ones i followed for CAS is this&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=5893&amp;amp;highlight=cas" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?t=5893&amp;amp;highlight=cas&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for LDAP, i tried following several guides as posted by some of the people here but one thing i noticed is almost all of them use LDAP authentication when they use ldap import. As I noticed in one of your posts, ldap authentication is not necessary as only the ldapInitialDirContextFactory are needed for the ldap import.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with CAS And ldap authentication i can do just fine. but i dont want every user to be able to access Alfresco.&amp;nbsp; so i've commented off the authentication component in ldap-authentication-context.xml and i got the error that i posted in the first post. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sorry cos i'm very slow &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;————————————————————————————-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Found that the problem is after i commented of the authentication component in ldap-authentication-context, the default authenticationcomponent which is AuthenticationComponentImpl takes place. and when CAS tries to setCurrentUser(), it calls RepositoryAuthenticationDao which finds users in the usersStore which ofcourse is not there. Therefore the exception was thrown&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With the LDAPAuthenticationComponentImpl, it just creates a UserDetails and returns it and does not create a user in the usersStore&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I resolve this? Can i like..when the user tries to log in and it's not in the usersStore, it checks in the spacesStore and if there is a matching username, it creates an entry in the usersStore.. is this the right way? Or I just return a userDetail and not create it after looking it in the spacesStore? Or should I create the user when it is imported? I need some light. I'm just an intern here. All this stuff is overwhelming&amp;nbsp; :cry: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 01:16:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-import/m-p/94249#M64550</guid>
      <dc:creator>guestbcs</dc:creator>
      <dc:date>2007-06-21T01:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP import</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-import/m-p/94250#M64551</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;I suggest you keep the ldap authentication component, configure the person service not to auto create people and then use LDAP import to import only the people who should be able to use alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The unknown people will be thrown out. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If not you need to fix up the authentication filter to check if users can use alfresco. Can you pass this info through from CAS somehow?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 11:30:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-import/m-p/94250#M64551</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2007-09-17T11:30:29Z</dc:date>
    </item>
  </channel>
</rss>

