From 308648f3f3985545020c21d3ea5185667d4367e4 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sun, 16 Mar 2008 14:51:45 +0000 Subject: comment out all rootbind{dn,pw} code as to not copy those directives because they are unsupported git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@642 ef36b2f9-881f-0410-afb5-c4e39611909c --- debian/libnss-ldapd.config | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'debian/libnss-ldapd.config') diff --git a/debian/libnss-ldapd.config b/debian/libnss-ldapd.config index 0274f57..3bddfe6 100644 --- a/debian/libnss-ldapd.config +++ b/debian/libnss-ldapd.config @@ -82,12 +82,13 @@ parsecfg() # find bindpw bindpw=`sed -n 's/^bindpw[[:space:]]*//ip' "$cfgfile" | tail -n 1` db_set libnss-ldapd/ldap-bindpw "$bindpw" - # find rootbinddb - rootbinddn=`sed -n 's/^rootbinddn[[:space:]]*//ip' "$cfgfile" | tail -n 1` - db_set libnss-ldapd/ldap-rootbinddn "$rootbinddn" - # find rootbindpw - rootbindpw=`sed -n 's/^rootbindpw[[:space:]]*//ip' "$cfgfile" | tail -n 1` - db_set libnss-ldapd/ldap-rootbindpw "$rootbindpw" +# DISABLE rootbinddn for now because it's not supported +# # find rootbinddb +# rootbinddn=`sed -n 's/^rootbinddn[[:space:]]*//ip' "$cfgfile" | tail -n 1` +# db_set libnss-ldapd/ldap-rootbinddn "$rootbinddn" +# # find rootbindpw +# rootbindpw=`sed -n 's/^rootbindpw[[:space:]]*//ip' "$cfgfile" | tail -n 1` +# db_set libnss-ldapd/ldap-rootbindpw "$rootbindpw" # we're done return 0 } @@ -108,8 +109,9 @@ parsensswitch() # clear some settings in case they are not set in the config db_set libnss-ldapd/ldap-binddn "" db_set libnss-ldapd/ldap-bindpw "" -db_set libnss-ldapd/ldap-rootbinddn "" -db_set libnss-ldapd/ldap-rootbindpw "" +# DISABLE rootbinddn for now because it's not supported +#db_set libnss-ldapd/ldap-rootbinddn "" +#db_set libnss-ldapd/ldap-rootbindpw "" # fill our defaults with the current configuration if available # and fall back to guessing the config from some other system files @@ -197,7 +199,8 @@ do db_capb multiselect db_input high libnss-ldapd/nsswitch || true state="done" - db_go || state="rootbindpw" +# db_go || state="rootbindpw" + db_go || state="bindpw" ;; esac done -- cgit v1.2.3