Skip to content
Snippets Groups Projects
Commit 1e65293a authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

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/
parent ae7d89fa
No related branches found
No related tags found
No related merge requests found
# $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
......
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
#!/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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment