Emilio,
Few thoughts:
o Is the call syntax you're using for ldap_read() correct? The online
manual page describes the second parameter as being the base dn,
you're passing the user's username. ( getenv("REMOTE_USER")). I'm
surprised that this code works.
I have OpenLDAP and PHP 4.0.4p1 on a RedHat 7.1 (plain distribution, didn't
recompile anything, and I use MOD_LDAP to authenticate users to an intranet
site. I want PHP pages to show the real username so I have this function I
call when I want to know the username.
the mod_ldap queries and ldap q
2 matches
Mail list logo