Closed bbigras closed 8 years ago
I have the same issue. It is introduced in #85.
The ngx_conf_log_error
is used to debug, instead of ngx_log_debug
.
just ran into this myself trying to use nginx-auth-ldap for the first time
it appears to be just a warning or a bogus error? things still seem to be functioning as expected.
I have the same issue. Please help!...
same here.
Can this be reverted or fixed ? #85 is clearly wrong, regular users will think their config is wrong..
See #95
[notice]
instead of [emerg]
.@kvspb You close the duplicate issues #98 and #103
I compiled nginx-1.13.5 with the @kvspb patch. When I use the following config file, I get the parse error.
http {
include mime.types;
default_type application/octet-stream;
client_body_timeout 12;
client_header_timeout 12;
keepalive_timeout 15;
send_timeout 10;
gzip on;
auth_ldap_cache_enabled on;
auth_ldap_cache_expiration_time 10000;
auth_ldap_cache_size 1000;
ldap_server adds {
url "ldaps://10.0.0.45/dc=example,dc=com?sAMAccountName?sub?";
binddn "cn=admin,dc=example,dc=com";
binddn_passwd "password";
require valid_user;
satisfy any;
}
server {
listen 80;
server_name localhost;
auth_ldap "Forbidden";
auth_ldap_servers adds;
location / {
root html;
index index.html index.htm;
}
}
}
It passes the configtest:
ubuntu@ip-10-0-0-171:~$ sudo nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
I am getting the same error. Has anybody found the answer for this yet?
Looks like you have not provided proxy_pass directives?
The location should probably be like the one below to get rid of the error:
location / { proxy_pass http://localhost proxy_set_header Host $host auth_ldap_servers test1; }
I just updated both nginx (to 1.9.2) and nginx-auth-ldap and I got the following messages when I run
nginx -t
.I'm not sure if it's just a message or if it's an error. I think I didn't have this in the past.
ldap.conf