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

Error when search result DN contains unicode characters #94

Open
agileknight opened this issue Jan 10, 2022 · 1 comment
Open

Error when search result DN contains unicode characters #94

agileknight opened this issue Jan 10, 2022 · 1 comment

Comments

@agileknight
Copy link

Example: The login works for non-unicode DN results but throws this error when an 'ö' is in the result.

Error while verifying search query results: 'ascii' codec can't encode character '\xf6' in position 76: ordinal not in range(128)

@zeleny
Copy link

zeleny commented Jan 17, 2022

Hi!
Change locale in docker image and enjoi.
I am use custom image bitnami-based.

FROM bitnami/nginx-ldap-auth-daemon:latest
ARG DEBIAN_FRONTEND=noninteractive
USER root
RUN apt-get update
RUN apt-get install -y locales locales-all
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
USER 1001
and all work.

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