Hello,
I’m trying to configure subsonic to use the LDAP server installed with my nethserver but I’m having some troubles with the configuration.
As you can see in the picture:
I have to write 3 parameters,
LDAP URL: The URL of the LDAP server. The protocol must be either ldap:// or ldaps:// (for LDAP over SSL). See here for a more detailed description.
LDAP search filter:The filter expression used in the user search. This is an LDAP search filter (as defined in RFC 2254). The pattern “{0}” is replaced by the username, for instance: (uid={0}) - this would search for a username match on the uid attribute.(sAMAccountName={0}) - typically used for authentication in Microsoft Active Directory.
LDAP manager DN: If the LDAP server doesn’t support anonymous binding you must specify the DN (Distinguished Name) and password of the LDAP user to use when binding.
I create a group named subsonic and and want that only the members of that group can access this app.
After a lot of tries i figured out that if i run this command:
ldapsearch -D cn=libuser,dc=directory,dc=nh -W -H ldap://server-ip
i get this result
extended LDIF
LDAPv3
base <> (default) with scope subtree
filter: (objectclass=*)
requesting: ALL
search result
search: 2
result: 32 No such object
but if run the command like this:
ldapsearch -D cn=libuser,dc=directory,dc=nh -W -H ldap://127.0.0.1
i can list all the information of the users and groups.
The subsonic is not in the same server as the ldap, so i don’t know if have to modidy the OpenLDAP Acls and I don´t know how to do it.
Someone can help me?
Thanks