Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add variable support for auth_ldap parameter #238

Open
532910 opened this issue May 8, 2020 · 0 comments
Open

add variable support for auth_ldap parameter #238

532910 opened this issue May 8, 2020 · 0 comments

Comments

@532910
Copy link

532910 commented May 8, 2020

Please add support to use variable as a parameter for auth_ldap.

if ($ssl_client_verify = "SUCCESS"){
    set $auth "off";
}
if ($ssl_client_verify != "SUCCESS"){
    set $auth "Forbidden";
}

While this:

auth_basic_user_file passwd;
auth_basic $auth;  

works as expected, this:

auth_ldap_servers ldap_uid;
auth_ldap $auth;

always says: "The site says: “$auth”"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant