~ubuntu-branches/ubuntu/trusty/libnss-ldap/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/patches/boot_delays_h

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2009-11-06 01:24:42 UTC
  • mfrom: (1.1.8 upstream) (11.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091106012442-5nynms8vz39j8o6i
Tags: 264-2ubuntu1
* Merge from debian testing, remaining changes:
  + debian/control: update Maintainer field now that in main
  + debian/control: Depends on ldap-auth-config
  + debian/control: Removed Depends on po-debconf and debconf (debconf
    handled by ldap-auth-config now)
  + removed the following files:
    - debian/config
    - debian/libnss-ldap.postinst
    - debian/libnss-ldap.postrm
    - debian/patches/00debian_conf.patch
    - debian/po
    - debian/templates
  + debian/LDAP-Permissions.txt: use /etc/ldap.conf
  + debian/README.Debian: use /etc/ldap.conf
  + debian/rules: don't use --with-ldap-conf-file and --with-ldap-secret-file
  + debian/libnss-ldap.install: removed usr/share/libnss-ldap/ldap.conf
  + debian/libnss-ldap.dirs: removed usr/share/libnss-ldap
  + debian/control: move nscd to Suggests
  + debian/patches/series, debian/patches/00fix-ethers-truncation.patch:
    Fix lookups for hostname by MAC address (http://bugzilla.padl.com/show_bug.cgi?id=388) (LP: #315241)
* Remaining changes from debian unstable for LP: #155947
  + added debian/nssldap-update-ignoreusers which update
    nss_initgroups_ignoreusers in /etc/ldap.conf based on
    nss_initgroups_minimum_uid
  + add manpage for nssldap-update-ignoreusers
  + debian/libnss-ldap.install: added usr/sbin/nssldap-update-ignoreusers
    and usr/share/man/man8/nssldap-update-ignoreusers.8
  + added debian/libnss-ldap.init to call nssldap-update-ignoreusers on
    shutdown
  + debian/rules: install initscript
  + debian/libnss-ldap.dirs: added var/lib/libnss-ldap
  + debian/patches/01_minimum_uid.patch: update ldap.conf and manpage for
    nss_initgroups_ignoreusers and nss_initgroups_minimum_uid updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Reduce tries to minimize boot delays
 
2
--- libnss-ldap-255.orig/ldap-nss.h
 
3
+++ libnss-ldap-255/ldap-nss.h
 
4
@@ -96,9 +96,9 @@
 
5
  * unacceptable, in which case you may wish to adjust
 
6
  * the constants below.
 
7
  */
 
8
-#define LDAP_NSS_TRIES           5     /* number of sleeping reconnect attempts */
 
9
-#define LDAP_NSS_SLEEPTIME       4     /* seconds to sleep; doubled until max */
 
10
-#define LDAP_NSS_MAXSLEEPTIME    64    /* maximum seconds to sleep */
 
11
+#define LDAP_NSS_TRIES           1     /* number of sleeping reconnect attempts */
 
12
+#define LDAP_NSS_SLEEPTIME       1     /* seconds to sleep; doubled until max */
 
13
+#define LDAP_NSS_MAXSLEEPTIME    8     /* maximum seconds to sleep */
 
14
 #define LDAP_NSS_MAXCONNTRIES    2     /* reconnect attempts before sleeping */
 
15
 
 
16
 #if defined(HAVE_NSSWITCH_H) || defined(HAVE_IRS_H)