Answer the question
In order to leave comments, you need to log in
What is the correct way to write a regular expression in OpenLdap?
Good afternoon! Setting up ACLs in Openldap. Each server + organizations attached to it are in their own dc. Actually it turns out such a structure: ou=название организации,dc=город,dc=домен,dc=ру
I did not invent it. I just perform. The senior approved to create his own admin for each dc, then for each ou also his own admin. Accordingly, the problem is accessing the "userPassword" attribute. Actually I want to create a regular expression that will give access to all admins to this attribute. The problem is that I'll go over the syntax of these regular expressions. Ideally I want to get something like this:
olcAccess: {0}to attrs=userPassword
by dn="uid=admin(_Рога и копыта ТОО у каждой организации своя концовка)(далее какое то регулярное выражение которое допишет имя uid и подставит все необходимые ou и dc)"
Answer the question
In order to leave comments, you need to log in
It's easier to create groupOfNames and not suffer with regular expressions.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question