We are planning on switching our confluence instance to use LDAP but we need to exclude some company wide AD groups in the process as they have the same name as some confluence groups such as 'confluence-administrators'.
I am trying to achieve this via a search filter but nothing I have tried works.
This is one filter I tried but the system won't even start with this filter.
<groupsearchfilter>(&(objectClass=group)(!(dn:=confluence-administrators)))</groupsearchfilter>
Can you advise on the proper syntax to achieve excluding a group?
Thanks.
Hi Tony, and Glenn,
Try to replace & to & and see how it goes. So your filter should be somthing like this
(&amp;(objectClass=group)(&#33;(cn=confluence-administrators))) (&amp;(objectClass=group)(&#33;(dn:=confluence-administrators)))
Hope it helps.
Cheers,
Septa Cahyadiputra
Finally got it. The example from Septa was just ONE character off. Finally found the help I needed here :
https://confluence.atlassian.com/display/DEV/How+to+write+LDAP+search+filters
Here was the filter that worked, again, Septa was very close!
(&(objectClass=group)(!(cn=confluence-administrators)))
Thanks to all for the help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ah I missed a semicolon there :(. Anyway, great to hear that you have find the resolution on your end.
I modified my Answer so that other user won't fall to the same trap :P.
Cheers,
Septa Cahyadiputra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still not having any luck. I am starting to think the version of Confluence that we have is not able to accept complex filters. If I make any changes to the filter at all, Confluence wont even start. I am going to enable debug level logging and see where that gets me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FYI, the Confluence vesion is 3.1.1
I tried the same filter, well close
(&(objectClass=group)(!(cn=confluence-administrators)))
from the command line using Sun's ldapsearch and it worked fine. However, when I add this filter to the XML config file as shown above, Confluence wont even start.
Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.