Open bbigras opened 7 years ago
same issue here with CentOS release 6.6 (Final)
/usr/local/src/nginx-auth-ldap/ngx_http_auth_ldap_module.c:1394: error: dereferencing pointer to incomplete type /usr/local/src/nginx-auth-ldap/ngx_http_auth_ldap_module.c:1404: error: dereferencing pointer to incomplete type
@tianjiaolaozu You may be interested in ngx_http_auth_request_module. Basically you can code another simple http server that will handle the authentification and the response codes will tell nginx if the user is authenticated or not. I prefer this since it will never break between nginx updates and you don't have to build nginx yourself.
@bbigras I also ran into this issue on redhat 7 when I enable both http_ssl_module and this ldap module. However, if only this ldap module, everything is fine. Do you know how to solve it? Thanks a lot!
@evacao1225 I gave up on using this module. It was a lot simpler to use the official ngx_http_auth_request_module and write a simple program to do the LDAP stuff and return the right HTTP status code.
@bbigras Do you have an example on how to do that?
nginx-1.11.4