Qwann/small fixes #7

Merged
narmanli merged 5 commits from Qwann/small_fixes into master 2018-04-05 23:17:00 +02:00
Showing only changes of commit 6b66ae3264 - Show all commits

View file

@ -23,6 +23,7 @@ class ClipperProvider(CASProvider):
def extract_common_fields(self, data): def extract_common_fields(self, data):
def get_names(clipper): def get_names(clipper):
assert clipper.isalnum()
try: try:
ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT, ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT,
ldap.OPT_X_TLS_NEVER) ldap.OPT_X_TLS_NEVER)