diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2009-08-31 20:49:09 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2009-08-31 20:49:09 +0200 |
commit | d82b61ae5518f03f5df18b5d132f103a88bf9777 (patch) | |
tree | 05f3fa45fa52726fc4480efea75ecec221b51114 /debian/nslcd.postinst | |
parent | 3cd98e069c2f6e2f9de78148af196578eb40cc67 (diff) |
rename software to nss-pam-ldapd
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@978 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'debian/nslcd.postinst')
-rw-r--r-- | debian/nslcd.postinst | 22 |
1 files changed, 11 insertions, 11 deletions
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 |