Navigate/Search

WPMU-LDAP: WPMU 1.2.5a Incompatibility

After a hiatus, I return! … with less-than-stellar news.

The WPMU-LDAP Authentication plugin is, unfortunately, incompatible with WPMU 1.2.5a. I haven’t spent time with WPMU recently, so I missed the release of the new version.

The plugin architecture changed (accidentally, apparently), and so the LDAP Auth plugin no longer can employ the fairly trivial hack to /mu-plugins/pluggable.php it used before. The text of the original news at our SourceForge project is here:

As most people probably know at this point, WPMU 1.2.5a is *incompatible* with the LDAP Authentication plugin. This is unfortunate, but hopefully we’ll be able to address the issue soon.

For the technically minded:
The problem lies in changes made to WPMU in its plugin architecture, specifically with the removal of the mu-plugins.php/pluggable.php file. The code for that was merged into wp-includes/wpmu-functions.php, which causes problems with overriding the wp_login method. I’ve entered a ticket to address this, hopefully, into Trac for WPMU. You can see it here: http://trac.mu.wordpress.org/ticket/439. If you’re at all interested in this project, and want to continue using LDAP Authentication (without lots and lots of core hacks), please consider posting a comment in support of the change requested by the ticket.

Fortunately, donncha was quick to respond with a fix, and I wrote an update news item at SF.net:

There’s been an update. Donncha has restored the pluggable.php code with the recent merge of WP 2.3 code. So the next release should fix things. See http://trac.mu.wordpress.org/changeset/1069.

If you’d like to use this plugin with WPMU 1.2.5a, then you will need to employ a hack to wpmu-functions.php to extract the pluggable.php code.

I wish it were done in a separate, pre-WP 2.3 checkin, so that we could just update to that version, but alas, it was not meant to be.

I think the hack to get everything working again is still pretty trivial, we just now have two core hacks to make the plugin work with WPMU.

  1. Modify /wp-includes/wpmu-functions.php to remove the code that was previously in pluggable.php. That’s lines 1862 through 2017.
  2. Recreate pluggable.php as it is packaged with this plugin.

I need to test it out, but I’m pretty sure that this will work.

-sean

The Market as a Conversation

The Market has been changing.  Yes, that’s a capital ‘M’… for, um, Media.

I was recently reading about shifts in teh intertubes and the companies that are trying to operate and adapt to them, especially the media megaliths and content publishers.   I’m not the first to notice that it’s no the same world that we grew up in when it comes to where and when we find our news and entertainment.

But, on a whim, I jumped to Wikipedia to see what it had to say about Web 2.0.  I was looking for some lead-links to other content or interesting points.  (I frequently do this when I want a springboard into more detail.  I don’t trust the content outright, but if I want an overview of these large-scope topics, I find it’s often a better starting point than any search engine, since it’s compacted, boiled-down stew of ideas)

One or two particular phrases jumped out at me in the definition section.  The first one, that, to me, really sums up the way the expectations for which audiences (i.e., you and me) will rant, rave and possibly tar and feather, is the quote that states that “the market [is] a conversation”.  It’s beautiful.

I mean, you can argue it’s always been that way.  You speak with your wallet.  But I always felt that it was overbearingly one-sided.  The Man told us what music to listen to, what books to read, and what movies to use to melt our brains, purely through what they decided to publish.  If it wasn’t approved by Senor Megalith, Talent Scout of World-Runners Corporation, it wouldn’t get out there.  You just had to pick what was CEO-tested, Megalith approved.

Now, though, there’s (more) two-way conversations going on.  Musicians can self-publish through various community means, or just through bold online gambles (a la Jonathan Coulton).  New has been solidly online for a while, but now there are millions of editors to make commentaries.  Book publishers don’t have to take as much of a risk on a writer, and can just use on-demand printing (e.g., like mentioned here).  Heck, writers can just jump online and market a blog instead of going the print route.  And need I even mention YouTube?  There’s so much less of a need for Senor Megalith, so I say, screw ‘im.

And I think that megaliths are being forced to listen a bit more, too.  It’s not always the same; the music and movie companies have fought democratization & distribution of media (I think because they know that they will not be able to monopolize the market anymore), newprint companies are scrambling, and book publishers are at least thinking about how to make it easier and cheaper (maybe even looking at more electronic means…?).  They have to listen more closely to what they audience is doing, and now the audience has more of a voice.

I don’t think the companies want massive blogging outcries, as it eventually trickles out to even those that don’t participate in Web 2.0 directly.  They’re listening, at least with one ear.  For now.

-sean