Skip to content

Commit d6b82ec

Browse files
Pierangelo MasaratiPierangelo Masarati
Pierangelo Masarati
authored and
Pierangelo Masarati
committed
more about ITS#7525
1 parent bc1d442 commit d6b82ec

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

servers/slapd/back-meta/config.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -319,15 +319,15 @@ static ConfigTable metacfg[] = {
319319
NULL, NULL },
320320

321321
{ "subtree-exclude", "pattern", 2, 2, 0,
322-
ARG_QUOTE|ARG_MAGIC|LDAP_BACK_CFG_SUBTREE_EX,
322+
ARG_MAGIC|LDAP_BACK_CFG_SUBTREE_EX,
323323
meta_back_cf_gen, "( OLcfgDbAt:3.103 "
324324
"NAME 'olcDbSubtreeExclude' "
325325
"DESC 'DN of subtree to exclude from target' "
326326
"EQUALITY caseIgnoreMatch "
327327
"SYNTAX OMsDirectoryString )",
328328
NULL, NULL },
329329
{ "subtree-include", "pattern", 2, 2, 0,
330-
ARG_QUOTE|ARG_MAGIC|LDAP_BACK_CFG_SUBTREE_IN,
330+
ARG_MAGIC|LDAP_BACK_CFG_SUBTREE_IN,
331331
meta_back_cf_gen, "( OLcfgDbAt:3.104 "
332332
"NAME 'olcDbSubtreeInclude' "
333333
"DESC 'DN of subtree to include in target' "

tests/data/slapd-meta.conf

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ bind-timeout 1000000
5050

5151
# local
5252
uri "@URI2@ou=Meta,o=Example,c=US"
53+
subtree-exclude "ou=Excluded,ou=Meta,o=Example,c=US"
5354
suffixmassage "ou=Meta,o=Example,c=US" "ou=Meta,dc=example,dc=com"
5455
###pseudorootdn "cn=manager,ou=meta,dc=example,dc=com"
5556
###pseudorootpw secret
@@ -62,6 +63,7 @@ idassert-authzFrom "dn.exact:cn=Manager,o=Local"
6263

6364
# remote
6465
uri "@URI1@o=Example,c=US"
66+
subtree-include "dn.subtree:o=Example,c=US"
6567
suffixmassage "o=Example,c=US" "dc=example,dc=com"
6668
###pseudorootdn "cn=manager,dc=example,dc=com"
6769
###pseudorootpw secret

0 commit comments

Comments
 (0)