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/
This commit is contained in:
Kurt Zeilenga 2000-05-15 16:31:59 +00:00
parent ae7d89fa1e
commit 1e65293aa2
3 changed files with 13 additions and 3 deletions

View 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

View 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

View 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);