I’m having some problems configuring openfire user filter to choose which users are allowed to login,
i’ve already searched for a solution in other posts but during the web-setup process i always get an error in testing the connection for the allowed users (maybe because they are all referred to AD and not openldap).
I have OpenLdap, here my structure:
BASE DN: dc=mycompany,dc=it
all company users are stored in: OU=USERS,dc=mycompany,dc=it
users allowed to connect to the server are in: CN=jabber,OU=APP,dc=mycompany,dc=it
cn=jabber is a groupOfnames in which member field i can see all uids allowed for the application.
I can’t find the right syntax to tell the server to search in the groupofnames field.
I don’t have an index for memberof, I’m not sure if you can index an operational attribute, but I could be wrong.
Try removing the memberof index, if you’re happy enough to do it slapcat/export all the ldap entries and reimport them (users first, then groups) and then try doing a search from the command line for ‘(memberOf=)’ and see if any are returned, also try returning a single entity that should have a memberOf attribute and see if it exists (you will need to specify memberOf on the command line as it doesn’t get returned by default).
Something that might help you is the Apache Directory Studio project has an eclipse plugin that does an awesome LDAP interface, I use it alot and much prefer it to jXplorer or LDAPBrowser. (Right Clicking on a users entry and selecting “Fetch Operational Attributes” will show you if any memberOf fields are listed against a user)
Check out http://www.openldap.org/doc/admin24/overlays.html#Reverse%20Group%20Membership%2 0Maintenance as well, Note that memberof is only updated when the groups are modified and that it is an operational attribute so when searching or returning entries it is only shown if specifically requested (but can be searched against the same as any other attribute, just isn’t returned as part of the entry).
Message was edited by: Kosh Added Link to OpenLDAP Overlays Guide