diff --git a/servers/slapd/back-shell/searchexample.conf b/servers/slapd/back-shell/searchexample.conf index cd787b4b5a..41fda5e5d0 100644 --- a/servers/slapd/back-shell/searchexample.conf +++ b/servers/slapd/back-shell/searchexample.conf @@ -2,6 +2,8 @@ ## Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved. ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file +include /usr/local/etc/openldap/schema/core.schema + database shell suffix "dc=example,dc=com" search /usr/local/etc/searchexample.sh diff --git a/servers/slapd/back-shell/searchexample.sh b/servers/slapd/back-shell/searchexample.sh index b4c0adb0a1..f93ac5e769 100644 --- a/servers/slapd/back-shell/searchexample.sh +++ b/servers/slapd/back-shell/searchexample.sh @@ -23,7 +23,7 @@ LOGIN=`echo $FILTER | sed -e 's/.*=\(.*\))/\1/'` PWLINE=`grep -i "^$LOGIN" /etc/passwd` -sleep 60 +#sleep 60 # if we found an entry that matches if [ $? = 0 ]; then echo $PWLINE | awk -F: '{