]> git.sur5r.net Git - openldap/commitdiff
Minor updates to shell backend configuration/examples.
authorKurt Zeilenga <kurt@openldap.org>
Mon, 15 May 2000 16:31:59 +0000 (16:31 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 15 May 2000 16:31:59 +0000 (16:31 +0000)
Replace U-Mich DN with OpenLDAP DN
Remove default referral
Add copyright notice
s/#!/bin/sh/#! /bin/sh/

servers/slapd/back-shell/Makefile.in
servers/slapd/back-shell/searchexample.conf
servers/slapd/back-shell/searchexample.sh

index a8a1e3f25dee6c61ea451859922a7571cf70483f..d7f85df220a0d22e80ff0bcf85cdbd041e849901 100644 (file)
@@ -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
index 4defa4ba6531f4878d2ba8193f24b268974030bc..864ab22a3aa8084f5ca416c476ecd62fe0657e6c 100644 (file)
@@ -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
index 26b70fefbd39ebf75758749cabe635098f495fa4..c0489d67d6f722583f58c8100bef6d8c6c307a02 100644 (file)
@@ -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);