Question – I’m pulling spark auth from LDAP (AD to be exact). It works like a champ, but my next problem is I need to restrict logins to a group. For example, you’re not in the group, you’re not logging in. I’ve tried a few things such as pointing the basedn to the group (I was really hopeful) and searched the forums but I’m not coming up with any good answers.
Agreed - How do I implement that? Here is what I’ve tried:
I added that to my openfire.xml conf file, between the jive tags and upon restart it restarted the new install wizard, removing the filter returned life back to normal. I’m guessing there needs to be an additional xml tag set to make that work.
Added it to the ldap.searchfilter under Server -> Server Manager -> System Properties. I’ve added my tag in the following format :
Spaces could cause problems. I have attached an openfire.xml file from Openfire 3.5.2 to this message to show you where it goes. 3.6.0 is a whole new ball game though. You will need to put a filter in this system property:
Just like you did.
I cannot guarantee if old filters will work. I know my filter worked prior to 3.6.0.
Yes you need to restart openfire after changing the filter. openfire.xml (4123 Bytes)
Spaces caused me problems until I used the System Properties fields instead of “Server Settings->Profile Settings.” In System Properties, just enclose the space-containing values in double-quotes.