Akkoma/Pleroma configuration
# troubleshooting
r
Hi all, trying out this project for use with a few of my webservices, I'm trying to get it working initially with just my akkoma(pleroma fork) instance. I've enabled LDAP in akkoma, and queries hit LLDAP but i get the following:
Copy code
2023-07-20T22:08:04.696473866+00:00  INFO     LDAP session [ 154µs | 43.32% / 100.00% ]
2023-07-20T22:08:04.696515798+00:00  INFO     ┝━ LDAP request [ 83.0µs | 49.46% / 54.08% ]
2023-07-20T22:08:04.696528358+00:00  DEBUG    │  ┝━ :bug: [debug]:  | msg: LdapMsg { msgid: 1, op: BindRequest(LdapBindRequest { dn: "cn=raku,dc=raku,dc=party", cred: Simple("********") }), ctrl: [] }
2023-07-20T22:08:04.696530295+00:00  DEBUG    │  ┝━ do_bind [ 7.10µs | 4.62% ]
2023-07-20T22:08:04.696532744+00:00  DEBUG    │  │  ┕━ :bug: [debug]: DN: cn=raku,dc=raku,dc=party
2023-07-20T22:08:04.696546641+00:00  DEBUG    │  ┕━ :bug: [debug]:  | response: BindResponse(LdapBindResponse { res: LdapResult { code: NamingViolation, matcheddn: "", message: "Unexpected DN format. Got \"cn=raku,dc=raku,dc=party\", expected: \"uid=id,ou=people,dc=raku,dc=party\"", referral: [] }, saslcreds: None })
2023-07-20T22:08:04.696702284+00:00  INFO     ┕━ LDAP request [ 4.00µs | 2.60% ]
2023-07-20T22:08:04.696705340+00:00  DEBUG       ┕━ :bug: [debug]:  | msg: LdapMsg { msgid: 0, op: UnbindRequest, ctrl: [] }`
This seems at odds with what the readme says, which makes no mention of a
uid=
bit, but indeed in testing with ApacheDS, I have to format the DN as it states, and then things work. Unfortunately Akkoma offers no way for me to change the input format, did I miss an lldap config option? I'm not sure what I"m missing. Using the latest 0.4.3 binary zip release from the github page on Debian Bookworm, thanks all in advance!
n
Feel free to contribute a Pleroma configuration to LLDAP!
r
Thinking about it! Still working out kinks, none on lldap's side at this point ;p