source: npl/commonservers/openldap_conf/root/usr/sbin/syn3-ldapconf @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100755
File size: 452 bytes
Line 
1#!/bin/bash
2# (C)DatuX - Released under GPL
3# This script creates a ldap include file for all the schemas found in the schema.d directory.
4# Normally automaticly called from /service/slapd
5echo "# Automaticly created by syn3-ldapconf with all files from /etc/openldap/schemas.d/*.schema" > /etc/openldap/schemas.conf
6for SCHEMA in /etc/openldap/schemas.d/*.schema; do
7        echo "include $SCHEMA" >> /etc/openldap/schemas.conf || exit 1
8done
9
10exit 0
Note: See TracBrowser for help on using the repository browser.