Welcome! Log In Create A New Profile

Advanced

LDAP + Header Rewrite

July 11, 2013 05:45AM
We have been looking around for a while on this one without luck so I figured I would see if anyone here might have an idea. Nginx seems to be able to do everything if you can just figure out how :)

We are trying to use nginx as a reverse proxy / trusted intermediary for authentication. We would like to have nginx authenticate via LDAP for us and then add a header to the request representing the authenticated user and the groups they belong to eg:

"TrustedIntermediaryUserInformation: greg; admins, all, users"

We have LDAP authentication working and we have nginx working as a pass through. We are just unsure of how to get the information from the LDAP module to add the header.

Thanks in advance,

Greg
Subject Author Posted

LDAP + Header Rewrite

GregYoung July 11, 2013 05:45AM

Re: LDAP + Header Rewrite

Francis Daly July 11, 2013 06:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 54
Record Number of Users: 6 on August 08, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready