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

Password field pass-thru #1054

Open
mikekrnboy opened this issue Sep 1, 2022 · 1 comment
Open

Password field pass-thru #1054

mikekrnboy opened this issue Sep 1, 2022 · 1 comment

Comments

@mikekrnboy
Copy link

Issue using ldap3 command

@MikeEunLim
Copy link

`request['authentication'] = AuthenticationChoice().

    setComponentByName('simple', Simple(validate_simple_password(password)))
    File "C:\perforce_workspace\Python\support01\
    venv\lib\site-packages\ldap3\protocol\sasl\sasl.py",
    line 136, in validate_simple_password
    password = sasl_prep(password)
    File "C:\perforce_workspace\Python\support01\venv
    \lib\site-packages\ldap3\protocol\sasl\sasl.py", line 53, in sasl_prep
    if stringprep.in_table_c12(c):
    File "C:\Users\#######\AppData\Local\Programs\Python\Python39\
    lib\stringprep.py", line 211, in in_table_c12
    return unicodedata.category(code) == "Zs" and code != " "
    TypeError: category() argument must be a unicode character, not str `

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

2 participants