summaryrefslogtreecommitdiff
path: root/ldap/mkldapdb
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/mkldapdb')
-rwxr-xr-xldap/mkldapdb7
1 files changed, 6 insertions, 1 deletions
diff --git a/ldap/mkldapdb b/ldap/mkldapdb
index 8ae9f24..fbbdb09 100755
--- a/ldap/mkldapdb
+++ b/ldap/mkldapdb
@@ -1,4 +1,9 @@
#!/bin/sh
+#
+# /etc/local-COMMON/ldap/mkldapdb
+# Copyright 2008 Jonas Smedegaard <dr@jones.dk>
+#
+# Setup LDAP database from skeleton files
set -e
@@ -145,7 +150,7 @@ spacecat $snippets | sed >>"$tempdir/slapd.conf" \
-e "s/@SUFFIX@/$basedn/g" \
-e "s/@ADMIN@/cn=admin,$basedn/g"
-# TODO: Better separate core from normal lif files than "below 100"...
+# TODO: Better separate core from normal ldif files than "below 100"...
file=99
for section in core base cipux horde; do
sed <"$masterdir/db/$section.ldif.in" >"$tempdir/${file}_$section.ldif" \