Page 1 of 1

LDAP authentication not supported by Madsonic 5.7.364

Posted: 04 Sep 2015, 00:13
by troycarpenter

Code: Select all

=========================================================================================
 VERSION:      MADSONIC 6.0 | BUILD: 7150
 SERVLET:      JETTY 8.y.z-SNAPSHOT
 SERVER:       CPU: AMD 
 OS:           Linux MINT (DEBIAN/Ubuntu)
 SYSTEM:       CLIENT
 INSTALLER:    DEB | RPM | DOCKER | OTHER
 JAVA:         1.7.0_79
 BROWSER:      CHROME 44 
 CLIENT:       MADSONIC 5.7
 DESCRIPTION:  LDAP not supported
 REPRODUCIBLE: YES
=========================================================================================
I'm using this against Madsonic 6.0. I've configured LDAP, and the profile I'm using on the Android app is an LDAP user.

When I test the connection in the server configuration screen, it says:

"Connection Failure. LDAP passthrough authentication not supported."

In the madsonic.log file, I see:
DEBUG MadsonicLdapBindAuthenticator - User 'fred' successfully authenticated in LDAP. DN: uid=fred,ou=People

Will the Android app support LDAP? Not helpful if not because all my users are LDAP users.

Re: LDAP authentication not supported by Madsonic 5.7.364

Posted: 04 Sep 2015, 00:50
by Madsonic
Thanks for reporting,

many builds before i implemented some new LDAP features and authentication changes and must be temp. disabled,
this can now be changed, refactoring come with next builds.

best regards

Re: LDAP authentication not supported by Madsonic 5.7.364

Posted: 04 Sep 2015, 15:49
by troycarpenter
Is the change to support this on the client or on the server? I've put in requests for both Jamstash and Dsub to support the new API version, but I would want to give them a heads-up if there is something on the client needed to support this. However, I wouldn't expect the client to need to know the server's backend authentication model.

Re: LDAP authentication not supported by Madsonic 5.7.364

Posted: 04 Sep 2015, 15:51
by Madsonic
next Build 7200 comes with some LDAP enhancements and also the client problem is fixed.

best regards

Re: LDAP authentication not supported by Madsonic 5.7.364

Posted: 06 Sep 2015, 23:23
by troycarpenter
Using 7200, the client doesn't give the passthrough message anymore. Instead, it can't authenticate the LDAP user at all now. The app says " Connection failure. Wrong username or password". The madsonic log says "Login failed" for user. I can successfully log into the web interface with the same user credentials.

Re: LDAP authentication not supported by Madsonic 5.7.364

Posted: 30 Sep 2015, 15:38
by drashna
troycarpenter wrote:Using 7200, the client doesn't give the passthrough message anymore. Instead, it can't authenticate the LDAP user at all now. The app says " Connection failure. Wrong username or password". The madsonic log says "Login failed" for user. I can successfully log into the web interface with the same user credentials.
I'm seeing this with ALL users on the mobile app, not jus LDAP. Have you tried making sure it's not just the LDAP authenticated users?

Re: LDAP authentication not supported by Madsonic 5.7.364

Posted: 01 Dec 2016, 07:17
by frank2228
Using 7200, the client doesn't give the passthrough message anymore. Instead, it can't authenticate the LDAP user at all now. The app says " Connection failure. Wrong username or password". The madsonic log says "Login failed" for user. I can successfully log into the web interface with the same user credentials.
Bumping this. Am using 5.7.1 codebase 386. The Connection Failure. Wrong Username or password message appears when either generating an LDAP token or testing the connection. Can also see the bad login attempts in the server log.
I'm seeing this with ALL users on the mobile app, not jus LDAP. Have you tried making sure it's not just the LDAP authenticated users?

On an old stable release 6.0.7860 not using LDAP, I can get the app to test the connection and say OK but as soon as I browse for music it says wrong username or password. The login attempt is noted by the server log.