Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-10-28 00:27:47
- jamie
- New Member
- Registered: 2005-08-18
- Posts: 2
LDAP user authentication
Has anyone fiddled with using LDAP for user authentication, or have any insight to any obvious complications implementing it might have? I havn’t seen it mentioned anywhere else so I will probably dive in and hack away since I need it for a new project.
Offline
Re: LDAP user authentication
Not sure why you would want LDAP authentication…. Do you want it for a coporation or something?
~Simon
Chat with me here!
AIM: s1monaut
http://www.simonaut.com/
Offline
Re: LDAP user authentication
LDAP stands for, Lightweight Directory Access Protocol…. It is an Internet protocol that email and other programs use to look up information from a server. It is used in many university’s since many different departments can use it as a central user list that everyone can authenicate against!
~Simon
Chat with me here!
AIM: s1monaut
http://www.simonaut.com/
Offline
Re: LDAP user authentication
A university is exactly where I’m using it in fact.
Offline
Re: LDAP user authentication
I haven’t seen any success w/LDAP and TXP. A somewhat little-known, but still good solution for universities, etc is WordPress Multiuser (I don’t especially like WordPress as a general solution, but it does the trick in this case.)
Offline
Re: LDAP user authentication
I’d be highly interested in LDAP support for Textpattern as well. The company I work for is relatively small, but LDAP is extremely useful for keeping login credentials managed and I’d love to extend it to the company blog.
Now, I’m not looking for each user to have their own blog or section or anything like that, just to use LDAP for the authentication and permissions.
Is this a possibility? Could one write a plug-in to provide this functionality?
Morgan Aldridge
http://www.makkintosshu.com/
Offline
#7 2006-03-30 22:59:30
- KurtRaschke
- Plugin Author
- Registered: 2004-05-16
- Posts: 275
Re: LDAP user authentication
I don’t think it could be done with a plugin; the necessary hooks just aren’t there. You could certainly hack txp_validate() in txp_auth.php to use the PHP LDAP functions to take the provided username and password and query an LDAP server with those values, then return true or false based on the result from ldap_count_entries().
You’d also need a little glue code to replace existing SQL queries to the txp_users table (to look up things like the author name, email address, or permissions) with the appropriate LDAP queries. Again, I don’t think the necessary hooks exist for a plugin to take over those functions, so it’d have to go in the code itself.
-Kurt
kurt@kurtraschke.com
Offline
Re: LDAP user authentication
Hmm, something I may play with eventually.
Morgan Aldridge
http://www.makkintosshu.com/
Offline
Pages: 1