slightly patched fork of LDAP authentication module for nginx
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Valery Komarov 8026eac01e fix clone source in README 12 years ago
README.md fix clone source in README 12 years ago
config initial commit 14 years ago
example.conf add auth_ldap_require valid_user 14 years ago
ngx_http_auth_ldap_module.c fix Issue 8 13 years ago

README.md

How to install

FreeBSD

cd ~ && git clone https://github.com/kvspb/nginx-auth-ldap.git
cp -R /usr/ports/www/nginx ~/nginx-ldap

edit ~/nginx-ldap/Makefile add CONFIGURE_ARGS --add-module=path_to_http_auth_ldap_module

HAS_CONFIGURE= yes
CONFIGURE_ARGS+=--prefix=${ETCDIR} \
....
--user=${WWWOWN} --group=${WWWGRP} \
--add-module=path_to_http_auth_ldap_module

install modified port

cd ~/nginx-ldap
make install clean

Linux

cd ~ && git clone https://code.google.com/p/nginx-auth-ldap/  

in nginx source folder

./configure --add-module=path_to_http_auth_ldap_module
make install