<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Alfresco-LDAP integration notes</title>
	<atom:link href="http://ecmarchitect.com/archives/2007/05/15/753/feed" rel="self" type="application/rss+xml" />
	<link>http://ecmarchitect.com/archives/2007/05/15/753</link>
	<description>Jeff Potts on ECM, portals, search, collaboration, and a bunch of personal stuff</description>
	<lastBuildDate>Mon, 06 Sep 2010 22:32:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Peter</title>
		<link>http://ecmarchitect.com/archives/2007/05/15/753/comment-page-1#comment-40389</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Mon, 24 Aug 2009 18:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2007/05/15/753#comment-40389</guid>
		<description>Hi Shrini,

You have a solution here : http://wiki.alfresco.com/wiki/LDAP-CIFS_on_Alfresco_Enterprise_v3.0.0

Hope the link will help you.</description>
		<content:encoded><![CDATA[<p>Hi Shrini,</p>
<p>You have a solution here : <a href="http://wiki.alfresco.com/wiki/LDAP-CIFS_on_Alfresco_Enterprise_v3.0.0" rel="nofollow">http://wiki.alfresco.com/wiki/LDAP-CIFS_on_Alfresco_Enterprise_v3.0.0</a></p>
<p>Hope the link will help you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Petar Zrinš?ak</title>
		<link>http://ecmarchitect.com/archives/2007/05/15/753/comment-page-1#comment-32673</link>
		<dc:creator>Petar Zrinš?ak</dc:creator>
		<pubDate>Fri, 27 Mar 2009 17:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2007/05/15/753#comment-32673</guid>
		<description>Hi Jeff,

I have a question about authentication through Apache LDAP. I want the users to be able to authenticate with username and not distinguished name (because, alfresco tries to store distinguished name as author in the database and the character limit there is 100 chars which is a problem because our distinguished names exceed that limit - so we need it to be just username). We also want to be able to login with all users from LDAP which are stored in a big hierarchy structure.
So the problem is we cannot authenticate with username, because Alfresco doesn&#039;t know how to do that and on the other hand we cannot use distinguished name to authenticate, which Alfresco knows how to do, but cannot store as author in the database. Version of Alfresco which we are using is Labs 3.0.
So, can you please suggest how this problem can be resolved.
Thank you in advance for all your suggestions.</description>
		<content:encoded><![CDATA[<p>Hi Jeff,</p>
<p>I have a question about authentication through Apache LDAP. I want the users to be able to authenticate with username and not distinguished name (because, alfresco tries to store distinguished name as author in the database and the character limit there is 100 chars which is a problem because our distinguished names exceed that limit &#8211; so we need it to be just username). We also want to be able to login with all users from LDAP which are stored in a big hierarchy structure.<br />
So the problem is we cannot authenticate with username, because Alfresco doesn&#8217;t know how to do that and on the other hand we cannot use distinguished name to authenticate, which Alfresco knows how to do, but cannot store as author in the database. Version of Alfresco which we are using is Labs 3.0.<br />
So, can you please suggest how this problem can be resolved.<br />
Thank you in advance for all your suggestions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2007/05/15/753/comment-page-1#comment-32520</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Mon, 23 Mar 2009 13:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2007/05/15/753#comment-32520</guid>
		<description>Robert,

You can extend the auth component and make it behave differently than how it does out-of-the-box. I believe it is just doing a bind by substituting in the user name provided into the pattern specified in the authentication properties. It sounds like that won&#039;t work for you and that what you&#039;ll have to do is do a search first, then bind if you return a hit, otherwise fail. That&#039;s definitely a customization of the auth component but it shouldn&#039;t be a big deal.

Regarding the second part of your question, I think what you are saying is that you want some extra properties from the LDAP directory pulled over and stored on the user object. That&#039;s a change to the sync class as well as an extension to the user object.

Also note that the sync is one-way. If you want to write back to LDAP you&#039;ll have to add that too.

Jeff</description>
		<content:encoded><![CDATA[<p>Robert,</p>
<p>You can extend the auth component and make it behave differently than how it does out-of-the-box. I believe it is just doing a bind by substituting in the user name provided into the pattern specified in the authentication properties. It sounds like that won&#8217;t work for you and that what you&#8217;ll have to do is do a search first, then bind if you return a hit, otherwise fail. That&#8217;s definitely a customization of the auth component but it shouldn&#8217;t be a big deal.</p>
<p>Regarding the second part of your question, I think what you are saying is that you want some extra properties from the LDAP directory pulled over and stored on the user object. That&#8217;s a change to the sync class as well as an extension to the user object.</p>
<p>Also note that the sync is one-way. If you want to write back to LDAP you&#8217;ll have to add that too.</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Munsky</title>
		<link>http://ecmarchitect.com/archives/2007/05/15/753/comment-page-1#comment-32111</link>
		<dc:creator>Robert Munsky</dc:creator>
		<pubDate>Wed, 11 Mar 2009 19:57:37 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2007/05/15/753#comment-32111</guid>
		<description>Hi Jeff,

do you have a suggestion about restricting the access to alfresco through ldap authetication only to a subset of ldap users? As far as i found out the ldap athenticator only tries to login the user by %s and the user format. It does not allow me to formulate a query or add filters or parameters to restrict access to certain users only.

So every user stored in a certain path in ldap can access a alfresco.

Do you recommend reimplementing/extending the auth component? Does anyone have any exp with that?

And, the sync mechanism of alfresco should be enhanced too to add a special group or object type or attribute, whatever is used for filtering, to the new users created in alfresco and synced back to ldap.

Any hint, link or suggestion is higly welcome,

Robert</description>
		<content:encoded><![CDATA[<p>Hi Jeff,</p>
<p>do you have a suggestion about restricting the access to alfresco through ldap authetication only to a subset of ldap users? As far as i found out the ldap athenticator only tries to login the user by %s and the user format. It does not allow me to formulate a query or add filters or parameters to restrict access to certain users only.</p>
<p>So every user stored in a certain path in ldap can access a alfresco.</p>
<p>Do you recommend reimplementing/extending the auth component? Does anyone have any exp with that?</p>
<p>And, the sync mechanism of alfresco should be enhanced too to add a special group or object type or attribute, whatever is used for filtering, to the new users created in alfresco and synced back to ldap.</p>
<p>Any hint, link or suggestion is higly welcome,</p>
<p>Robert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shrini</title>
		<link>http://ecmarchitect.com/archives/2007/05/15/753/comment-page-1#comment-31442</link>
		<dc:creator>Shrini</dc:creator>
		<pubDate>Wed, 25 Feb 2009 07:20:27 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2007/05/15/753#comment-31442</guid>
		<description>Hi Jeff, when we were trying to configure LDAP we are getting the CIFS error you mentioned. Were you able get this working? Can you please post the workaround? 
We tried in both 2.2 and 3.1 labs versions. No luck. 

-Shrini</description>
		<content:encoded><![CDATA[<p>Hi Jeff, when we were trying to configure LDAP we are getting the CIFS error you mentioned. Were you able get this working? Can you please post the workaround?<br />
We tried in both 2.2 and 3.1 labs versions. No luck. </p>
<p>-Shrini</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2007/05/15/753/comment-page-1#comment-5400</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Tue, 04 Sep 2007 02:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2007/05/15/753#comment-5400</guid>
		<description>@Archana, the Alfresco wiki has a section on configuring LDAP that should help you if you have not seen it already: http://wiki.alfresco.com/w/index.php?title=Enterprise_Security_and_Authentication_Configuration

The steps are similar to extending any other piece of Alfresco such as creating an extension directory and using bean configuration files. In this case, the file you are looking for is called ldap-authentication-context.xml. There may be a .sample file in your distribution of Alfresco you can look at for an example.

I&#039;d recommend you get it working on your local machine against something like OpenLDAP and then try it out on your server.</description>
		<content:encoded><![CDATA[<p>@Archana, the Alfresco wiki has a section on configuring LDAP that should help you if you have not seen it already: <a href="http://wiki.alfresco.com/w/index.php?title=Enterprise_Security_and_Authentication_Configuration" rel="nofollow">http://wiki.alfresco.com/w/index.php?title=Enterprise_Security_and_Authentication_Configuration</a></p>
<p>The steps are similar to extending any other piece of Alfresco such as creating an extension directory and using bean configuration files. In this case, the file you are looking for is called ldap-authentication-context.xml. There may be a .sample file in your distribution of Alfresco you can look at for an example.</p>
<p>I&#8217;d recommend you get it working on your local machine against something like OpenLDAP and then try it out on your server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Archana</title>
		<link>http://ecmarchitect.com/archives/2007/05/15/753/comment-page-1#comment-5337</link>
		<dc:creator>Archana</dc:creator>
		<pubDate>Thu, 23 Aug 2007 05:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2007/05/15/753#comment-5337</guid>
		<description>We have configured NTLM,but unable to procedd further.In wiki or forums they said to configure ldap but stpes were not clear i mean like which files &amp; what are the changes required at different places.Please anybody help out us in these regard.it is very important to us.</description>
		<content:encoded><![CDATA[<p>We have configured NTLM,but unable to procedd further.In wiki or forums they said to configure ldap but stpes were not clear i mean like which files &amp; what are the changes required at different places.Please anybody help out us in these regard.it is very important to us.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff B.</title>
		<link>http://ecmarchitect.com/archives/2007/05/15/753/comment-page-1#comment-3308</link>
		<dc:creator>Jeff B.</dc:creator>
		<pubDate>Wed, 16 May 2007 23:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2007/05/15/753#comment-3308</guid>
		<description>A follow-up question related to the user home folders during import.  If I want to import users from an LDAP, but I don&#039;t want them to have a home folder until/if they actually sign in.  

Can I accomplish this by setting the homeFolderProviderFolder to null in the ldap-authentication-context.xml?  For example:



    
           
    

</description>
		<content:encoded><![CDATA[<p>A follow-up question related to the user home folders during import.  If I want to import users from an LDAP, but I don&#8217;t want them to have a home folder until/if they actually sign in.  </p>
<p>Can I accomplish this by setting the homeFolderProviderFolder to null in the ldap-authentication-context.xml?  For example:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff B.</title>
		<link>http://ecmarchitect.com/archives/2007/05/15/753/comment-page-1#comment-3307</link>
		<dc:creator>Jeff B.</dc:creator>
		<pubDate>Wed, 16 May 2007 23:15:20 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2007/05/15/753#comment-3307</guid>
		<description>Timely blog as I was just connecting Alfresco to a Novell LDAP today.  

One major gotcha I ran into was that once I was using LDAP for an authenticator, CIFS would no longer work.  It throws an authentication related error at startup.

After some research on the forums and wiki, sounds like CIFS requires an MD4 password hash, which is not supported by most LDAP servers.  I verified Novell&#039;s eDirectory certainly does not support it.  Not 100% sure if OpenLDAP could.

Now looking for a workaround to use Samba and pass CIFS authentciation through Samba to the LDAP.  Do-able, but not crazy about adding another link in the chain.

Just something to be aware of before making the change to LDAP.</description>
		<content:encoded><![CDATA[<p>Timely blog as I was just connecting Alfresco to a Novell LDAP today.  </p>
<p>One major gotcha I ran into was that once I was using LDAP for an authenticator, CIFS would no longer work.  It throws an authentication related error at startup.</p>
<p>After some research on the forums and wiki, sounds like CIFS requires an MD4 password hash, which is not supported by most LDAP servers.  I verified Novell&#8217;s eDirectory certainly does not support it.  Not 100% sure if OpenLDAP could.</p>
<p>Now looking for a workaround to use Samba and pass CIFS authentciation through Samba to the LDAP.  Do-able, but not crazy about adding another link in the chain.</p>
<p>Just something to be aware of before making the change to LDAP.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
