Authentication via LDAP

Alles, was den Apache betrifft, kann hier besprochen werden.

Authentication via LDAP

Postby damn-86 » 30. September 2010 10:34

Hello,

i want to check in my .htaccess against 2 LDAP-Groups (Admin & User)
Depending on the group i want to switch the user via setEnv.

The pseudo code looks like this:

Code: Select all

If CurrentUser in LDAP-Gruppe "Admins"
      Then SetEnv Admin
If Else CurrentUser in LDAP-Gruppe "User"
      Then SetEnv Guest
Else Permit


I do not have any idea how to realize it. Can you please help me.



Best Regards,
Sven
damn-86
 
Posts: 3
Joined: 30. September 2010 10:24

Return to Apache

Who is online

Users browsing this forum: No registered users and 14 guests