<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<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"
		>
	<channel>
		<title>bbPress Support Forums &#187; Topic: LDAP Plugin Help</title>
		<link>http://bbpress.org/forums/topic/ldap-plugin-help</link>
		<description>bbPress Support Forums &#187; Topic: LDAP Plugin Help</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 06:38:19 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/forums/rss/topic/ldap-plugin-help" rel="self" type="application/rss+xml" />

		<item>
			<title>beatbox433 on "LDAP Plugin Help"</title>
			<link>http://bbpress.org/forums/topic/ldap-plugin-help#post-60515</link>
			<pubDate>Tue, 10 Nov 2009 17:21:27 +0000</pubDate>
			<dc:creator>beatbox433</dc:creator>
			<guid isPermaLink="false">60515@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>I'm having the same problem as the original poster. (Note - error is from line 332.)<br />
I changed uid= to cn= in the connectUser function, but that didn't help.<br />
I have the WPMU LDAP plugin working OK, using the same server settings.<br />
Any ideas on possible fixes?<br />
Thanks.
</p>]]></description>
					</item>
		<item>
			<title>IanKwok on "LDAP Plugin Help"</title>
			<link>http://bbpress.org/forums/topic/ldap-plugin-help#post-59839</link>
			<pubDate>Thu, 22 Oct 2009 10:12:14 +0000</pubDate>
			<dc:creator>IanKwok</dc:creator>
			<guid isPermaLink="false">59839@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>I am having problem with the bb_get_user() function in the ldap_authentication plugin, it is not returning any value although the $user variable shows a valid user id.  Because of this the plugin will try to create a new user which resulted in an error - 'Failed to add new LDAP user to local database.'</p>
<p>Can someone please help?
</p>]]></description>
					</item>
		<item>
			<title>crazychester on "LDAP Plugin Help"</title>
			<link>http://bbpress.org/forums/topic/ldap-plugin-help#post-36721</link>
			<pubDate>Thu, 11 Jun 2009 17:02:26 +0000</pubDate>
			<dc:creator>crazychester</dc:creator>
			<guid isPermaLink="false">36721@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>I am also having difficulty getting the ldap plugin to authenticate.<br />
I can connect via command line (telnet) and my portal also authenticates with a user/pass bind specifically created for that purpose.<br />
I simply get a [HTTP 500] error on the [bb-login.php] page after attempting to log in with AD credentials.
</p>]]></description>
					</item>
		<item>
			<title>Sam Bauers on "LDAP Plugin Help"</title>
			<link>http://bbpress.org/forums/topic/ldap-plugin-help#post-4707</link>
			<pubDate>Wed, 21 Feb 2007 02:32:02 +0000</pubDate>
			<dc:creator>Sam Bauers</dc:creator>
			<guid isPermaLink="false">4707@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>The LDAP-Auth plugin does not bind anonymously, it binds as the user who is trying to log in, and it searches for that users UID in the specified domain. If your users are all in the "o=Lions" domain you specified in your search, then that should be it. Provided that they have a valid uid/password in that branch of your LDAP tree they should be able to authenticate.
</p>]]></description>
					</item>
		<item>
			<title>rkruk on "LDAP Plugin Help"</title>
			<link>http://bbpress.org/forums/topic/ldap-plugin-help#post-4670</link>
			<pubDate>Mon, 19 Feb 2007 23:05:51 +0000</pubDate>
			<dc:creator>rkruk</dc:creator>
			<guid isPermaLink="false">4670@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Hi<br />
thanks for the quick reply.</p>
<p>Yes the IP, userid, pass  is correct.<br />
The domain string is where i may be having trouble as i am not sure wat to put in there. I have tried multiple domain strings but no success.</p>
<p>Have tried both TLS on/off.<br />
I am fairly certain that the firewall is set ok.<br />
We have other applications using the ldap server successfully, however from different servers.</p>
<p>I have successfully used the following code example to produce a connection and return a result from the LDAP server. maybe this can help you debug the issue?</p>
<pre><code>

&#60;?php
// basic sequence with LDAP is connect, bind, search, interpret search
// result, close connection

echo &#34;&#60;h3&#62;LDAP query test 2&#60;/h3&#62;&#34;;
echo &#34;Connecting ...&#34;;
$ds=ldap_connect(&#34;192.168.1.73&#34;);  // must be a valid LDAP server!
echo &#34;connect result is &#34; . $ds . &#34;&#34;;

if ($ds) {
   echo &#34;Binding ...&#34;;
   $r=ldap_bind($ds);    // this is an &#34;anonymous&#34; bind, typically
                           // read-only access
   echo &#34;Bind result is &#34; . $r . &#34;&#34;;

   echo &#34;Searching for (sn=S*) ...&#34;;
   // Search surname entry
   $sr=ldap_search($ds, &#34;o=Lions&#34;, &#34;sn=S*&#34;);
   echo &#34;Search result is &#34; . $sr . &#34;&#34;;

   echo &#34;Number of entires returned is &#34; . ldap_count_entries($ds, $sr) . &#34;&#34;;

   echo &#34;Getting entries ...&#34;;
   $info = ldap_get_entries($ds, $sr);
   echo &#34;Data for &#34; . $info[&#34;count&#34;] . &#34; items returned:&#34;;

   for ($i=0; $i&#60;$info[&#34;count&#34;]; $i++) {
       echo &#34;dn is: &#34; . $info[$i][&#34;dn&#34;] . &#34;&#34;;
       echo &#34;first cn entry is: &#34; . $info[$i][&#34;cn&#34;][0] . &#34;&#34;;
       echo &#34;first email entry is: &#34; . $info[$i][&#34;mail&#34;][0] . &#34;&#60;hr /&#62;&#34;;
   }

   echo &#34;Closing connection&#34;;
   ldap_close($ds);

} else {
   echo &#34;&#60;h4&#62;Unable to connect to LDAP server&#60;/h4&#62;&#34;;
}
?
</code></pre>]]></description>
					</item>
		<item>
			<title>Sam Bauers on "LDAP Plugin Help"</title>
			<link>http://bbpress.org/forums/topic/ldap-plugin-help#post-4656</link>
			<pubDate>Mon, 19 Feb 2007 15:35:17 +0000</pubDate>
			<dc:creator>Sam Bauers</dc:creator>
			<guid isPermaLink="false">4656@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>I'd need more info to help out. But assuming:</p>
<ol>
<li>The host/ip and optionally the port specified is correct.</li>
<li>The domain string is correct.</li>
<li>You are logging in using the uid of the user, not their full name. Usually "johndoe" instead of "John Doe".</li>
<li>Your password is correct</li>
</ol>
<p>Try these steps:</p>
<ol>
<li>Turn off TLS encryption if it is on. Some webservers don't handle requesting TLS connections.</li>
<li>Check the LDAP server firewall to see if it is letting you in.</li>
<li>Make sure you have set any necessary options.</li>
</ol>
<p>Can you connect to your LDAP server using any other tools, web sites on the same server as bbPress?
</p>]]></description>
					</item>
		<item>
			<title>rkruk on "LDAP Plugin Help"</title>
			<link>http://bbpress.org/forums/topic/ldap-plugin-help#post-4645</link>
			<pubDate>Mon, 19 Feb 2007 06:55:13 +0000</pubDate>
			<dc:creator>rkruk</dc:creator>
			<guid isPermaLink="false">4645@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>i am trying to get the LDAP plugin to work however I get the following error when using the LDAP Plugin with BBPress,</p>
<p>Warning: ldap_bind(): Unable to bind to server: No such object in /srv/www/htdocs/forum/my-plugins/ldap-authentication.php on line 322</p>
<p>any ideas on howto fix?
</p>]]></description>
					</item>

	</channel>
</rss>

