I created some rules, and they worked as expected, but there's no guidance that I can find of which metacharacters are supported.
Perhaps if I knew they were using the perl regex library, or whatever that might help. Also, it seems like the inclusive rules are OR'ed together, but that is not discussed either. I may not be looking in the right places for documentation.
So, far I have found that this worked as expected. departmentnumber = ^(ABC|DEF|GHI)
And I was able to accomplish the same thing with 3 distinct rules. Just wondering what flexibility, I have here.
Chris Cowan via FreeIPA-users wrote:
I created some rules, and they worked as expected, but there's no guidance that I can find of which metacharacters are supported.
This is handled in 389-ds. The regex is a thin wrapper around pcre. https://github.com/389ds/389-ds-base/blob/main/ldap/servers/slapd/regex.c
Perhaps if I knew they were using the perl regex library, or whatever that might help. Also, it seems like the inclusive rules are OR'ed together, but that is not discussed either. I may not be looking in the right places for documentation.
So, far I have found that this worked as expected. departmentnumber = ^(ABC|DEF|GHI)
And I was able to accomplish the same thing with 3 distinct rules. Just wondering what flexibility, I have here.
The rules are not OR'd together. With three separate rules one matched so it was applied.
rob
freeipa-users@lists.fedorahosted.org