<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress Support Forums Tag: LDAP</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress Support Forums Tag: LDAP</description>
<language>en</language>
<pubDate>Fri, 09 Jan 2009 03:16:30 +0000</pubDate>

<item>
<title>_ck_ on "Posting without logging in--don't want!"</title>
<link>http://bbpress.org/forums/topic/posting-without-logging-in-dont-want#post-18834</link>
<pubDate>Mon, 01 Sep 2008 08:25:45 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">18834@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This all comes down to the ldap so you are going to have to ask the author directly (apparently Sam who is very busy these days on bbPress 1.0 development)  or hope that there are other ldap users who know. Personally I have to go lookup what the heck ldap is in the first place ;-)&#60;/p&#62;
&#60;p&#62;I will suggest this much - if you are using 1.0 alpha, the plugin has probably broken compatibility with it and is only meant for 0.9
&#60;/p&#62;</description>
</item>
<item>
<title>geekymom on "Posting without logging in--don't want!"</title>
<link>http://bbpress.org/forums/topic/posting-without-logging-in-dont-want#post-18791</link>
<pubDate>Fri, 29 Aug 2008 22:16:18 +0000</pubDate>
<dc:creator>geekymom</dc:creator>
<guid isPermaLink="false">18791@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;More about this---When I click on the New Topic link, I get this error:&#60;/p&#62;
&#60;p&#62;Warning: ldap_search() [function.ldap-search]: Search: Operations error in /var/www/html/bbpress/my-plugins/ldap-authentication.php on line 337&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/bbpress/my-plugins/ldap-authentication.php:337) in /var/www/html/bbpress/bb-includes/pluggable.php on line 188&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/bbpress/my-plugins/ldap-authentication.php:337) in /var/www/html/bbpress/bb-includes/pluggable.php on line 228&#60;/p&#62;
&#60;p&#62;But if I go into a topic and at the bottom, it says, you must log in to post, when you click on the login link, which goes to bb-login.php, a blank user is created and they can do anything.
&#60;/p&#62;</description>
</item>
<item>
<title>geekymom on "Posting without logging in--don't want!"</title>
<link>http://bbpress.org/forums/topic/posting-without-logging-in-dont-want#post-18790</link>
<pubDate>Fri, 29 Aug 2008 22:10:33 +0000</pubDate>
<dc:creator>geekymom</dc:creator>
<guid isPermaLink="false">18790@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;So, I have my site set up to log in through ldap, but now, for some reason, you can post without needing to log in at all.  I have added a couple of plugins--polls, social media, and topics--but I wouldn't think that would affect anything.  I do know that I got an error when I tried to add a new topic before when not logged in.  Any ideas?
&#60;/p&#62;</description>
</item>
<item>
<title>geekymom on "LDAP Plugin"</title>
<link>http://bbpress.org/forums/topic/ldap-plugin#post-18788</link>
<pubDate>Fri, 29 Aug 2008 18:24:39 +0000</pubDate>
<dc:creator>geekymom</dc:creator>
<guid isPermaLink="false">18788@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hello, since everyone's been so helpful here, I thought I would give a little back.  This seemed like the place to post this.  I spent the last few days working with my system administrator to get the ldap plugin to work with our AD.  We had done this successfully with WordPress and we were going to integrate bbpress with WordPress, but that layer of complication with ldap on WPMU made it too complex.&#60;/p&#62;
&#60;p&#62;So we decided to leave bbpress on its own and use the ldap plugin posted here.  Only we couldn't get it to work at first.  When we finally got it working, the local logins, specifically the Key Master account, could no longer log in.  So here's what we changed to make it work:&#60;/p&#62;
&#60;p&#62;(1) in function connectUser, where $uid is set (line 327), change the first chunk of the string from 'uid=' to 'cn=' (this change may be specific to Windows/AD LDAP).&#60;/p&#62;
&#60;p&#62;(2) in same function, comment out line 344 (ldap_unbind) because it is both redundant with line 345 and is using the wrong parameter (wants a connection object but $result is just a boolean value).&#60;/p&#62;
&#60;p&#62;(3) in function newUser, add the user_nicename field to the database insertion and set it to the variable $user_login. This is a unique key in the database, and if it's not set, all user additions after the first one will fail because of a duplicate (blank) key field.&#60;/p&#62;
&#60;p&#62;We still don't have local logins working, but that's okay for us because we don't want them. It might be something we'll want to use in the future. I hope this helps anyone who might want to use this.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "BBPress &#038; LDAP Plug-in?"</title>
<link>http://bbpress.org/forums/topic/bbpress-038-ldap-plug-in#post-7297</link>
<pubDate>Tue, 08 May 2007 12:28:59 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">7297@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Active Directory can be interrogated using the PHP LDAP functions, but it may need to do different things to what this plugin does. I don't have an AD server to test against, so I won't be building the functionality into this plugin any time soon. You still need to configure PHP with ldap to bind to active directory.
&#60;/p&#62;</description>
</item>
<item>
<title>mierow on "BBPress &#038; LDAP Plug-in?"</title>
<link>http://bbpress.org/forums/topic/bbpress-038-ldap-plug-in#post-7290</link>
<pubDate>Mon, 07 May 2007 19:18:57 +0000</pubDate>
<dc:creator>mierow</dc:creator>
<guid isPermaLink="false">7290@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Curious to know if anyone has gotten this to work with Active Directory?  We're looking at getting this authenticated using LDAP and AD, but the plug-in from above hasn't worked with that.  Any insight would be appreciated.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers 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>sambauers</dc:creator>
<guid isPermaLink="false">4707@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;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 &#34;o=Lions&#34; 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.
&#60;/p&#62;</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>&#60;p&#62;Hi&#60;br /&#62;
thanks for the quick reply.&#60;/p&#62;
&#60;p&#62;Yes the IP, userid, pass  is correct.&#60;br /&#62;
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.&#60;/p&#62;
&#60;p&#62;Have tried both TLS on/off.&#60;br /&#62;
I am fairly certain that the firewall is set ok.&#60;br /&#62;
We have other applications using the ldap server successfully, however from different servers.&#60;/p&#62;
&#60;p&#62;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?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;

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

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

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

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

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

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

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

   echo &#38;quot;Closing connection&#38;quot;;
   ldap_close($ds);

} else {
   echo &#38;quot;&#38;lt;h4&#38;gt;Unable to connect to LDAP server&#38;lt;/h4&#38;gt;&#38;quot;;
}
?
&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>sambauers 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>sambauers</dc:creator>
<guid isPermaLink="false">4656@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'd need more info to help out. But assuming:&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;The host/ip and optionally the port specified is correct.&#60;/li&#62;
&#60;li&#62;The domain string is correct.&#60;/li&#62;
&#60;li&#62;You are logging in using the uid of the user, not their full name. Usually &#34;johndoe&#34; instead of &#34;John Doe&#34;.&#60;/li&#62;
&#60;li&#62;Your password is correct&#60;/li&#62;
&#60;/ol&#62;
&#60;p&#62;Try these steps:&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;Turn off TLS encryption if it is on. Some webservers don't handle requesting TLS connections.&#60;/li&#62;
&#60;li&#62;Check the LDAP server firewall to see if it is letting you in.&#60;/li&#62;
&#60;li&#62;Make sure you have set any necessary options.&#60;/li&#62;
&#60;/ol&#62;
&#60;p&#62;Can you connect to your LDAP server using any other tools, web sites on the same server as bbPress?
&#60;/p&#62;</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>&#60;p&#62;i am trying to get the LDAP plugin to work however I get the following error when using the LDAP Plugin with BBPress,&#60;/p&#62;
&#60;p&#62;Warning: ldap_bind(): Unable to bind to server: No such object in /srv/www/htdocs/forum/my-plugins/ldap-authentication.php on line 322&#60;/p&#62;
&#60;p&#62;any ideas on howto fix?
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "BBPress &#038; LDAP Plug-in?"</title>
<link>http://bbpress.org/forums/topic/bbpress-038-ldap-plug-in#post-3498</link>
<pubDate>Mon, 22 Jan 2007 06:25:25 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">3498@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;If you change the plugin or the readme, the plugin browser will change the information and automatically set itself to download the files.   Nothing user set I don't think.&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "BBPress &#038; LDAP Plug-in?"</title>
<link>http://bbpress.org/forums/topic/bbpress-038-ldap-plug-in#post-3497</link>
<pubDate>Mon, 22 Jan 2007 06:11:20 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">3497@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;On a related topic, how do I update the downloadable file? Or is it somehow magically built from source?&#60;/p&#62;
&#60;p&#62;Edit: I mean the downloadable file in the plugins browser.
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "BBPress &#038; LDAP Plug-in?"</title>
<link>http://bbpress.org/forums/topic/bbpress-038-ldap-plug-in#post-3496</link>
<pubDate>Mon, 22 Jan 2007 05:16:48 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">3496@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Great work Sam.   I am sure if Billy is still around he will be thankful for your great work!&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "BBPress &#038; LDAP Plug-in?"</title>
<link>http://bbpress.org/forums/topic/bbpress-038-ldap-plug-in#post-3495</link>
<pubDate>Mon, 22 Jan 2007 04:59:45 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">3495@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Version 1.0 ldap-authentication plugin was released today in &#60;a href=&#34;http://plugins-dev.bbpress.org/browser/ldap-authentication&#34;&#62;bbPress Plugin Trac&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Probably will be available via plugins area soon too.
&#60;/p&#62;</description>
</item>
<item>
<title>mdawaffe on "BBPress &#038; LDAP Plug-in?"</title>
<link>http://bbpress.org/forums/topic/bbpress-038-ldap-plug-in#post-1721</link>
<pubDate>Wed, 29 Nov 2006 20:17:57 +0000</pubDate>
<dc:creator>mdawaffe</dc:creator>
<guid isPermaLink="false">1721@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I haven't seen this WP LDAP plugin, but the answer is probably &#34;no&#34;.&#60;/p&#62;
&#60;p&#62;A similar plugin would likely have to be written for bbPress.
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "BBPress &#038; LDAP Plug-in?"</title>
<link>http://bbpress.org/forums/topic/bbpress-038-ldap-plug-in#post-1664</link>
<pubDate>Mon, 27 Nov 2006 20:16:29 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">1664@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;First off, which plugin are you using with WP for LDAP authentication?   &#60;/p&#62;
&#60;p&#62;My understanding of some of the plugins is that the user has to be created in WP first.  Not sure if they automate this process or not.  All that changes is the authentication process, the password from the LDAP server and maybe the cookie.&#60;/p&#62;
&#60;p&#62;Standard WP and bbPress integration works with sharing the WP users.   If the LDAP plugin doesn't use the WP user password, not sure if this information would move over to bbPress.&#60;/p&#62;
&#60;p&#62;Short of testing it, I would imagine it would depend on whether the password is updated in the WP users table of the database.  Maybe ask the plugin author if he/she thinks this would be possible?&#60;/p&#62;
&#60;p&#62;Another thing, there is a plugin that pulls the users out of WP into bbPress.   That being said, if the username and password are stored in WP, then there shouldn't be a problem integrating even with using LDAP.&#60;/p&#62;
&#60;p&#62;Of course, if someone else knows something that could be added to this discussion, please do!&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>billybobjcv on "BBPress &#038; LDAP Plug-in?"</title>
<link>http://bbpress.org/forums/topic/bbpress-038-ldap-plug-in#post-1663</link>
<pubDate>Mon, 27 Nov 2006 20:01:07 +0000</pubDate>
<dc:creator>billybobjcv</dc:creator>
<guid isPermaLink="false">1663@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Does the WP-BBPress integration work if WP is using the LDAP plug-in for authentication?  In other words, if a user has been authenticated via LDAP to WP, can that user be automatically authenticated to BBPress?  Or, if the user must be challenged again to enter BBPress, can BBPress also use LDAP for authentication?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
