Navigate/Search

WPMU LDAP 1

I’ve been working with the WPMU LDAP plugin recently, trying to configure it to make it work with WPMU 1.2.1 for our needs. It’s been a lesson in working with others’ code without coding guidelines. ;)

It more or less worked right out of the box, but there have been a lot of “weird” things I’ve found in the code, that really reflect the code’s legacy as a series of “Make it work for me” patches. Hard-coded user names, comments like “just guessing what this does as there is NO DOCUMENTATION”, and multi-hundred line functions make me roll my eyes and chuckle. :)

So I’ve been rolling up my sleeves and diving into the code, doing some refactoring, clarifying, and commenting. I hope I’ve got it right, but hopefully others that came before me will correct me if I’m wrong. I think I’m going to see about contacting the current steward of the code (of sorts) to see what can be done about managing this code… I know I’m not the only one that has an interest in using LDAP for WPMU logins.

-sean

Leave a Reply

You must be logged in to post a comment.