Welcome! Log In Create A New Profile

Advanced

Re: nginx authentication and authorization

Keith Brown
October 02, 2021 07:50AM
Thanks. This looks interesting. I am afraid its a bit over my head. I
am not sure how this could validate if $remote_user is in my LDAP
group.

On Fri, Oct 1, 2021 at 5:35 PM Sergey A. Osokin <osa@freebsd.org.ru> wrote:
>
> On Fri, Oct 01, 2021 at 04:32:59PM -0400, Keith Brown wrote:
> > any help?
> >
> > On Tue, Sep 28, 2021 at 3:29 PM Keith Brown <keith6014@gmail.com> wrote:
> > >
> > > I have two modules: spnego-http-auth-nginx-module and nginx-auth-ldap
> > > working perfectly.
> > >
> > > However, I am just not sure how to make them work together.
> > > I have an endpoint
> > >
> > > I have an end point /login which gives me the remote_user because I
> > > am using auth_gss. How can I use that information to check if the user
> > > is in a LDAP group?
>
> Both modules are third-party module, not sure if authors of those are
> subscribers of this mailing list.
>
> In any cases, a potential solution may need to utilize the auth_request module
> http://nginx.org/en/docs/http/ngx_http_auth_request_module.html and the
> NGINX JavaScript module, http://nginx.org/en/docs/http/ngx_http_js_module.html
> as well.
>
> --
> Sergey Osokin
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx authentication and authorization

Keith Brown September 28, 2021 03:30PM

Re: nginx authentication and authorization

Keith Brown October 01, 2021 04:36PM

Re: nginx authentication and authorization

Sergey A. Osokin October 01, 2021 05:36PM

Re: nginx authentication and authorization

Keith Brown October 02, 2021 07:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 125
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready