Skip to content

Ldap/ad authentication does not work on windows #987

@nicozanf

Description

@nicozanf

At least on the _scaffold app, I've found that attempting login you have the error "TypeError: a bytes-like object is required, not 'LazyCrypt'".

It seems that somehow on Windows py4web does not throw the plain password on con.simple_bind_s(username, password), but instead its hash like pbkdf2(1000,20,sha512)$85bbd16cf03d6e31$b0d855f18bef7eb17e5e8cf4c492dc9a5f041c9e

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions