MaxKB icon indicating copy to clipboard operation
MaxKB copied to clipboard

[Bug] An error occurs when local user and ldap user are duplicated

Open Ruofice opened this issue 3 months ago • 2 comments

Contact Information

No response

MaxKB Version

2.2.1

Problem Description

本地用户已存在且与ldap用户重复,再使用ldap用户登录时点击登录无反应,控制台返回401

Steps to Reproduce

本地创建一个与ldap用户相同的账号,再使用ldap用户登录

The expected correct result

No response

Related log output


Additional Information

No response

Ruofice avatar Nov 03 '25 09:11 Ruofice

您好,未复现您描述的问题。现有本地用户,再使用重名的ldap用户登录是成功的,并且不会重复创建用户。请再确认一下。

Shenguobin0102 avatar Nov 03 '25 10:11 Shenguobin0102

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Hello, the problem you described has not occurred. If an existing local user uses an ldap user with the same name to log in successfully, the user will not be created again. Please confirm again.

shaohuzhang1 avatar Nov 03 '25 10:11 shaohuzhang1