summaryrefslogtreecommitdiff
path: root/ldap
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-12-15 15:31:12 +0100
committerJonas Smedegaard <dr@jones.dk>2008-12-15 15:31:12 +0100
commit5c38134be1197388e316bb0a17558560ef33a15c (patch)
tree08aa9ac40697bf403fe06bbcb92ba28cb7e59788 /ldap
parent2edca013de8ec1a6e32cff62fafe28383c291d6e (diff)
Add licensing header. Fix type.
Diffstat (limited to 'ldap')
-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" \