dimaj Posted July 16, 2010 Share Posted July 16, 2010 Hey guys! I'm back with another question... This time it is regarding LDAP search queries... I recently setup an OpenLDAP DC on Ubuntu 10.04 and it's working great. All my windows and linux boxes at home joined that domain and I can login to any box using 1 account. Then I setup a subsonic audio streaming server and I found out that it has an option for LDAP authentication. So, I created a new group 'subsonic' and said that 'user1' and 'user2' are members of that group. The issue that I'm having though is that when I run a query such as: ldapsearch -b 'dc=example,dc=com' -D 'cn=admin,dc=example,dc=com' -W '(&(uid=user1)(cn=subsonic))' I get 0 results. When I run ldapsearch -b 'dc=example,dc=com' -D 'cn=admin,dc=example,dc=com' -W '(memberUid=user1)' I see that this user is a member of group subsonic Could anyone help me write a search filter such that I could verify if a certain user is a member of group subsonic and return that user's object? Thanks. dimaj Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.