Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Multiple issues around logging in with LDAP enabled #1954

Open
surfrock66 opened this issue Jul 25, 2021 · 0 comments
Open

Multiple issues around logging in with LDAP enabled #1954

surfrock66 opened this issue Jul 25, 2021 · 0 comments

Comments

@surfrock66
Copy link

Problem description

I have LDAP enabled for auth on my airsonic and it mostly works. If I am on a device and log in with an account, it's fine. If I then try to log out then log in with a different account, in the web browser I receive a "403 Forbidden" error, and if I try to use an app (DSub on Android) I can log in fine with the first account, the second account says "Wrong username or password" even though I can open the browser and log in with the second account credentials just fine. Going back to the web browser on a computer, if I use incognito windows, I can log in with any account successfully.

It appears that from any device/api, you can only log in with one account, then something is stored/cached that prevents authentication or authorization from a second account even after logout.

I have an account for myself and a separate account for my daughter with access to different libraries, and it would be nice to be able to context switch by switching accounts on the same device.

Steps to reproduce

Describe how somebody else could observe the same behavior you do. If possible,
include relevant configuration or files that cause the problem. If sharing media
files, ensure you are legally permitted to share copies!

  1. Log in successfully to airsonic in the web browser.
  2. Log out in the web browser.
  3. Log in with a second account. You will receive a 403 forbidden error.
  4. Open an incognito window and log in with the second account, it will be successful.

System information

11.0.0-SNAPSHOT – July 19, 2021
Ubuntu Server 20.10
Java 11.0.11
Proxy: None
Airsonic Web Interface and DSub on Android
English

Error Page Content

Status | 403
Error | Forbidden
Message | Forbidden
Path | /airsonic/login
Time | Sun Jul 25 15:40:37 PDT 2021
Java version | Ubuntu 11.0.11
Operating system | Linux 5.8.0-25-generic
Server | Apache Tomcat/9.0.34
Memory | Used 275 of 700 MB

Additional Notes

I am using openLDAP server, slapd, on the same box. I see nothing in the airsonic logs showing the failed auth or an issue with ldap. I do get the following log entry from slapd during the error:

slapd[2982687]: <= mdb_equality_candidates: (uniqueMember) not indexed

But that's hardly descriptive.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant