Coder Social home page Coder Social logo

Comments (4)

eryajf avatar eryajf commented on June 7, 2024

您好 @KolorYan👋,我已收到您的反馈,我将安排时间考虑您提交的信息并进行回复。-- 这条信息是由自动回复的机器人发出的。

Hello @KolorYan. I have received your feedback, and I will arrange time to consider the information you submitted and reply. -- This message is sent by an automatic reply robot.

from go-ldap-admin.

eryajf avatar eryajf commented on June 7, 2024

判断逻辑在这里:

if user.Status != 1 || user.SyncState != 1 {

可以在库里查一下用户信息,看看这两个字段分别是什么,应该是其中一个状态不满足条件。

from go-ldap-admin.

KolorYan avatar KolorYan commented on June 7, 2024

判断逻辑在这里:

if user.Status != 1 || user.SyncState != 1 {

可以在库里查一下用户信息,看看这两个字段分别是什么,应该是其中一个状态不满足条件。

sync_state是2,但是为什么是2呢,用户是通过go-ldap-admin后台添加的,但是点击用户列表里的【同步】操作,会提示“SyncUser向LDAP同步用户失败:LDAP Result Code 68 "Entry Already Exists":”

from go-ldap-admin.

KolorYan avatar KolorYan commented on June 7, 2024

同步操作提示失败可以理解,因为是后台添加的,本身已经在ldap中存在用户了,但是,是不是后台添加的用户已经同步至ldap了,sync_state应该改为1才对

from go-ldap-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.