Commit Graph

2 Commits

Author SHA1 Message Date
Jiri Hruska afda839edb Handle LDAP operations asynchronously using nginx event architecture
A connection is opened using nginx framework and then fed to OpenLDAP using
ldap_init_fd() call with custom SockBuf IO handlers. When some credentials
need to be validated, ngx_http_auth_ldap_authenticate() is called multiple
times, returning NGX_AGAIN each time the process is waiting for the LDAP
server to reply.

(Note: This only an initial implementation and as such, it is of course
very buggy and limited. Further work is needed to make it useful.)
2013-08-30 07:17:56 +02:00
Valery Komarov 906f880b53 initial commit 2011-03-11 11:47:50 +03:00