1
0
Fork 0
mirror of https://github.com/requarks/wiki.git synced 2026-03-02 22:06:55 -05:00

User cannot login using LDAP auth #1883

Closed
opened 2026-02-20 18:22:48 -05:00 by deekerman · 1 comment
Owner

Originally created by @YuriMri on GitHub (Aug 13, 2020).

Originally assigned to: @NGPixel on GitHub.

Describe the bug
One of our users in domain environment cannot log in to Wiki.js recently (for about 2 weeks).
Other users so far don't have this problem.

One user receives error:
insert into "users" ("createdAt", "email", "isActive", "isSystem", "isVerified", "localeCode", "name", "pictureUrl", "providerId", "providerKey", "tfaIsActive", "updatedAt") values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) returning "id" - invalid byte sequence for encoding "UTF8": 0x00

To Reproduce
Steps to reproduce the behavior:

  1. Go to wiki.js page
  2. Click on LDAP/Active Directory
  3. enter username + PW
  4. Click Log In

Expected behavior
Login to wiki

Screenshots
image

Host Info (please complete the following information):

  • OS:

NAME="CentOS Linux"
VERSION="8 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="8"

  • Wiki.js version: 2.4.107 (also testing wiki has same issue version 2.3.81), Node.js = 14.6.0 (also testing wiki has same issue version 12.18.0)
  • Database engine: postgresql 12.3

Additional context
Add any other context about the problem here.

Originally created by @YuriMri on GitHub (Aug 13, 2020). Originally assigned to: @NGPixel on GitHub. **Describe the bug** One of our users in domain environment cannot log in to Wiki.js recently (for about 2 weeks). Other users so far don't have this problem. One user receives error: insert into "users" ("createdAt", "email", "isActive", "isSystem", "isVerified", "localeCode", "name", "pictureUrl", "providerId", "providerKey", "tfaIsActive", "updatedAt") values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) returning "id" - invalid byte sequence for encoding "UTF8": 0x00 **To Reproduce** Steps to reproduce the behavior: 1. Go to wiki.js page 2. Click on LDAP/Active Directory 3. enter username + PW 4. Click Log In **Expected behavior** Login to wiki **Screenshots** ![image](https://user-images.githubusercontent.com/69195129/90108914-48affc00-dd4b-11ea-9ee8-082e3d119eaf.png) **Host Info (please complete the following information):** - OS: > NAME="CentOS Linux" VERSION="8 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="8" PLATFORM_ID="platform:el8" PRETTY_NAME="CentOS Linux 8 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:8" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-8" CENTOS_MANTISBT_PROJECT_VERSION="8" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="8" - Wiki.js version: 2.4.107 (also testing wiki has same issue version 2.3.81), Node.js = 14.6.0 (also testing wiki has same issue version 12.18.0) - Database engine: postgresql 12.3 **Additional context** Add any other context about the problem here.
deekerman 2026-02-20 18:22:48 -05:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@NGPixel commented on GitHub (Aug 13, 2020):

This is a known bug related to the user picture field containing binary data. Replace the Avatar Picture Field Mapping with something else in the meantime.

#849

@NGPixel commented on GitHub (Aug 13, 2020): This is a known bug related to the user picture field containing binary data. Replace the Avatar Picture Field Mapping with something else in the meantime. #849
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wiki-requarks#1883
No description provided.