diff options
Diffstat (limited to 'debian/libnss-ldapd.config')
-rw-r--r-- | debian/libnss-ldapd.config | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/libnss-ldapd.config b/debian/libnss-ldapd.config index 4fc68bb..03d5622 100644 --- a/debian/libnss-ldapd.config +++ b/debian/libnss-ldapd.config @@ -11,6 +11,13 @@ db_version 2.0 # set title db_title "Configuring libnss-ldapd" +# +# This is the fist part of the script. In this part an attempt +# is made to get or guess the current configuration. This information +# is used later on to prompt the user and to provide a sensible +# default. +# + # parse /etc/nsswitch.conf and see which services have ldap specified db_get libnss-ldapd/nsswitch if [ -z "$RET" ] @@ -23,6 +30,12 @@ then db_set libnss-ldapd/nsswitch "$configured" fi +# +# This is the second part of the script. In this part the configurable +# settings will be presented to the user for approval. The postinst +# will finaly perform the actual modifications. +# + # ask for which nsswitch options to configure db_capb multiselect db_input high libnss-ldapd/nsswitch || true |