Talk:LdapAuthenticationPlugin

I had to insert the following method into LdapAuthentication plugin to allow for the user who is signing in to bind to ActiveDirectory. This is probably not the most efficient way of doing this - but it got the job done.

With this patch and USERNAME / PASSWORD in the config's binddn / bindpw respectively - the bind is performed by the user himself instead of polluting the config with an LDAP access account.

Also ... attributes requested in the config may not be available for all users. Net_LDAP2 throws an exception when requesting a nonexistent attribute.

Something like:

Should probably be done if this architecture is kept.

- Greg Kerr