|
|
@ -23,10 +23,10 @@ PLUGIN_CONFIG_SCHEMA = {"auth": { |
|
|
|
"value": None, |
|
|
|
"type": str}, |
|
|
|
"ldap_access_group_filter": { |
|
|
|
"value": None, |
|
|
|
"value": "None", |
|
|
|
"type": str}, |
|
|
|
"ldap_access_group_attribute": { |
|
|
|
"value": None, |
|
|
|
"value": "None", |
|
|
|
"type": str}}} |
|
|
|
|
|
|
|
class Auth(BaseAuth): |
|
|
@ -61,7 +61,7 @@ class Auth(BaseAuth): |
|
|
|
logger.warning("LDAP: binddn credentials are invalid") |
|
|
|
return "" |
|
|
|
|
|
|
|
if (not accessGroupFilter == None) and (not accessGroupAttribute == None): |
|
|
|
if (not accessGroupFilter == "None") and (not accessGroupAttribute == "None"): |
|
|
|
logger.debug("LDAP access group filter: %s" % accessGroupFilter) |
|
|
|
logger.debug("LDAP access group attribute: %s" % accessGroupAttribute) |
|
|
|
|
|
|
|