<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Forum posts to 'Extending and hacking'</title>
		<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/</link>
		

		
		<item>
			<title>Re: External Authenticator</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=152341</link>
			<description>Hi Lancer,&lt;br /&gt;&lt;br /&gt;You hint in one of the docs that it would be possible to remove the original simple machines auth tab - how can I do that?&lt;br /&gt;&lt;br /&gt;TIA&lt;br&gt;&lt;br&gt;Posted to: External Authenticator</description>
			<pubDate>Sun, 24 Aug 2008 02:50:23 +1200</pubDate>
			<author>Matt Hardwick</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=152341</guid>
		</item>
		
		<item>
			<title>Importing members?</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=79251</link>
			<description>I can now happily authenticate against my Active Directory using the External Authenticator module but it still requires manually setting up all my 50 members in the Security tab of Silverstripe... For example, it would be really good to be able to import the required details from my Active Directory directly, or at least via a text file.&lt;br /&gt;&lt;br /&gt;[b]Would it be possible to have a &quot;Import Members&quot; button next to the &quot;Add Member&quot; button?[/b] &lt;br&gt;&lt;br&gt;Posted to: External Authenticator</description>
			<pubDate>Wed, 28 May 2008 16:50:32 +1200</pubDate>
			<author>Alex Smith</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=79251</guid>
		</item>
		
		<item>
			<title>Re: External Authenticator</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=79246</link>
			<description>After following [url]http://doc.silverstripe.com/doku.php?id=installation-on-windows[/url]&lt;br /&gt;and then selecting php_ldap from PHP-&amp;gt;PHP Extensions, I installed a clean copy of the auth_external module, setup _config.php, removed &quot;array&quot; from the &quot;authenticate&quot; function in ExternalAuthenticator.php and set the &quot;ID to be used with this source&quot; for the Member. &lt;br /&gt;&lt;br /&gt;[b]Now it works! Thanks lancer for all your help and thanks other people who chipped in too :D [/b]&lt;br&gt;&lt;br&gt;Posted to: External Authenticator</description>
			<pubDate>Wed, 28 May 2008 16:33:39 +1200</pubDate>
			<author>Alex Smith</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=79246</guid>
		</item>
		
		<item>
			<title>Re: External Authenticator</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=78376</link>
			<description>Sorry, I'm now downloading 2.2.2 :)&lt;br&gt;&lt;br&gt;Posted to: External Authenticator</description>
			<pubDate>Mon, 26 May 2008 18:55:35 +1200</pubDate>
			<author>Alex Smith</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=78376</guid>
		</item>
		
		<item>
			<title>Re: External Authenticator</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=78366</link>
			<description>The change is 2.2.2 only. With 2.2.1 and before it shouldn't be changed. I got the error message you described after upgrading to 2.2.2.&lt;br&gt;&lt;br&gt;Posted to: External Authenticator</description>
			<pubDate>Mon, 26 May 2008 18:21:06 +1200</pubDate>
			<author>Roel Gloudemans</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=78366</guid>
		</item>
		
		<item>
			<title>Re: External Authenticator</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=78296</link>
			<description>Sorry, I'm confused, I changed:&lt;br /&gt;[code]&lt;br /&gt;public static function authenticate(array $RAW_data, Form $form = null)&lt;br /&gt;[/code]&lt;br /&gt;into&lt;br /&gt;[code]&lt;br /&gt;public static function authenticate($RAW_data, Form $form = null)&lt;br /&gt;[/code]&lt;br /&gt;but now I get:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[i]Fatal error: Declaration of ExternalAuthenticator::authenticate() must be compatible with that of Authenticator::authenticate() in C:\lighttpd\htdocs\auth_external\code\ExternalAuthenticator.php on line 458[/i]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;when I do a:&lt;br /&gt;http://localhost:3000/db/build?flush=1&lt;br&gt;&lt;br&gt;Posted to: External Authenticator</description>
			<pubDate>Mon, 26 May 2008 11:34:04 +1200</pubDate>
			<author>Alex Smith</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=78296</guid>
		</item>
		
		<item>
			<title>Re: External Authenticator</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=78231</link>
			<description>It seems External Authenticator is broken for SilverStripe 2.2.2&lt;br /&gt;http://open.silverstripe.com/ticket/2536&lt;br /&gt;&lt;br /&gt;(I know, I should have tested with the RC's)&lt;br /&gt;&lt;br /&gt;This fix is very simple however. See the bug report.&lt;br /&gt;&lt;br /&gt;(PS. xzelan, correct, but I guess you found out already in the mean time)&lt;br&gt;&lt;br&gt;Posted to: External Authenticator</description>
			<pubDate>Mon, 26 May 2008 06:43:11 +1200</pubDate>
			<author>Roel Gloudemans</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=78231</guid>
		</item>
		
		<item>
			<title>Re: External Authenticator</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=75351</link>
			<description>Thanks Matthias! That may have fixed it for me also. Now I get the message below, which I think is just some code we were using for testing. Is that correct Lancer?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;hello(sAMAccountName=silverstripe)Array ( [count] =&amp;gt; 1 [0] =&amp;gt; Array ( [samaccountname] =&amp;gt; Array ( [count] =&amp;gt; 1 [0] =&amp;gt; silverstripe ) [0] =&amp;gt; samaccountname [count] =&amp;gt; 1 [dn] =&amp;gt; CN=silverstripe,CN=Users,DC=totaleyecare,DC=com,DC=au ) ) &lt;br&gt;&lt;br&gt;Posted to: External Authenticator</description>
			<pubDate>Mon, 19 May 2008 12:13:44 +1200</pubDate>
			<author>Alex Smith</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=75351</guid>
		</item>
		
		<item>
			<title>Re: External Authenticator</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=74242</link>
			<description>Hi @all&lt;br /&gt;&lt;br /&gt;I had the same problem as xzelan and was stuck at the error message &quot;Could not bind to LDAP server.&quot; (Windows Small Business Server 2003 with SP2)&lt;br /&gt;&lt;br /&gt;But after I have changed the user name in the second last line of the _config.php from the DN to the UPN (User Principal Name), it worked immediately.&lt;br /&gt;&lt;br /&gt;[code]ExternalAuthenticator::setOption('testldap', 'bind_as',[color=red]'testuser@your.domain'[/color]); [/code]&lt;br /&gt;&lt;br /&gt;Hope that helps.&lt;br /&gt;Matthias&lt;br /&gt;&lt;br&gt;&lt;br&gt;Posted to: External Authenticator</description>
			<pubDate>Sat, 17 May 2008 01:41:20 +1200</pubDate>
			<author>Matthias Junge</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=74242</guid>
		</item>
		
		<item>
			<title>Re: External Authenticator</title>
			<link>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=66843</link>
			<description>I've attached a screenshot of JXplorer happily browsing the AD using the &quot;silverstripe&quot; username as you suggested, rather than &quot;Administrator&quot;. However, I still get &quot;Could not bind to LDAP server.&quot;&lt;br /&gt;&lt;br /&gt;I've also attached a screenshot of the security tab of the cms.&lt;br&gt;&lt;br&gt;Posted to: External Authenticator</description>
			<pubDate>Wed, 07 May 2008 15:31:45 +1200</pubDate>
			<author>Alex Smith</author>
			<guid>http://www.silverstripe.com/extending-hacking-silverstripe-forum/show/7863?showPost=66843</guid>
		</item>
		

	</channel>
</rss>
