From 358385296af9d9a9de6e1ccef0ce5c509f9e7fcd Mon Sep 17 00:00:00 2001 From: Paul Wolneykien Date: Wed, 20 Jul 2011 03:18:06 +0400 Subject: [PATCH] Mark the configuration file is present in the case of localhost based ldap/krb5 --- alterator-ldap-users/backend3/ldap-users | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/alterator-ldap-users/backend3/ldap-users b/alterator-ldap-users/backend3/ldap-users index 3f14e9b..a81617c 100755 --- a/alterator-ldap-users/backend3/ldap-users +++ b/alterator-ldap-users/backend3/ldap-users @@ -546,6 +546,7 @@ set_dn_conf(){ DN_CONF=$(ldap-dn find "$base") rootdn=$(egrep "rootdn" "$DN_CONF"|cut -f2 -d' '|tr -d '"') rootpw="-w $(egrep "rootpw" "$DN_CONF"|cut -f2 -d' ')" + bind_info="present" export DN_CONF export mode host base rootdn rootpw [ "$mode" == 'krb5' ] && export ENABLE_KRB="yes" -- 1.7.3.3