You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In many scenarios it can be necessary to configure the same attribute several times:
[Attribute Filter-Id]
dir = user
userAttribute = gruppen
regex = CN=Enterprise\ Admins,CN=Users,DC=testfoo,DC=intranet
prefix = FIX-BUILTIN-Enter
[Attribute Filter-Id]
dir = user
userAttribute = gruppen
regex = CN=Administrators,CN=Builtin,DC=testfoo,DC=intranet
prefix = FIX-BUILTIN-admins
In this case we would set Filter-Id to one constant value if a group is given and to another fixed value if another group is given.
The problem is, that due to the perl parser Config::Inifiles the two sections are merged togeather. So either we need to completeley change the way the sections are configured or we need to differ the sections by different names.
A simple way to achieve this is to add a tag to the sections, that helps to keep the sections destinct but ignore it during our parsing:
[Attribute Filter-Id A]
dir = user
userAttribute = gruppen
regex = CN=Enterprise\ Admins,CN=Users,DC=testfoo,DC=intranet
prefix = FIX-BUILTIN-Enter
[Attribute Filter-Id B]
dir = user
userAttribute = gruppen
regex = CN=Administrators,CN=Builtin,DC=testfoo,DC=intranet
prefix = FIX-BUILTIN-admins
The text was updated successfully, but these errors were encountered:
In many scenarios it can be necessary to configure the same attribute several times:
In this case we would set Filter-Id to one constant value if a group is given and to another fixed value if another group is given.
The problem is, that due to the perl parser
Config::Inifiles
the two sections are merged togeather. So either we need to completeley change the way the sections are configured or we need to differ the sections by different names.A simple way to achieve this is to add a tag to the sections, that helps to keep the sections destinct but ignore it during our parsing:
The text was updated successfully, but these errors were encountered: