From: Kurt Zeilenga Date: Mon, 15 May 2000 16:31:59 +0000 (+0000) Subject: Minor updates to shell backend configuration/examples. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2973 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1e65293aa2a0a0a27f2c678c1a45bf7b758598e9;p=openldap Minor updates to shell backend configuration/examples. Replace U-Mich DN with OpenLDAP DN Remove default referral Add copyright notice s/#!/bin/sh/#! /bin/sh/ --- diff --git a/servers/slapd/back-shell/Makefile.in b/servers/slapd/back-shell/Makefile.in index a8a1e3f25d..d7f85df220 100644 --- a/servers/slapd/back-shell/Makefile.in +++ b/servers/slapd/back-shell/Makefile.in @@ -1,4 +1,6 @@ # $OpenLDAP$ +## Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved. +## COPYING RESTRICTIONS APPLY, see COPYRIGHT file SRCS = init.c config.c fork.c search.c bind.c unbind.c add.c delete.c \ modify.c modrdn.c compare.c abandon.c result.c diff --git a/servers/slapd/back-shell/searchexample.conf b/servers/slapd/back-shell/searchexample.conf index 4defa4ba65..864ab22a3a 100644 --- a/servers/slapd/back-shell/searchexample.conf +++ b/servers/slapd/back-shell/searchexample.conf @@ -1,4 +1,7 @@ -referral ldap://ldap.itd.umich.edu +# $OpenLDAP$ +## Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved. +## COPYING RESTRICTIONS APPLY, see COPYRIGHT file + database shell -suffix "o=university of michigan, c=us" +suffix "dc=openldap,dc=org" search /usr/local/etc/searchexample.sh diff --git a/servers/slapd/back-shell/searchexample.sh b/servers/slapd/back-shell/searchexample.sh index 26b70fefbd..c0489d67d6 100644 --- a/servers/slapd/back-shell/searchexample.sh +++ b/servers/slapd/back-shell/searchexample.sh @@ -1,4 +1,7 @@ -#!/bin/sh +#! /bin/sh +# $OpenLDAP$ +## Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved. +## COPYING RESTRICTIONS APPLY, see COPYRIGHT file while [ 1 ]; do read TAG VALUE @@ -25,6 +28,8 @@ sleep 60 if [ $? = 0 ]; then echo $PWLINE | awk -F: '{ printf("dn: cn=%s,%s\n", $1, base); + printf("objectclass: top\n"); + printf("objectclass: person\n"); printf("cn: %s\n", $1); printf("cn: %s\n", $5); printf("sn: %s\n", $1);