Error when search result DN contains unicode characters
agileknight opened this issue · 1 comments
agileknight commented
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 commented
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.