Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Barchiesi
OpenLDAP
Commits
5d28da41
Commit
5d28da41
authored
21 years ago
by
Howard Chu
Browse files
Options
Downloads
Patches
Plain Diff
Use proxycache overlay
parent
7751af3f
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/data/slapd-proxycache.conf
+15
-29
15 additions, 29 deletions
tests/data/slapd-proxycache.conf
with
15 additions
and
29 deletions
tests/data/slapd-proxycache.conf
+
15
−
29
View file @
5d28da41
...
...
@@ -23,44 +23,30 @@ include ./schema/nis.schema
pidfile
./
testrun
/
slapd
.
2
.
pid
argsfile
./
testrun
/
slapd
.
2
.
args
access
to
*
by
write
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
#ldapmod#moduleload ../servers/slapd/back-ldap/back_ldap.la
#
meta
mod#moduleload
../servers/slapd/
back-meta/back_meta
.la
#
pcache
mod#moduleload
../servers/slapd/
overlays/pcache
.la
#######################################################################
# database definitions
#######################################################################
database
@
BACKEND
@
suffix
"o=University of Michigan,c=US,cn=cache"
database
ldap
suffix
"o=University of Michigan,c=US"
rootdn
"o=University of Michigan,c=US"
uri
ldap
://
127
.
0
.
0
.
1
:
9011
overlay
proxycache
proxycache
@
BACKEND
@
100
2
@
ENTRY_LIMIT
@ @
CACHETTL
@
proxyattrset
0
sn
cn
title
uid
proxyattrset
1
mail
postaladdress
telephonenumber
cn
uid
proxytemplate
(|(
cn
=)(
sn
=))
0
@
CACHETTL
@
proxytemplate
(
sn
=)
0
@
CACHETTL
@
proxytemplate
(
uid
=)
1
@
CACHETTL
@
proxytemplate
(
mail
=)
0
@
CACHETTL
@
cachesize
20
directory
./
testrun
/
db
.
2
.
a
index
objectClass
eq
index
cn
,
sn
,
uid
,
mail
pres
,
eq
,
sub
database
meta
rewriteEngine
on
rewriteContext
cacheResult
rewriteRule
"(.*)o=University of Michigan,c=US"
"%1o=University of Michigan,c=US,cn=cache"
":"
rewriteContext
cacheBase
rewriteRule
"(.*)o=University of Michigan,c=US"
"%1o=university of michigan,c=us,cn=cache"
":"
rewriteContext
cacheReturn
rewriteRule
"(.*)o=University of Michigan,c=US,cn=cache"
"%1o=University of Michigan,c=US"
":"
suffix
"o=University of Michigan,c=US"
uri
ldap
://
127
.
0
.
0
.
1
:
9011
/
o
=
University
%
20
of
%
20
Michigan
,
c
=
US
cacheparams
10000
15000
2
@
ENTRY_LIMIT
@ @
CACHETTL
@
attrset
0
sn
cn
title
uid
attrset
1
mail
postaladdress
telephonenumber
cn
uid
addtemplate
(|(
cn
=)(
sn
=))
0
@
CACHETTL
@
addtemplate
(
sn
=)
0
@
CACHETTL
@
addtemplate
(
uid
=)
1
@
CACHETTL
@
addtemplate
(
mail
=)
0
@
CACHETTL
@
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment