#ldap_bind: Operations error (1)

1 messages · Page 1 of 1 (latest)

austere plover
#

I'm trying to setup LDAP with my asustor NAS, mostly as a learning experience, but get a error, both with the nas, but also with my own pc.

ar2000@hostname:~$ ldapsearch -x -H ldap://YYY.YYY.YYY.YYY:389 -D cn=ldapsearch,ou=users,dc=ldap,dc=auth,dc=ar2000,dc=me -w 'password' -b 'dc=ldap,dc=auth,dc=ar2000,dc=me'
ldap_bind: Operations error (1)

This is the log I get in the outpost : a 403 error.

warning | bindDN=cn=ldapsearch,ou=users,dc=ldap,dc=auth,dc=ar2000,dc=me client=XXX.XXX.XXX.XXX error=403 Forbidden event=failed to get user info requestId=636d67e9-400f-4f50-9579-6ffccf4feafb timestamp=2024-12-10T01:37:23Z 

INF | bindDN=cn=ldapsearch,ou=users,dc=ldap,dc=auth,dc=ar2000,dc=me client=XXX.XXX.XXX.XXX event=Bind request requestId=636d67e9-400f-4f50-9579-6ffccf4feafb timestamp=2024-12-10T01:37:23Z took-ms=1810

Any idea why ?

austere plover
#
192.168.160.5 - - [10/Dec/2024:02:16:19 +0000] "GET /api/v3/core/users/me/ HTTP/1.1" 403 80 "-" "-" 1981209 "authentik@docker" "http://172.21.0.5:9000" 36ms
#

From traefix (reverse proxy) access log where authentik@docker is the authentik server router

austere plover
#
INF | auth_via=unauthenticated domain_url=auth.ar2000.me event=/api/v3/core/users/me/ host=auth.ar2000.me logger=authentik.asgi method=GET pid=28764 remote=XXX.XXX.XXX.XXX request_id=734a11007fbf4012ae0293b244d91555 runtime=18 schema_name=public scheme=https status=403 timestamp=2024-12-10T15:06:51.166055 user= user_agent=goauthentik.io/outpost/2024.10.4