<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[FluxBB.org Forums - [Extension] LDAP Authentication]]></title>
		<link>http://fluxbb.org/forums/topic/2777/extension-ldap-authentication/</link>
		<description><![CDATA[The most recent posts in [Extension] LDAP Authentication.]]></description>
		<lastBuildDate>Fri, 02 Oct 2009 08:22:54 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [Extension] LDAP Authentication]]></title>
			<link>http://fluxbb.org/forums/post/25628/#p25628</link>
			<description><![CDATA[[quote=anilj]Why not just have it so FluxBB just authenticates against the directory server, like almost all other LDAP clients do?[/quote]

Passwords hashes are only stored in the DB for FluxBB's cookies and are sync each time a user login. The authentication is done throught the centralized LDAP server.

[quote=Smartys]there's nothing preventing an extension from creating a new column, say, ldap_account, and assigning random passwords for accounts with ldap_account set to 1. Then, if the extension is uninstalled, users could request a new password and log in using it.[/quote]

This is a good option. I didn't have enough time to analyse the FluxBB's mechanics so I did something fast, but as I said I have to change the way my extension works.]]></description>
			<author><![CDATA[dummy@example.com ([HellR])]]></author>
			<pubDate>Fri, 02 Oct 2009 08:22:54 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/25628/#p25628</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Extension] LDAP Authentication]]></title>
			<link>http://fluxbb.org/forums/post/25626/#p25626</link>
			<description><![CDATA[[quote=anilj]LDAP is after all a standards based *centralized* authentication database. Of course, all this is nicely said and done, but I bet maybe the reason this has to be implemented this way is because FluxBB/PunBB architecture doesn't make this easy.[/quote]
To be fair, it's probably because it's easier to do things that way, not because FluxBB/PunBB makes it easier. ;)
A password is required for FluxBB's cookie to work, it's true. However, there's nothing preventing an extension from creating a new column, say, ldap_account, and assigning random passwords for accounts with ldap_account set to 1. Then, if the extension is uninstalled, users could request a new password and log in using it.]]></description>
			<author><![CDATA[dummy@example.com (Smartys)]]></author>
			<pubDate>Thu, 01 Oct 2009 22:51:19 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/25626/#p25626</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Extension] LDAP Authentication]]></title>
			<link>http://fluxbb.org/forums/post/25625/#p25625</link>
			<description><![CDATA[Most directory servers generally now support different hash formats, the one I use is SSHA. So, if it is SSHA based, it shouldn't delete it? Also, why use the password hash in the cookie? Does it just need a unique cookie, so why not the DN of the user?

So, from what you say, when a user logs in, the userPassword value (hashed) is then stored in the FluxBB DB. That seems very wrong. Just some feedback here, I don't know of any other application that does this. Directory servers generally have password policy (too many login failures etc...) features which protect the users in the directory server. If FluxBB then takes these passwords and stores them elsewhere, it bypasses all the security settings that one can have in the directory server. If I also change the password, then the hash does not match, so you would have to re-sync the data. All of this seems like a lot of overhead.

Why not just have it so FluxBB just authenticates against the directory server, like almost all other LDAP clients do?

LDAP is after all a standards based *centralized* authentication database. Of course, all this is nicely said and done, but I bet maybe the reason this has to be implemented this way is because FluxBB/PunBB architecture doesn't make this easy.]]></description>
			<author><![CDATA[dummy@example.com (anilj)]]></author>
			<pubDate>Thu, 01 Oct 2009 19:13:28 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/25625/#p25625</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Extension] LDAP Authentication]]></title>
			<link>http://fluxbb.org/forums/post/25533/#p25533</link>
			<description><![CDATA[Hi anilj,

This extension only sync users into the FluxBB SQL Database. The groups sync will be done in the next version which will be released simultaneous with my MultiGroups extension... But I have about 40 hooks to debug and 10 to finalize and too much work since 6 months :(

All LDAP password hash algorithms are supported because it calls the bind function. Once you are logged, your LDAP password hash, and not your clear password, is copied into the FluxBB SQL Database because this hash is needed for the cookie creation. But this is something I would like to modify in the next version, I have to think about it.

LDAP imported accounts are deleted from the FluxBB SQL Database because FluxBB uses a SSHA algorithm and the LDAP hash password stored could be of any type, so those accounts can't work without an LDAP connexion. But maybe I should put this as an option during the uninstallation.]]></description>
			<author><![CDATA[dummy@example.com ([HellR])]]></author>
			<pubDate>Sun, 20 Sep 2009 09:45:26 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/25533/#p25533</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Extension] LDAP Authentication]]></title>
			<link>http://fluxbb.org/forums/post/25526/#p25526</link>
			<description><![CDATA[I am using PunBB now but require LDAP support so I am planning the move to FluxBB. How does this extension work? What I can make out of the above thread is that all the users and groups are copied (synced) into the FluxBB database. It copies the user plus the password information.

Which type of passwords are supported? (My LDAP server uses SSHA).

Also this note: "BE CAREFULL! All imported LDAP accounts will be deleted during uninstallation.". Is it talking about deleting the accounts from the SQL database? (and not the LDAP server). Just wanted to get clarification. What's the reasoning for deleting the user information, during install, this might be a good thing to leave things as they were.

If the server is acting like some kind of a syncer, at what interval does it do the sync?

OR is this a sync only when the user logs in, and then that user's account is synced up? If so, why does the extension need userPassword access? I would prefer to not give out read access to the userPassword attribute to the Forum.]]></description>
			<author><![CDATA[dummy@example.com (anilj)]]></author>
			<pubDate>Sat, 19 Sep 2009 14:12:00 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/25526/#p25526</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Extension] LDAP Authentication]]></title>
			<link>http://fluxbb.org/forums/post/24665/#p24665</link>
			<description><![CDATA[You have to enter the base distinguished name where users and groups are located, for exemple ou=accounts,dc=exemple,dc=com and ou=groups,dc=exemple,dc=com.

A few words about the next version and my new extension MultiGroups, they will be released in 2 or 3 months... I am so so busy :(]]></description>
			<author><![CDATA[dummy@example.com ([HellR])]]></author>
			<pubDate>Wed, 29 Jul 2009 09:45:39 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/24665/#p24665</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Extension] LDAP Authentication]]></title>
			<link>http://fluxbb.org/forums/post/24664/#p24664</link>
			<description><![CDATA[Just what I was after!

However, having troubles getting it to bind.

Could you advise on what settings need to be entered into:

LDAP Accounts Context
LDAP Groups Context

Cheers!

Oli]]></description>
			<author><![CDATA[dummy@example.com (OJM)]]></author>
			<pubDate>Wed, 29 Jul 2009 09:21:17 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/24664/#p24664</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Extension] LDAP Authentication]]></title>
			<link>http://fluxbb.org/forums/post/23187/#p23187</link>
			<description><![CDATA[I think you are still in PHP4 ? No ?

PHP5 is required... Sorry I didn't write it anywhere!]]></description>
			<author><![CDATA[dummy@example.com ([HellR])]]></author>
			<pubDate>Tue, 26 May 2009 14:42:43 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/23187/#p23187</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Extension] LDAP Authentication]]></title>
			<link>http://fluxbb.org/forums/post/23162/#p23162</link>
			<description><![CDATA[When trying to Logout:

"Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/www/.../extensions/ldap_auth/includes/class_ldapconn.php on line 11"]]></description>
			<author><![CDATA[dummy@example.com (Amelotti)]]></author>
			<pubDate>Mon, 25 May 2009 05:19:57 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/23162/#p23162</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Extension] LDAP Authentication]]></title>
			<link>http://fluxbb.org/forums/post/22690/#p22690</link>
			<description><![CDATA[v0.5.1 released with major bug correction.

EDIT : This extension works with v1.3-legacy.]]></description>
			<author><![CDATA[dummy@example.com ([HellR])]]></author>
			<pubDate>Sun, 03 May 2009 11:02:59 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/22690/#p22690</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Extension] LDAP Authentication]]></title>
			<link>http://fluxbb.org/forums/post/22501/#p22501</link>
			<description><![CDATA[Little update to v0.5.

I am also working on a multigroups extension which will be release with the next ldap_auth version.]]></description>
			<author><![CDATA[dummy@example.com ([HellR])]]></author>
			<pubDate>Wed, 22 Apr 2009 08:08:08 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/22501/#p22501</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Extension] LDAP Authentication]]></title>
			<link>http://fluxbb.org/forums/post/22233/#p22233</link>
			<description><![CDATA[Thanks ;)

I hope I will have enought time to start the next version...]]></description>
			<author><![CDATA[dummy@example.com ([HellR])]]></author>
			<pubDate>Fri, 03 Apr 2009 13:09:23 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/22233/#p22233</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Extension] LDAP Authentication]]></title>
			<link>http://fluxbb.org/forums/post/22107/#p22107</link>
			<description><![CDATA[Looks very nice.]]></description>
			<author><![CDATA[dummy@example.com (Franz)]]></author>
			<pubDate>Tue, 31 Mar 2009 16:05:44 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/22107/#p22107</guid>
		</item>
		<item>
			<title><![CDATA[[Extension] LDAP Authentication]]></title>
			<link>http://fluxbb.org/forums/post/22106/#p22106</link>
			<description><![CDATA[[b]README :[/b]
[quote][h]LDAP Authentication - Add LDAP auth and groups sync to FluxBB.[/h]
[i]Copyright (C) 2009 Benoît Lelevé - [url=http://www.hellr.org]www.hellr.org[/url][/i]


[b]Installation instructions :[/b]
[list=1]
[*]Unzip this package into your FluxBB extensions directory,[/*]
[*]If you are using PostgreSQL, copy the corrected pgsql.php file to the dblayer direcroty,[/*]
[*]Install ldap_auth from the Extensions menu in the admin panel and enjoy![/*]
[/list]
You should apply the Apache directive AllowOverride FileInfo to the FluxBB directory.


[b]Additional informations :[/b]
[list=*]
[*]This extension was developed for FluxBB v1.3-legacy. Be carefull, it has not been tested on others versions,[/*]
[*]The LDAP configuration form is accessible through a new Authenticate submenu in the Admin Settings section,[/*]
[*]The database auth is not disabled. The LDAP auth starts after the database auth failed,[/*]
[*]The modification of the password or the e-mail address is not allowed in FluxBB for LDAP accounts,[/*]
[*]The bind user needs to have read access on the LDAP directory and the userPassword attribute,[/*]
[*]BE CAREFULL! All imported LDAP accounts will be deleted during uninstallation.[/*]
[/list]
The next version of this extension will introduce multigroups and LDAP groups synchronization.[/quote]


[b]CHANGELOG :[/b]
[quote][h]LDAP Authentication - Add LDAP auth and groups sync to FluxBB.[/h]
[i]Copyright (C) 2009 Benoît Lelevé - [url=http://www.hellr.org]www.hellr.org[/url][/i]


[b]2009-05-03 : LDAP Authentication v0.5.1[/b]
[list=*]
[*]Bug correction that prevent users from login.[/*]
[/list]
  
[b]2009-04-09 : LDAP Authentication v0.5.0[/b]
[list=*]
[*]Some texts have been modified in English and French language files,[/*]
[*]The email is updated during the logon process of LDAP accounts,[/*]
[*]The email modification is not allowed for LDAP accounts.[/*]
[/list]


[b]2009-03-31 : LDAP Authentication v0.4.0[/b]
[list=*]
[*]First public release.[/*]
[/list][/quote]


[b]DOWNLOAD :[/b]
[quote][url]http://bleleve-repository.googlecode.com/files/ldap_auth_v0.5.1.zip[/url][/quote]]]></description>
			<author><![CDATA[dummy@example.com ([HellR])]]></author>
			<pubDate>Tue, 31 Mar 2009 16:04:58 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/22106/#p22106</guid>
		</item>
	</channel>
</rss>
