Import from samosa: case sensitive spelling of fields
[mirror/userdir-ldap.git] / ud-echelon
index 5e98afc..cdca2de 100755 (executable)
@@ -34,7 +34,7 @@ def TryGPG(Email):
       return None;
       
    # Search for the matching key fingerprint
-   Attrs = l.search_s(BaseDn,ldap.SCOPE_ONELEVEL,"keyfingerprint=" + Res[2][1]);
+   Attrs = l.search_s(BaseDn,ldap.SCOPE_ONELEVEL,"keyFingerPrint=" + Res[2][1]);
    if len(Attrs) == 0:
       return None;
    if len(Attrs) != 1: