code.tokarch.uk
Explore Help
Sign In
mainnika
/
nginx-auth-ldap
mirror of https://github.com/mainnika/nginx-auth-ldap
1
0
Fork
You've already forked nginx-auth-ldap
0
Code Issues Packages Projects Releases Wiki Activity
slightly patched fork of LDAP authentication module for nginx
99 Commits
1 Branch
1 Tag
289 KiB
Tree: 7802d53f0a
nginx-auth-ldap/config

15 lines
344 B
Raw Normal View History Unescape Escape

initial commit
14 years ago
ngx_addon_name=ngx_http_auth_ldap_module
HTTP_MODULES="$HTTP_MODULES ngx_http_auth_ldap_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_auth_ldap_module.c"
Fixed compilation on Solaris
11 years ago
initial commit
14 years ago
CORE_LIBS="$CORE_LIBS -lldap"
Fixed compilation on Solaris
11 years ago
case "$NGX_PLATFORM" in
Compile cleanly on FreeBSD Compile cleanly on FreeBSD FreeBSD 10.1 (tested version) needs the lber during linking.
10 years ago
FreeBSD:*|Linux:*|SunOS:*)
Fixed compilation on Solaris
11 years ago
CORE_LIBS="$CORE_LIBS -llber"
;;
esac
CFLAGS="$CFLAGS"
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.)
12 years ago
CFLAGS="$CFLAGS"
Powered by Nikita Tokarchuk and Gitea
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Српски Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses