Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
Dimitar Stoychev
OpenLDAP
Commits
2478fdf2
Commit
2478fdf2
authored
20 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
A very basic DB_CONFIG example
parent
755522df
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
servers/slapd/DB_CONFIG
+25
-0
25 additions, 0 deletions
servers/slapd/DB_CONFIG
servers/slapd/Makefile.in
+10
-2
10 additions, 2 deletions
servers/slapd/Makefile.in
servers/slapd/slapd.conf
+1
-1
1 addition, 1 deletion
servers/slapd/slapd.conf
with
36 additions
and
3 deletions
servers/slapd/DB_CONFIG
0 → 100644
+
25
−
0
View file @
2478fdf2
# $OpenLDAP$
# Example DB_CONFIG file for use with slapd(8) BDB/HDB databases.
#
# See Sleepycat Berkeley DB documentation
# <http://www.sleepycat.com/docs/ref/env/db_config.html>
# for detail description of DB_CONFIG syntax and semantics.
#
# Hints can also be found in the OpenLDAP Software FAQ
# <http://www.openldap.org/faq/index.cgi?file=2>
# one 0.25 GB cache
set_cachesize 0 268435456 1
# Data Directory
#set_data_dir db
# Transaction Log settings
set_lg_regionmax 262144
set_lg_bsize 2097152
#set_lg_dir logs
# When using (and only when using) slapadd(8) or slapindex(8),
# the following flags may be useful:
#set_flags DB_TXN_NOSYNC
#set_flags DB_TXN_NOT_DURABLE
This diff is collapsed.
Click to expand it.
servers/slapd/Makefile.in
+
10
−
2
View file @
2478fdf2
...
...
@@ -350,7 +350,8 @@ veryclean-local-srv: FORCE
fi
;
\
done
install-local-srv
:
install-slapd install-conf install-schema install-tools
install-local-srv
:
install-slapd install-tools
\
install-conf install-db-config install-schema install-tools
install-slapd
:
FORCE
-$(
MKDIR
)
$(
DESTDIR
)$(
libexecdir
)
...
...
@@ -406,7 +407,6 @@ install-schema: FORCE
install-conf
:
FORCE
@
-
$(
MKDIR
)
$(
DESTDIR
)$(
sysconfdir
)
@
-
$(
INSTALL
)
-m
700
-d
$(
DESTDIR
)$(
localstatedir
)
/openldap-data
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
600 slapd.conf.tmp
$(
DESTDIR
)$(
sysconfdir
)
/slapd.conf.default
if
test
!
-f
$(
DESTDIR
)$(
sysconfdir
)
/slapd.conf
;
then
\
echo
"installing slapd.conf in
$(
sysconfdir
)
"
;
\
...
...
@@ -416,6 +416,14 @@ install-conf: FORCE
echo
"PRESERVING EXISTING CONFIGURATION FILE
$(
DESTDIR
)$(
sysconfdir
)
/slapd.conf"
;
\
fi
install-db-config
:
FORCE
@
-
$(
MKDIR
)
$(
DESTDIR
)$(
localstatedir
)
$(
DESTDIR
)$(
sysconfdir
)
@
-
$(
INSTALL
)
-m
700
-d
$(
DESTDIR
)$(
localstatedir
)
/openldap-data
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
600 DB_CONFIG
\
$(
DESTDIR
)$(
localstatedir
)
/openldap-data/DB_CONFIG.example
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
600 DB_CONFIG
\
$(
DESTDIR
)$(
sysconfdir
)
/DB_CONFIG.example
install-tools
:
FORCE
-$(
MKDIR
)
$(
DESTDIR
)$(
sbindir
)
cd
$(
DESTDIR
)$(
sbindir
);
\
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/slapd.conf
+
1
−
1
View file @
2478fdf2
...
...
@@ -49,7 +49,7 @@ argsfile %LOCALSTATEDIR%/run/slapd.args
# rootdn can always read and write EVERYTHING!
#######################################################################
#
ldbm
database definitions
#
BDB
database definitions
#######################################################################
database
bdb
...
...
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