Page 1 of 1

LDAP Auth not communicating with LDAP server

PostPosted: Tue Aug 12, 2014 9:20 pm
by troycarpenter
I have been trying to get the LDAP functionality working. I'm running Madsonic on an Ubuntu server (Yes, I know it's Madsonic; yes I have tried the Madsonic forums, but I'm thinking this is not an area that has been modified so I could also look for help here).

I've got other apps authenticating against LDAP (not an MS AD server, btw), so I'm confident the LDAP server is working fine. However, when I enable LDAP and put in the credentials, I don't see the madsonic server even trying to contact LDAP. I've got a tcpdump running on the madsonic server with a filter of the LDAP server IP and port 389 and the packet count stays at zero during logins. I have tried both the FQDN and IP address for the LDAP server. If I run an ldap query from the command line, then I get 14 hits on the tcpdump counter. I also haven't been able to get madsonic server to give me detailed logs on the transaction, even though I have the log level set to DEBUG. Are there more logs somewhere that I can use to verify the LDAP code is being hit at all?

I've tried all the same settings I'm using in Madsonic with the Softerra LDAP browser from a Windows 7 laptop, and that works fine. It simply looks like the madsonic server is not even trying to use LDAP when authenticating a user.

Re: LDAP Auth not communicating with LDAP server

PostPosted: Mon Aug 25, 2014 3:12 pm
by spitf1r3
Which version? I've seen, that 5.1 has broken LDAP auth mechanism..

Re: LDAP Auth not communicating with LDAP server

PostPosted: Mon Aug 25, 2014 3:26 pm
by troycarpenter
Hmm, can't believe I didn't put the version.

Madsonic 5.1.4820.beta2, but I need to upgrade to the latest 5.1.5080 and try again.

Not good if it's broken in the 5.1 branch but not a deal breaker. I've slowly moved as many of my services to LDAP as possible (email, owncloud, etc) and it's much more convenient than setting up user accounts in each tool.

Re: LDAP Auth not communicating with LDAP server

PostPosted: Mon Aug 25, 2014 3:32 pm
by spitf1r3
Look at the announcements on the madsonic forums;)

Re: LDAP Auth not communicating with LDAP server

PostPosted: Mon Aug 25, 2014 3:42 pm
by troycarpenter
Ok, if I read that correctly, it says he temp disabled it in the latest release.

I also see madevil replied to my post over there http://forum.madsonic.org/viewtopic.php?f=14&t=1163, but I never got notified from the forum of his reply.