tykeal / ep_ldapauth

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

Is there a way to logout? #11

Closed adigitalife closed 10 years ago

adigitalife commented 10 years ago

This may have more to do with Etherpad than your plugin but is there any way to logout? I'd like to be able to switch between admin and my "normal" LDAP account.

If logout is not possible, is it possible to set specific LDAP users to be admin?

tykeal commented 10 years ago

Actually, it's the plugin that is making it so that you can't logout. Well... more specifically, the fact that it's currently using HTTP Auth which means the only way to logout is to close your browser. I couldn't figure out a good way to do it without making other changes that would have been more invasive and not worked as well as an add on plugin.

That being said, to make specific users be admin, make sure the users are match the groupSearch feature. It should be more appropriately named adminGroupSearch not groupSearch.

adigitalife commented 10 years ago

Thanks for the quick reply! I kinda figured this was the case with logging out. Oh well.

Thanks also for the explanation of groupSearch. I was wondering what those 'group' settings were for. Unfortunately, I have no control over LDAP so I can't create and assign a specific admin group. However, since I'm the only admin I've now configured it to just search for me specifically. :)