hexasoft
Hello,
we manage a dokuwiki farm and we are changing our infrastructure. Our new servers are all based on LDAP. I tried the authldap plugin but our LDAP don't have anonymous connection and I don't want to put login/password inside (in case of problem - because the server also handles "free" pages including PHP stuff).
As the linux running the webserver has a full LDAP configuration (passwd, group + auth) I wrote a little auth-plugin to rely on the PAM layer to authenticate users, and to allow to use unix associated groups in ACLs. One advantage is that the LDAP configuration is only done at system level and in is not duplicated. An other one is that we still use unix groups to handle access to many resources.
I parsed the existing auth-plugins without finding exactly what I need, that's why I created this one.
Do you think I should share this code? As I'm not familiar with dokuwiki code it may be evaluated/corrected by other, but how to get help about that? Moreover some parts are not very "clean" and should be improved (i.e. defining configuration items to better use it such as the filter part that allow to restrict existing users considered as "valid").
Best regards,
--
Hexasoft