Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/debian/libnss-ldapd.config
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2008-03-16 15:51:45 +0100
committerArthur de Jong <arthur@arthurdejong.org>2008-03-16 15:51:45 +0100
commit308648f3f3985545020c21d3ea5185667d4367e4 (patch)
tree6505ba5d5a23a6acab5c904d6d378000e382360d /debian/libnss-ldapd.config
parent1c450a96a4d72e0ff43b166df3098a7df2c8cc80 (diff)
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
Diffstat (limited to 'debian/libnss-ldapd.config')
-rw-r--r--debian/libnss-ldapd.config21
1 files changed, 12 insertions, 9 deletions
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