In order to keep an ldap session bound with a specific user DN and password, I have to store the user's password in plain-text and carry it along as a session variable or some other variable. To avoid this, I tried to think of a way to one-time authenticate the user and "carry along" the connection. This requires a persistent connection. Unfortunately, I had to hack the php ldap extension to make persistent connections.
does anyone know of an easier way of doing this?