Page 1 of 1

authentication with ldaps against samba active directory

PostPosted: Mon Dec 19, 2022 1:36 pm
by Joachim
Hello,
I installed subsonic on Ubuntu and am trying to configure it to authenticate against samba active directory which happens to require ldaps. My configuration is like
ldap url: ldaps://ad.samba.example.com:636/cn=Use ... ple,dc=com
ldap search filter: (sAMAccountName={0}) (unchanged)
ldap manager dn: cn=Joachim,cn=Users,dc=samba,dc=example,dc=com
automatically create users in subsonic is ticked (on)
the ad is using letsecnrypt certificates.
When I try to login to subsonic, I get "Wrong username or password."
Q: how can I debug the issue?
Q: as subsonic is java based I suspect it might need a key store with proper ca certs.
Q: what other pitfalls should I look into?
Thanks,
Joachim

Re: authentication with ldaps against samba active directory

PostPosted: Sun Dec 25, 2022 12:49 am
by jsj123
My LDAP Manager DN is user@domain.com

Re: authentication with ldaps against samba active directory

PostPosted: Tue Jan 31, 2023 9:40 pm
by Joachim
using a different dn didn´t solve the issue. Using tcpdump I can see subsonic connects to ldaps, but it looks like the connection doesn´t succeed for whatever reason. Obviously I cannot read the content transfer.
How can I turn on traces to see whatever error message come up?

Re: authentication with ldaps against samba active directory

PostPosted: Tue Jan 31, 2023 10:57 pm
by Joachim
I figured it out: there are logs in /var/subsonic/.