diff options
author | Patrick Uiterwijk <puiterwijk@redhat.com> | 2014-11-13 13:59:41 +0100 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-11-13 09:32:01 -0500 |
commit | 05ab5acd2a57c273d06c5aa1176d2e9da6e7c824 (patch) | |
tree | a0cd627c81d0262ce77641136cef8d766845edcf /ipsilon | |
parent | d9d68377c0cb5ef296d0b99c6b5830bedb34706e (diff) | |
download | ipsilon.git-05ab5acd2a57c273d06c5aa1176d2e9da6e7c824.tar.gz ipsilon.git-05ab5acd2a57c273d06c5aa1176d2e9da6e7c824.tar.xz ipsilon.git-05ab5acd2a57c273d06c5aa1176d2e9da6e7c824.zip |
Fix LDAP plugin configuration checks
Interpret config value correctly (it is a boolean now)
Pass required argument
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'ipsilon')
-rwxr-xr-x | ipsilon/login/authldap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipsilon/login/authldap.py b/ipsilon/login/authldap.py index 06dac09..4699916 100755 --- a/ipsilon/login/authldap.py +++ b/ipsilon/login/authldap.py @@ -49,7 +49,7 @@ class LDAP(LoginFormBase, Log): self.lm.info = None if not self.ldap_info: - self.ldap_info = LDAPInfo() + self.ldap_info = LDAPInfo(self._site) return self.ldap_info.get_user_data_from_conn(conn, dn) @@ -162,7 +162,7 @@ authentication. """ @property def get_user_info(self): - return (self.get_config_value('get user info').lower() == 'yes') + return self.get_config_value('get user info') @property def bind_dn_tmpl(self): |