nginx-auth-ldap icon indicating copy to clipboard operation
nginx-auth-ldap copied to clipboard

auth_ldap can't read variables

Open skalmu opened this issue 10 years ago • 5 comments

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

skalmu avatar Apr 08 '15 10:04 skalmu

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

dimitrydeclercq avatar Aug 03 '15 08:08 dimitrydeclercq

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

virtuman avatar Jul 01 '16 15:07 virtuman

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

Op vrijdag 1 juli 2016 heeft Alexei Smirnov [email protected] 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 [email protected] +32 486 90 98 24

dimitrydeclercq avatar Jul 01 '16 15:07 dimitrydeclercq

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.

if-kenn avatar Apr 25 '17 22:04 if-kenn

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

Wazzapc avatar Dec 12 '18 03:12 Wazzapc