snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
10.81k stars 3.13k forks source link

OpenLDAP did not successfully bind to LDAP. #14618

Open airsmon opened 4 months ago

airsmon commented 4 months ago

Debug mode

Describe the bug

image

OpenLDAP user cn=yongjie.xu,ou=users

Reproduction steps

image

Expected behavior

openldap account testing normal

Screenshots

No response

Snipe-IT Version

v6.3.4

Operating System

kubernetes

Web Server

nginx

PHP Version

php8.1

Operating System

No response

Browser

Chrome

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

welcome[bot] commented 4 months ago

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

Karmanuk commented 4 months ago

We also have this problem, some users cannot log in, but the passwords are exactly correct.

mi-kou commented 4 months ago

We have same issue with following OpenLDAP installation:

@(#) $OpenLDAP: slapd 2.5.13+dfsg-5 (Feb  8 2023 01:56:12) $
        Debian OpenLDAP Maintainers <pkg-openldap-devel@lists.alioth.debian.org>

LDAP server is running on Debian 12. Tested versions 5.3.0, 6.2.1 and 6.3.4.

uberbrady commented 2 months ago

Base Bind DN is likely wrong; should possibly include ou=users or something like that? The base bind DN needs to be everything in the canonical name before the username=blah part.