kvspb / nginx-auth-ldap

LDAP authentication module for nginx
BSD 2-Clause "Simplified" License
732 stars 253 forks source link

auth_ldap can't read variables #77

Open skalmu opened 9 years ago

skalmu commented 9 years ago

Hi then i try to enable or disable the ldap_auth via rule.

i have created a map

geo $realm { default "restricted area"; 192.168.1.0/24 off; }

auth_ldap $realm; auth_ldap_servers ldap_srv;

But what i see is the variable $realm as text on login mask.

Then i try this via auth_basic it will work... but i need this via ldap

dimitrydeclercq commented 8 years ago

Anything on this? I have the same issue...

virtuman commented 8 years ago

hello, wanted to see if you ever solved this problem ? i'm experiencing the same thing

dimitrydeclercq commented 8 years ago

Hi, as far as I remember I didn't get this working.

Op vrijdag 1 juli 2016 heeft Alexei Smirnov notifications@github.com het volgende geschreven:

hell, wanted to see if you ever solved this problem ? i'm experiencing the same thing

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kvspb/nginx-auth-ldap/issues/77#issuecomment-229978094, or mute the thread https://github.com/notifications/unsubscribe/AAHhkCZbxqPUQew0vlCzDU4lDAkcstu7ks5qRTOkgaJpZM4D8U6k .

Dimitry Declercq mail@dimy.be +32 486 90 98 24

if-kenn commented 7 years ago

Trying to use an nginx map as well for variable names but looks like this module doesn't honor them. Would love to see this.

Wazzapc commented 5 years ago

All,

Anyone ever find a solution to this? Would be nice to be able to exclude LDAP authentication from some of our internal / safe networks...

Thanks