I had a problem and probably need your help.
I connect to my site authentication via LDAP server.
Produced build from source, the module is connected nginx_auth_ldap.
At the start nginx issued the following message:
nginx: [emerg] http_auth_ldap: parse_require in /etc/nginx/nginx.conf:123
That configuration nginx:
nginx -V
nginx version: nginx/1.9.4
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
built with OpenSSL 1.0.1e-fips 11 Feb 2013
TLS SNI support enabled
configure arguments:
--prefix=/etc/nginx
--sbin-path=/usr/sbin/nginx
--conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/log/nginx/error.log
--http-log-path=/var/log/nginx/access.log
--pid-path=/var/run/nginx.pid
--lock-path=/var/run/nginx.lock
--http-client-body-temp-path=/var/cache/nginx/client_temp
--http-proxy-temp-path=/var/cache/nginx/proxy_temp
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp
--http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp
--http-scgi-temp-path=/var/cache/nginx/scgi_temp
--user=nginx
--group=nginx
--with-http_ssl_module
--with-http_realip_module
--with-http_addition_module
--with-http_sub_module
--with-http_dav_module
--with-http_flv_module
--with-http_mp4_module
--with-http_gunzip_module
--with-http_gzip_static_module
--with-http_random_index_module
--with-http_secure_link_module
--with-http_stub_status_module
--with-http_auth_request_module
--with-mail
--with-mail_ssl_module
--with-file-aio
--with-ipv6
--with-http_spdy_module
--add-module=/tmp/nginx-auth-ldap
You didn't do anything wrong. These messages were supposed to be shown as informative (notice) not as error (emerg). This was fixed in 3f7ab7f81ffb5d5127ee7d9d9b6b43ae9809ae9b.
Hello!
I had a problem and probably need your help. I connect to my site authentication via LDAP server. Produced build from source, the module is connected nginx_auth_ldap. At the start nginx issued the following message: nginx: [emerg] http_auth_ldap: parse_require in /etc/nginx/nginx.conf:123
That configuration nginx:
nginx -V
That connection setup ldap: ldap_server dcats { url ldap://myserverldap:389/ou=Users,dc=domain,dc=com?uid?sub?(objectClass=*); binddn "uid=user,ou=Users,dc=domain,dc=com"; binddn_passwd secret; group_attribute uniquemember; group_attribute_is_dn on; require valid_user; }
What I did wrong when setting up.
Thanks.