Page 1 of 1

MySQL as LDAP backend for Subsonic?

PostPosted: Sat Jan 01, 2011 10:02 pm
by pkx
Hi,

I ran a music server in the past (ftp that authenticated against MySQL through ODBC). MySQL allowed me to have a PHP web interface that allowed me an easy way to add people (send invite to an email address and then the individual was prompted to create their own account) and an easy way for people to perform their own password resets.

I'd love it if Subsonic authenticated against MySQL... but since it does LDAP, perhaps it's possible to use LDAP with MySQL backend to accomplish the same thing. Has anyone pulled this off? Some googling shows that it may be possible but the setup isn't easy.

I suppose I may be able to accomplish this by having php interface directly with LDAP, I simply have no experience with LDAP.

Has anyone else come up with another solution that provides them with similar functionality (invitations, password resets)?

Thanks!

PostPosted: Sun Jan 02, 2011 5:50 pm
by pkx
Just thought I'd update... I got Subsonic authenticating against LDAP. I also wrote a PHP script to handle invitations and PHP successfully creates LDAP accounts and I'll be working on password resets over the past few days. I type someone's email into a web page and it sends them an email with a special URL that contains an invitation code and all that.

Since I was new to LDAP, I may post a mini how-to to at least save people some time...