~ubuntu-branches/ubuntu/natty/nss-pam-ldapd/natty

« back to all changes in this revision

Viewing changes to debian/libnss-ldapd.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Arthur de Jong
  • Date: 2010-08-18 21:00:00 UTC
  • Revision ID: james.westby@ubuntu.com-20100818210000-7xqgzmet02satf0t
Tags: 0.7.8
* minor portability improvements and clean-ups (thanks Alexander V.
  Chernikov and Ted C. Cheng)
* don't expand variables in rest of ${var:-rest} and ${var:+rest}
  expressions if it is not needed (closes: #592320)
* libpam-ldapd.postinst: offer to add ldap to shadow in nsswitch.conf if
  a potential broken configuration is found (closes: #592104)
  (thanks to Justin B Rye for the template review)
* merge the suggests of libnss-ldapd and libpam-ldapd into those of the
  nslcd package to have a single consistent list of PAM alternatives
  (closes: #591773)
* add libpam-sss as an alternative to libpam-ldapd (closes: #591773)
* upgrade to standards-version 3.9.1 (no changes needed)
* updated Portuguese debconf translation by Américo Monteir
  (closes: #593404)
* updated Russian debconf translation by Yuri Kozlov (closes: #593491)
* added Norwegian Bokmål debconf translation by Bjørn Steensrud
  (closes: #593501)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
# check to see if name is configured to do lookups through
9
9
# LDAP and enable if not
 
10
# Note: this function is in both libnss-ldapd.postinst and libpam-ldapd.postinst
10
11
nss_enable()
11
12
{
12
13
  name="$1"
27
28
}
28
29
 
29
30
# remove NSS lookups though LDAP for the specified service
 
31
# Note: this function is in both libnss-ldapd.postinst and libnss-ldapd.postrm
30
32
nss_disable()
31
33
{
32
34
  name="$1"