AxisCommunications / AxisCommunications/docker-nginx-ldap
To Debug ngx_http_auth_ldap_module
- Dominant language
- Dockerfile
- Stars
- 12
- Forks
- 10
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 5
Description
I get the error message `[error] 21#21: *3 http_auth_ldap: ldap_search_ext() failed (-7: Bad search filter)`, and would like to debug why it ended up with bad search filter.
From the module, I can see debugs which may be helpful in my investigation
https://github.com/kvspb/nginx-auth-ldap/blob/master/ngx_http_auth_ldap_module.c
in `/etc/nginx/nginx.conf`
I have tried these two options, but still does not print the debug to the output console
```
error_log /var/log/nginx/error.log debug;
error_log /var/log/nginx/error.log debug_http;
```
Have anyone successfully turn on debug for ngx_http_auth_ldap_module ?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with ngx_http_auth_ldap_module.c and the nginx.conf error_log directives, then reproduce the reported ldap_search_ext() bad-search-filter error. Done means identifying why the module's debug output is not appearing and documenting a working way to enable or inspect it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, nginx
- Domain
- authentication, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100