From 04ed544f492f72f5fb6b4e211a5456349911819a Mon Sep 17 00:00:00 2001 From: Jiri Hruska Date: Mon, 22 Jul 2013 15:46:40 +0200 Subject: [PATCH] Fix a typo in Pavel Brylov's configuration refactoring --- ngx_http_auth_ldap_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngx_http_auth_ldap_module.c b/ngx_http_auth_ldap_module.c index f10b5d0..c83db56 100644 --- a/ngx_http_auth_ldap_module.c +++ b/ngx_http_auth_ldap_module.c @@ -218,7 +218,7 @@ ngx_http_auth_ldap_ldap_server(ngx_conf_t *cf, ngx_command_t *dummy, void *conf) server->bind_dn_passwd = value[1]; } else if(ngx_strcmp(value[0].data, "group_attribute") == 0) { server->group_attribute = value[1]; - } else if(ngx_strcmp(value[0].data, "group_attribute_is_dn") == 0 && ngx_strcmp(value[1].data, "on")) { + } else if(ngx_strcmp(value[0].data, "group_attribute_is_dn") == 0 && ngx_strcmp(value[1].data, "on") == 0) { server->group_attribute_dn = 1; } else if(ngx_strcmp(value[0].data, "require") == 0) { return ngx_http_auth_ldap_parse_require(cf, server);