From d82b61ae5518f03f5df18b5d132f103a88bf9777 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Mon, 31 Aug 2009 18:49:09 +0000 Subject: rename software to nss-pam-ldapd git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@978 ef36b2f9-881f-0410-afb5-c4e39611909c --- debian/nslcd.postinst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'debian/nslcd.postinst') diff --git a/debian/nslcd.postinst b/debian/nslcd.postinst index 75777dd..0ae6212 100644 --- a/debian/nslcd.postinst +++ b/debian/nslcd.postinst @@ -86,7 +86,7 @@ create_config() # create a simple configuration file from this template cat > "$CONFFILE" << EOM # $CONFFILE -# nss-ldapd configuration file. See nss-ldapd.conf(5) +# nslcd configuration file. See nss-ldapd.conf(5) # for details. # The user and group nslcd should run as. @@ -134,7 +134,7 @@ then else # create nslcd user and group adduser --system --group --home /var/run/nslcd/ \ - --gecos "nss-ldapd name service LDAP connection daemon" \ + --gecos "nslcd name service LDAP connection daemon" \ --no-create-home \ nslcd # add uid/gid options to the config file if it exists @@ -142,7 +142,7 @@ then if [ -f "$CONFFILE" ] then echo "Adding uid and gid options to $CONFFILE..." >&2 - echo "# automatically added on upgrade of libnss-ldapd package" >> "$CONFFILE" + echo "# automatically added on upgrade of nslcd package" >> "$CONFFILE" cfg_set uid nslcd cfg_set gid nslcd fi @@ -150,10 +150,10 @@ then # create a default configuration create_config # set server uri - db_get libnss-ldapd/ldap-uris + db_get nslcd/ldap-uris cfg_uris "$RET" # set search base - db_get libnss-ldapd/ldap-base + db_get nslcd/ldap-base if [ -n "$RET" ] then cfg_set base "$RET" @@ -161,11 +161,11 @@ then cfg_disable base fi # set bind dn/pw - db_get libnss-ldapd/ldap-binddn + db_get nslcd/ldap-binddn if [ -n "$RET" ] then cfg_set binddn "$RET" - db_get libnss-ldapd/ldap-bindpw + db_get nslcd/ldap-bindpw if [ -n "$RET" ] then cfg_set bindpw "$RET" @@ -187,9 +187,9 @@ then fi fi # remove password from database - db_set libnss-ldapd/ldap-bindpw "" + db_set nslcd/ldap-bindpw "" # set ssl option - db_get libnss-ldapd/ldap-starttls + db_get nslcd/ldap-starttls if [ "$RET" = "true" ] then cfg_set ssl "start_tls" @@ -198,7 +198,7 @@ then cfg_disable ssl fi # set tls_reqcert option - db_get libnss-ldapd/ldap-reqcert + db_get nslcd/ldap-reqcert if [ -n "$RET" ] then # rename any tls_checkpeer options @@ -206,7 +206,7 @@ then # set tls_reqcert option cfg_set tls_reqcert "$RET" # clear debconf value so that this option is only set if the question is asked - db_set libnss-ldapd/ldap-reqcert "" + db_set nslcd/ldap-reqcert "" fi # we're done db_stop -- cgit v1.2.3