Open phlegx opened 9 years ago
I am also getting that parse error.. Although it does seem to work regardless of the error.
For the Setting group
and parse_require
messages, see #88
I am also getting the same issue. _http_auth_ldap: parse_require in /etc/nginx/nginx.conf_
I am trying to use the following test server with my nginx. URL: http://www.forumsys.com/en/tutorials/integration-how-to/ldap/online-ldap-test-server/
ldap_server test1 { url ldap://ldap.forumsys.com:389/ou=scientists,dc=example,dc=com?sAMAccountName?sub?(objectClass=person); binddn "tesla"; binddn_passwd "password"; group_attribute "scientists"; group_attribute_is_dn on; require "tesla"; }
Can anyone please share the solution here. Thanks.
Hi there,
Adding the LDAP stuff as you suggest on your Wiki page does work fine. Authentication does work also with groups. However restarting nginx throws me some errors:
Not sure why this happens. Also I have an issue with the second group. Somehow it is not recognized, it was working like that with apache httpd but not with Nginx LDAP module I'm afraid.
Here is my Nginx config file:
If someone can help me that would be really great, thanks!