Skip to content

LDAP auth error: can't decode byte 0xc3 #2646

Discussion options

You must be logged in to vote

Also looks like sometimes we gets binary string in "username_pattern":
Pushed fix to the same branch.

Also if you use gethue docker image with non-ascii locale, you should rebuild gethue image with additional steps:
`
FROM myhue:4.10.0
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales && apt-get clean
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

`
It prevents logger errors for non-ascii symbols.

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Harshg999
Comment options

Answer selected by Harshg999
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Issue type for reporting failure due to bug in functionality
3 participants
Converted from issue

This discussion was converted from issue #2570 on November 17, 2021 07:48.