Jiri Hruska
89f0f75592
Simplify processing of auth_ldap configuration directives
11 years ago
Jiri Hruska
4947e2047d
Use ngx_http_complex_value_t instead of custom script handling
...
Makes the code smaller and cleaner by just using the core functionality.
11 years ago
Jiri Hruska
17fce4fe0a
Remove ngx_ldap_userinfo and custom parsing of the Authorization header
...
The core fills both decoded user name and password into r->headers_in.user
or r->headers_in.passwd, respectively, when ngx_http_auth_basic_user() is
called. Maybe it did not work like this before, but there is definitely no
need to handle the decoding ourselves now (nginx 1.4.1).
11 years ago
Jiri Hruska
4228721e81
Minor refactoring and cleanup
...
- Renamed ngx_ldap_server to ngx_http_auth_ldap_server_t.
- Used NGX_CONF_ANY instead of many NGX_CONF_TAKExxxx for the configuration
option taking any number of arguments.
11 years ago
Jiri Hruska
2d30d6e4ae
Remove forgotten "auth_basic" from ngx_http_auth_basic_create_loc_conf()
11 years ago
Jiri Hruska
04ed544f49
Fix a typo in Pavel Brylov's configuration refactoring
11 years ago
Pavel Brylov
48f11c2eec
Added support for multiple ldap servers, contains non-backwards compatible changes to configuration
12 years ago
Valery
6aa1e7148c
Add Licence to source
12 years ago
Jan Marc Hoffmann
ef6b924ffb
The tls allow option will cause problems when no ldap.conf is defined on the client system. If the certificate option fails, warn and keep going.
12 years ago
harveyzh
7e33e928c1
fix memory length for the search filter
12 years ago
Valery Komarov
c2c3d5ea49
fix Issue 8
13 years ago
Valery Komarov
6d8f79e876
Fix Issue 9
13 years ago
Valery Komarov
440428e3c0
Issue 6
13 years ago
Valery Komarov
4e617f9794
Fix: Issue 5
13 years ago
Valery Komarov
649eba3171
Fix: Issue 3
14 years ago
Valery Komarov
56f958df32
Security fix: auth_ldap_require
14 years ago
Valery Komarov
624172c978
Source format
14 years ago
Valery Komarov
4e1ad9585e
add auth_ldap_require valid_user
14 years ago
Valery Komarov
29ca665654
Fix Issue 2
14 years ago
Valery Komarov
79cf28ec93
ldaps://
14 years ago
Valery Komarov
40fc8711b4
New: commands auth_ldap_group_attribute, auth_ldap_group_attribute_is_dn + fixes
14 years ago
Valery Komarov
7deefc9a85
Fix: ngx_log_debug's
14 years ago
Valery Komarov
906f880b53
initial commit
14 years ago