tykeal / ep_ldapauth

(Up for adoption) LDAP authentication plugin for Etherpad-lite
GNU General Public License v2.0
25 stars 20 forks source link

Better Documentation / explanation of how to setup #15

Open imp1sh opened 9 years ago

imp1sh commented 9 years ago

Thank you so much for this solution, but I don't bring it up and running. What I would need is just a little better explanation of what which parameter means.

In the first place I'd like to get authentication running in a more basic sense. Secondly I also would like to create a group within my ldap structure that selects the users that may actually use etherpad (ACL).

Thank you

tykeal commented 9 years ago

The plugin doesn't support a group ACL structure like you're requesting. The group that is defined is the group that should have administrative access. Any other user that passes the filters is allowed access to the pads.

imp1sh commented 9 years ago

Ok, thanks. What about those two parameters? "searchDN": "uid=searchuser,dc=example,dc=com", "searchPWD": "supersecretpassword", I suspect they are being to authenticate your script at the ldap service. But what if I don't want to give credentials but want to search the tree actually anonymously?

tykeal commented 9 years ago

When I was writing the module the LDAP library that I used didn't support anonymous binding. I haven't looked into if it does now or not. As such, this plugin requires a user for doing information lookups.