From 632e906a610506f688835078f5398d3d1cd2792f Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Wed, 25 Jul 2012 09:42:02 +0200 Subject: Example file updates Allow full path to clc Remove cristal-dev dependency --- bin/openldap/README | 2 +- bin/openldap/slapd.conf | 25 +++++++++---------------- 2 files changed, 10 insertions(+), 17 deletions(-) (limited to 'bin') diff --git a/bin/openldap/README b/bin/openldap/README index 6bfdabc..daa0b9c 100644 --- a/bin/openldap/README +++ b/bin/openldap/README @@ -1,5 +1,5 @@ cristal2.schema goes in OpenLDAP/schemas, or change the include line to point to it here. -edit your slapd.conf to include it, and replace the env vars with your local path. +edit your slapd.conf to include it. edit the suffix and rootdn and rootpass use this slapd to help you diff --git a/bin/openldap/slapd.conf b/bin/openldap/slapd.conf index 65cebf1..4502164 100644 --- a/bin/openldap/slapd.conf +++ b/bin/openldap/slapd.conf @@ -1,20 +1,13 @@ -# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.7 2001/09/27 20:00:31 kurt Exp $ -# -# See slapd.conf(5) for details on configuration options. -# This file should NOT be world readable. -# -include D:/openldap-2_0_19_debug/schema/core.schema -include D:/openldap-2_0_19_debug/schema/cristal2.schema -pidfile D:/openldap-2_0_19_debug/slapd.pid -argsfile D:/openldap-2_0_19_debug/slapd.args +include /etc/openldap/schema/core.schema +include cristal-kernel/bin/openldap/cristal2.schema +pidfile /var/run/slapd/slapd.pid +argsfile /var/run/slapd/slapd.args +moduleload back_bdb.la -# if no access controls are present, the default is: -# Allow read by all -# rootdn can always write! - -database ldbm +database bdb suffix "o=cern,c=ch" -rootdn "cn=Directory Manager,o=cern,c=ch" -rootpw estrella +rootdn "cn=admin,o=cern,c=ch" +rootpw cristal index objectClass eq +index cn eq,pres,sub -- cgit v1.2.3