nuxsmin / sysPass

Systems Password Manager
https://syspass.org
GNU General Public License v3.0
976 stars 208 forks source link

syspass LDAP with Univention UCS - can't get it working - LDAP broken #1918

Open i1box opened 1 year ago

i1box commented 1 year ago

Discussed in https://github.com/nuxsmin/sysPass/discussions/1917

Originally posted by **i1box** October 17, 2023 I'd like to get LDAP auth working, but constantly getting "invalid dn syntax" error when hitting on the sync icon. Tried different possibilities, but no success. The LDAP connection seems to work in general, just a kind of syntax problem. Tried also the https://www.forumsys.com/2022/05/10/online-ldap-test-server/ with same error msg. LDAP seems to be broken generally. Testserver config: ``` 0 cn=read-only-admin,dc=example,dc=com password read-only-admin 1 1 0 ldap://ldap.forumsys.com 0 1 1 ``` Using syspass/syspass docker. That's my config: syspass Version: ``` 3.2 (3211.22070201) Config: 3211.22070201 App: 3211.22070201 DB: 3211.22070201 Database | SERVER_VERSION : 5.5.5-10.2.44-MariaDB-1:10.2.44+maria~bionic ``` config.xml ``` 0 cn=users,dc=i1box,dc=eu password syspass-ldap 1 1 0 users ldap://192.168.1.249:7389 0 1 ``` this is a working simple search from the app container: `ldapsearch -d 5 -h "192.168.1.249" -p 7389 -b "cn=users,dc=i1box,dc=eu" -D "cn=syspass-ldap,dc=i1box,dc=eu" -w "password"` Can someone help? THX.