Here is a good script for LDAP authentication in PHP.. http://bjcpgd.cias.rit.edu/index.php/2007/01/16/php-rit-ldap-authentication-function/
The specific data for your users is probably different, but if all you want to see is if their username and password are valid, this will work.
Alvaro R. Mariotti wrote:
Fellow phpers; Our shop uses the above referenced LDAP server for email authentication and I've been asked to use the same for our overall user authentication. As I delve into this task, seeing that the docs are rather sparse, I was wondering if anyone of you had ever accessed this product before? Perhaps ever, can someone reference some example php code to access even an ldap database for authentication? Thanks in advance, bobmct _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php
_______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php
