From 0c73bf699618f365acc5b796ac7d7689d6f9e530 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Sat, 24 Nov 2007 23:03:21 +0000 Subject: fixed ldap handler not recognizing database suffix --- handlers/ldap.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'handlers') diff --git a/handlers/ldap.in b/handlers/ldap.in index 4d9a335..f6f87c7 100644 --- a/handlers/ldap.in +++ b/handlers/ldap.in @@ -42,7 +42,7 @@ if [ "$ldif" == "yes" ]; then fi for db in $databases; do - if [ `expr index "$dbnum" "="` == "0" ]; then + if [ `expr index "$db" "="` == "0" ]; then # db is a number, get the suffix. dbsuffix=${dbsuffixes[$db]/*:/} else -- cgit v1.2.3