nss-pam-ldapd branch master updated. 0.9.3
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd branch master updated. 0.9.3
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd branch master updated. 0.9.3
- Date: Wed, 12 Mar 2014 22:33:56 +0100 (CET)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nss-pam-ldapd".
The branch, master has been updated
via 8f12c15ec91c9cf12ed08f8fdd943e9a7c0a7c12 (commit)
via 1ec7739015f5e8087f5b8f948da532460c55a3aa (commit)
from 44764f0fbf898c556ca599658029551036ad5481 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://arthurdejong.org/git/nss-pam-ldapd/commit/?id=8f12c15ec91c9cf12ed08f8fdd943e9a7c0a7c12
commit 8f12c15ec91c9cf12ed08f8fdd943e9a7c0a7c12
Author: Arthur de Jong <arthur@arthurdejong.org>
Date: Wed Mar 12 21:55:13 2014 +0100
Get files ready for 0.9.3 release
diff --git a/AUTHORS b/AUTHORS
index 27437d6..c50674f 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -124,3 +124,7 @@ Steve Hill <steve@opendium.com>
Caleb Callaway <enlightened.despot@gmail.com>
Bersl <bersl2@bersl2.info>
John Sullivan <jsrhbz@kanargh.force9.co.uk>
+Joshua Shire <jshire@hyduke.com>
+Francois Tigeot <ftigeot@wolfpond.org>
+Davy Defaud <davy.defaud@free.fr>
+Lukas Slebodnik <lslebodn@redhat.com>
diff --git a/ChangeLog b/ChangeLog
index c7854f2..0ef95f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,356 @@
+2014-03-12 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [1ec7739] INSTALL, missing, test-driver: Update files from
+ recent automake
+
+2014-03-10 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [44764f0] tests/Makefile.am, tests/test_myldap.sh,
+ tests/test_nsscmds.sh: Run the correct executables for the tests
+
+ This fixes issues with running the tests when using a separate
+ build directory (fixes ef0eddaa).
+
+2014-03-10 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [77444ac] tests/test_myldap.sh: Fix nslcd-test.conf permissions
+ for test
+
+ This ensures that configuration file is not world readable when
+ the tests are run. This avoids test failure for the use of the
+ rootpwmodpw option.
+
+2014-03-10 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [96e4171] common/nslcd-prot.h: Interpret transferred integers
+ as signed again
+
+ This fixes an issue with unsigned values ending up in signed
+ fields and missing sign extension.
+
+ See: https://bugs.debian.org/739330
+
+2014-01-27 Nalin Dahyabhai <nalin@redhat.com>
+
+ * [2d35feb] nss/hosts.c, nss/networks.c: Use right h_errnop for
+ retrying with larger buffer
+
+ The libc nsswitch code expects h_errno to be set to NETDB_INTERNAL
+ when it needs to try again with a larger buffer.
+
+ Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com>
+
+2014-01-27 Lukas Slebodnik <lslebodn@redhat.com>
+
+ * [8532f40] nss/hosts.c, nss/networks.c: Fix crash when retrieving
+ large networks entries
+
+ If NSS_STATUS_TRYAGAIN is returned from read_one_hostent or
+ read_one_netent then fp will be closed and function tio_skipall
+ will be called with NULL pointer. It could happend in functions:
+ _nss_ldap_getnetbyname_r _nss_ldap_getnetbyaddr_r
+ _nss_ldap_gethostbyname2_r _nss_ldap_gethostbyaddr_r
+
+ Fixes r548 (aka afd5d9b).
+
+2014-01-30 Davy Defaud <davy.defaud@free.fr>
+
+ * [4211961] nslcd/group.c: Support builtin Windows groups
+
+ This maps the gid (gidNumber) to an AD SID for builtin
+ groups when searching a group by gid (RID) between 544 and
+ 552. In that case the SID prefix is not the domain's prefix
+ (S-1-5-21-dddddd-dddddd-dddddd) but the BUILTIN SID prefix
+ (1-5-32).
+
+ For example, if you add a user to the Administrators builtin
+ group (S-1-5-32-544), now you should be able to get this group
+ through nslcd, instead of receiving an error message.
+
+2014-01-25 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [f6a0675] configure.ac: Add test for krb5 thread safety
+
+ This adds a test that checks the return value of
+ krb5_is_thread_safe() to see if krb5 is thread safe (during build)
+ and issues a warning if it is not.
+
+ nslcd does not directly link to krb5 but the library may be
+ loaded (by GSSAPI) if Kerberos is used to authenticate nslcd to
+ the LDAP server.
+
+2014-01-25 Francois Tigeot <ftigeot@wolfpond.org>
+
+ * [043838c] configure.ac: Also detect DragonFly as BSD
+
+ This fixes the detection of DragonFly as requiring the freebsd
+ NSS interface flavour.
+
+2014-01-24 joshuashire <joshuashire@hotmail.com>
+
+ * [2181cca] nslcd/shadow.c: Update shadow.c to resolve pwdLastSet
+ issue
+
+ We read the date into the buffer to the specified length to get it
+ to the Unix time (i.e. seconds) from its AD value of nanoseconds,
+ then convert it to days for shadow. If we use date rather than
+ buffer we end up trying to convert the original nanosecond value.
+
+2014-01-05 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [c6c317e] : Implement deref control handling
+
+ This uses the LDAP_CONTROL_X_DEREF control as described in
+ draft-masarati-ldap-deref-00 to request the LDAP server to
+ dereference group member attribute values to uid attribute values.
+
+ This should reduce the number of searches that are required for
+ expanding group members that use the member attribute.
+
+ This mechanism could also be used to extract information on
+ nested groups but the gains are less clear there.
+
+ Not all LDAP servers support this control. In OpenLDAP, load the
+ (currently undocumented) deref overlay and enable it for the
+ database to take advantage of this improvement.
+
+ There is a functional difference when using this control. Any
+ returned deferred uid value returned by the LDAP server is accepted
+ as a member. No checks are performed to see if the user matches
+ the search base and search filters set for passwd entries.
+
+2014-01-05 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [309b4bb] README: Update documentation
+
+ This documents the way the deref controls are used.
+
+2014-01-05 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [cecc024] nslcd/group.c: Use myldap_get_deref_values() to get
+ member uids
+
+ This uses information from the deref control (if available)
+ to get the username for each of the members of the group. Any
+ missing deref member attribute values will be seen as nested
+ groups and will be traversed if nested group support is enabled.
+
+2014-01-05 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [c973834] configure.ac, nslcd/myldap.c, nslcd/myldap.h: Provide
+ a myldap_get_deref_values() function
+
+ This function looks for deref response controls
+ (LDAP_CONTROL_X_DEREF) in the entry and returns the information
+ from the dereferenced attribute in two lists: dereferenced values
+ and attribute values that could not be dereferenced.
+
+2014-01-05 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [3992e15] nslcd/group.c: Skip member attributes in bymember search
+
+ This changes the group by member searches to not request the
+ member attributes. This will speed up result parsing by a fraction
+ because less data is transferred but will also cause the deref
+ control not to be added to these searches.
+
+2013-12-28 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [15ee2fc] compat/Makefile.am, compat/derefctrl.c,
+ compat/ldap_compat.h, configure.ac: Provide replacement
+ ldap_create_deref_control()
+
+ This adds a test for a bug in OpenLDAP that allocated a
+ LDAP_CONTROL_PAGEDRESULTS control instead of a LDAP_CONTROL_X_DEREF
+ control.
+
+2014-01-05 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [547e479] configure.ac, nslcd/myldap.c: Request attribute deref
+ via search control
+
+ This uses the LDAP_CONTROL_X_DEREF control as descibed in
+ draft-masarati-ldap-deref-00 to request the LDAP server to
+ dereference member attribute values to uid attribute values in
+ order to avoid doing extra searches.
+
+ This control is currently only added for group search by looking
+ for the member attribute in the search.
+
+2014-01-04 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [c22eb08] nslcd/myldap.c: Rename entry property to indicate
+ storage type
+
+ This changes entrye->rangedattributevalues to entry->buffers
+ because the propery is not only used for ranged attribute values
+ but for anything that can be freed with free().
+
+2014-01-03 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [f009c96] nslcd/myldap.c: Ignore missing page controls
+
+ Since we could get arbitrray controls and are only interested
+ in page controls we ignore failures to find page controls.
+
+2014-01-03 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [4f6dfdd] nslcd/myldap.c: Use do_try_search() also for paged
+ searches
+
+ This also changes do_try_search() to support building continued
+ paged controls and lays the groundwork for adding more search
+ controls.
+
+2014-01-05 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [be94912] nslcd/attmap.c, nslcd/group.c, pynslcd/group.py:
+ Support blanking the member attribute
+
+ This allows remapping the member attribute to an empty string
+ which removes support for that attribute. This can reduce the
+ number of search operations if the attribute is not used.
+
+2014-01-05 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [0d3fa5d] nslcd/group.c: Fix typo
+
+2014-01-05 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [8e74848] nslcd/group.c, nss/netgroup.c, tests/test_set.c:
+ Fix memory leaks related to set_pop()
+
+ Some pieces of code did not properly free() the value returned
+ by set_pop().
+
+ The leak in group code was related to the introduction of nested
+ group functionality in 41ba574 (merged in 3daa68d) so should
+ only be present in releases 0.9.0 forward.
+
+ The leak in the netgroup code only ended up in the Solaris
+ version of the NSS module and was introduced in 4ea9ad1 (merged in
+ 5c8779d). This leak is present in all releases from 0.8.0 forward.
+
+2014-01-04 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [3288942] tests/test_myldap.c: Fix compiler warnings in the
+ myldap test
+
+2014-01-02 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [2b8fbc2] : Only exit nslcd when daemon is ready
+
+ This removes a race condition between the exit of the initial
+ nslcd process (as started by the init script) and nslcd services
+ being ready.
+
+2014-01-02 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [3afedc4] compat/Makefile.am, compat/daemon.c, compat/daemon.h,
+ configure.ac: Remove daemon() replacement function
+
+2014-01-02 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [907d49d] configure.ac, nslcd/daemonize.c: Close daemon pipe
+ file descriptor on fork or exec
+
+ This tries to avoid child processes ending up with a copy of
+ the pipe file descriptor that is used to signal readiness of
+ the daemon.
+
+2014-01-02 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [42a1a3d] nslcd/Makefile.am, nslcd/daemonize.c, nslcd/daemonize.h,
+ nslcd/nslcd.c: Properly daemonise nslcd and only exit when ready
+
+ This introduces a new daemonize module that provides functions for
+ closing all file descriptors, redirecting stdin/stdout/stderr to
+ /dev/null and a function for backgrounding an application while
+ only exiting the original process after the daemon process has
+ indicated readiness.
+
+ This is used to exit the original process only after the listening
+ socket has been set up and the worker threads have been started.
+
+2013-12-28 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [e3f0453] configure.ac: Re-organise ldap function tests
+
+2013-12-21 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [3ce5ef9] : Make dn2uid cache tuneable
+
+ This introduces a new cache configuration option that allows
+ setting positive and negative cache lifetimes for the dn2uid cache.
+
+2013-12-21 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [19f3cc3] tests/test_cfg.c: Add a test for new configuration option
+
+2013-12-21 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [09969cf] man/nslcd.conf.5.xml: Document cache option in
+ manual page
+
+2013-12-21 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [a0c90d2] nslcd/passwd.c: Use dn2uid cache options
+
+ The configuration values are used in the cache to determine
+ positive and negative hit TTLs. This also allows completely
+ disabling the cache.
+
+2013-12-21 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [99ad1b4] nslcd/cfg.c, nslcd/cfg.h: Implement a cache configuration
+ option
+
+ This adds the cache nslcd.conf configuration option to configure
+ the dn2uid cache in nslcd with a positive and negative cache
+ lifetime.
+
+2013-12-19 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [82bac61] nslcd/passwd.c: Have positive and negative cache timeouts
+
+ The positive value determines the time a found entry is valid,
+ the negative timeout determines the lifetime of not found entries.
+
+2013-12-19 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [b9ec6df] nslcd/cfg.c: Support printing children search scope
+
+ This fixes 2caeef4.
+
+2013-12-18 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [9f02853] nslcd/alias.c, nslcd/common.c, nslcd/common.h,
+ nslcd/ether.c, nslcd/group.c, nslcd/host.c, nslcd/myldap.c,
+ nslcd/netgroup.c, nslcd/network.c, nslcd/pam.c, nslcd/passwd.c,
+ nslcd/protocol.c, nslcd/rpc.c, nslcd/service.c, nslcd/shadow.c,
+ nslcd/usermod.c: Centralise buffer sizes
+
+ Common buffer sizes are now stored centrally so it can be easily
+ and consistently updated if required. Some buffers remain with
+ locally defined sizes that do not match a global buffer size.
+
+2013-11-25 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [23a41ce] compat/pam_get_authtok.c, compat/pam_prompt.c,
+ configure.ac, pam/pam.c: Add a test for pam_get_item() argument
+ type
+
+ This checks whether pam_get_item() takes a const void ** or void
+ ** item value argument and defines a PAM_ITEM_CONST macro that
+ is const when it should. This avoids some compiler warnings.
+
+2013-10-30 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [81bfb8b] ChangeLog, NEWS, configure.ac, man/chsh.ldap.1.xml,
+ man/getent.ldap.1.xml, man/nslcd.8.xml, man/nslcd.conf.5.xml,
+ man/pam_ldap.8.xml, man/pynslcd.8.xml: Get files ready for
+ 0.9.2 release
+
2013-10-29 Arthur de Jong <arthur@arthurdejong.org>
* [ef0edda] tests/test_myldap.sh, tests/test_nsscmds.sh,
diff --git a/NEWS b/NEWS
index 3403e90..79a3d2d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,28 @@
+changes from 0.9.2 to 0.9.3
+---------------------------
+
+* make the dn2uid cache lifetime configurable with the cache configuration
+ option
+* have the nslcd process only exit after the service is completely available
+ to avoid race conditions in the init script
+* the nslcd daemon now properly daemonises (double fork)
+* support mapping the member attribute to an empty string to disable the
+ functionality to do extra lookups for member DN to member uid translations
+* implement deref control handling to request the LDAP server to dereference
+ group member attribute values to uid values
+* support getting built-in groups from Active Directory (thanks Davy Defaud)
+* fix for pwdLastSet attribute value handling (thanks Joshua Shire)
+* fix a possible crash in the NSS module when retrieving large networks
+ entries (thanks Lukas Slebodnik)
+* correct NSS h_errnop return value to indicate buffer too small (thanks
+ Nalin Dahyabhai)
+* fix a bug with shadow values on 64-bit architectures
+* automatically detect DragonFly as using the FreeBSD NSS interface (thanks
+ Francois Tigeot)
+* add a build-time test to see if krb5 is thread-safe
+* various minor bug fixes
+
+
changes from 0.9.1 to 0.9.2
---------------------------
diff --git a/configure.ac b/configure.ac
index 213c510..16e9701 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,10 +33,10 @@ configure.ac file for more details.])
# initialize and set version and bugreport address
AC_INIT([nss-pam-ldapd],
- [0.9.2],
+ [0.9.3],
[nss-pam-ldapd-users@lists.arthurdejong.org],,
[http://arthurdejong.org/nss-pam-ldapd/])
-RELEASE_MONTH="Oct 2013"
+RELEASE_MONTH="Mar 2014"
AC_SUBST(RELEASE_MONTH)
AC_CONFIG_SRCDIR([nslcd.h])
AC_CONFIG_MACRO_DIR([m4])
diff --git a/man/chsh.ldap.1.xml b/man/chsh.ldap.1.xml
index 0e7d530..2f10ca8 100644
--- a/man/chsh.ldap.1.xml
+++ b/man/chsh.ldap.1.xml
@@ -5,7 +5,7 @@
<!--
chsh.ldap.1.xml - docbook manual page for chsh.ldap
- Copyright (C) 2013 Arthur de Jong
+ Copyright (C) 2013-2014 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -35,9 +35,9 @@
<refmeta>
<refentrytitle>chsh.ldap</refentrytitle>
<manvolnum>1</manvolnum>
- <refmiscinfo class="version">Version 0.9.2</refmiscinfo>
+ <refmiscinfo class="version">Version 0.9.3</refmiscinfo>
<refmiscinfo class="manual">User Commands</refmiscinfo>
- <refmiscinfo class="date">Oct 2013</refmiscinfo>
+ <refmiscinfo class="date">Mar 2014</refmiscinfo>
</refmeta>
<refnamediv id="name">
diff --git a/man/getent.ldap.1.xml b/man/getent.ldap.1.xml
index d6337d5..39a66d5 100644
--- a/man/getent.ldap.1.xml
+++ b/man/getent.ldap.1.xml
@@ -5,7 +5,7 @@
<!--
getent.ldap.1.xml - docbook manual page for chsh.ldap
- Copyright (C) 2013 Arthur de Jong
+ Copyright (C) 2013-2014 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -35,9 +35,9 @@
<refmeta>
<refentrytitle>getent.ldap</refentrytitle>
<manvolnum>1</manvolnum>
- <refmiscinfo class="version">Version 0.9.2</refmiscinfo>
+ <refmiscinfo class="version">Version 0.9.3</refmiscinfo>
<refmiscinfo class="manual">User Commands</refmiscinfo>
- <refmiscinfo class="date">Oct 2013</refmiscinfo>
+ <refmiscinfo class="date">Mar 2014</refmiscinfo>
</refmeta>
<refnamediv id="name">
diff --git a/man/nslcd.8.xml b/man/nslcd.8.xml
index 815f84b..b15bad7 100644
--- a/man/nslcd.8.xml
+++ b/man/nslcd.8.xml
@@ -6,7 +6,7 @@
nslcd.8.xml - docbook manual page for nslcd
Copyright (C) 2006 West Consulting
- Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Arthur de Jong
+ Copyright (C) 2006-2014 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -36,9 +36,9 @@
<refmeta>
<refentrytitle>nslcd</refentrytitle>
<manvolnum>8</manvolnum>
- <refmiscinfo class="version">Version 0.9.2</refmiscinfo>
+ <refmiscinfo class="version">Version 0.9.3</refmiscinfo>
<refmiscinfo class="manual">System Manager's Manual</refmiscinfo>
- <refmiscinfo class="date">Oct 2013</refmiscinfo>
+ <refmiscinfo class="date">Mar 2014</refmiscinfo>
</refmeta>
<refnamediv id="name">
diff --git a/man/nslcd.conf.5.xml b/man/nslcd.conf.5.xml
index 778160e..5a7ce26 100644
--- a/man/nslcd.conf.5.xml
+++ b/man/nslcd.conf.5.xml
@@ -6,7 +6,7 @@
nslcd.conf.5.xml - docbook manual page for nslcd.conf
Copyright (C) 1997-2005 Luke Howard
- Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Arthur de Jong
+ Copyright (C) 2007-2014 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -36,9 +36,9 @@
<refmeta>
<refentrytitle>nslcd.conf</refentrytitle>
<manvolnum>5</manvolnum>
- <refmiscinfo class="version">Version 0.9.2</refmiscinfo>
+ <refmiscinfo class="version">Version 0.9.3</refmiscinfo>
<refmiscinfo class="manual">System Manager's Manual</refmiscinfo>
- <refmiscinfo class="date">Oct 2013</refmiscinfo>
+ <refmiscinfo class="date">Mar 2014</refmiscinfo>
</refmeta>
<refnamediv id="name">
diff --git a/man/pam_ldap.8.xml b/man/pam_ldap.8.xml
index 3aba473..cbb3b04 100644
--- a/man/pam_ldap.8.xml
+++ b/man/pam_ldap.8.xml
@@ -5,7 +5,7 @@
<!--
pam_ldap.8.xml - docbook manual page for pam_ldap PAM module
- Copyright (C) 2009, 2010, 2011, 2012, 2013 Arthur de Jong
+ Copyright (C) 2009-2014 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -35,9 +35,9 @@
<refmeta>
<refentrytitle>pam_ldap</refentrytitle>
<manvolnum>8</manvolnum>
- <refmiscinfo class="version">Version 0.9.2</refmiscinfo>
+ <refmiscinfo class="version">Version 0.9.3</refmiscinfo>
<refmiscinfo class="manual">System Manager's Manual</refmiscinfo>
- <refmiscinfo class="date">Oct 2013</refmiscinfo>
+ <refmiscinfo class="date">Mar 2014</refmiscinfo>
</refmeta>
<refnamediv id="name">
diff --git a/man/pynslcd.8.xml b/man/pynslcd.8.xml
index ce41158..6da814e 100644
--- a/man/pynslcd.8.xml
+++ b/man/pynslcd.8.xml
@@ -5,7 +5,7 @@
<!--
pynslcd.8.xml - docbook manual page for pynslcd
- Copyright (C) 2012, 2013 Arthur de Jong
+ Copyright (C) 2012-2014 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -35,9 +35,9 @@
<refmeta>
<refentrytitle>pynslcd</refentrytitle>
<manvolnum>8</manvolnum>
- <refmiscinfo class="version">Version 0.9.2</refmiscinfo>
+ <refmiscinfo class="version">Version 0.9.3</refmiscinfo>
<refmiscinfo class="manual">System Manager's Manual</refmiscinfo>
- <refmiscinfo class="date">Oct 2013</refmiscinfo>
+ <refmiscinfo class="date">Mar 2014</refmiscinfo>
</refmeta>
<refnamediv id="name">
diff --git a/pynslcd/pynslcd.py b/pynslcd/pynslcd.py
index a5ae63b..27b31d8 100755
--- a/pynslcd/pynslcd.py
+++ b/pynslcd/pynslcd.py
@@ -2,7 +2,7 @@
# pynslcd.py - main daemon module
#
-# Copyright (C) 2010, 2011, 2012, 2013 Arthur de Jong
+# Copyright (C) 2010-2014 Arthur de Jong
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -91,7 +91,7 @@ def display_version(fp):
fp.write('%(PACKAGE_STRING)s\n'
'Written by Arthur de Jong.\n'
'\n'
- 'Copyright (C) 2010-2013 Arthur de Jong\n'
+ 'Copyright (C) 2010-2014 Arthur de Jong\n'
'This is free software; see the source for copying conditions.
There is NO\n'
'warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.\n'
% {'PACKAGE_STRING': constants.PACKAGE_STRING, })
http://arthurdejong.org/git/nss-pam-ldapd/commit/?id=1ec7739015f5e8087f5b8f948da532460c55a3aa
commit 1ec7739015f5e8087f5b8f948da532460c55a3aa
Author: Arthur de Jong <arthur@arthurdejong.org>
Date: Wed Mar 12 21:32:13 2014 +0100
Update files from recent automake
diff --git a/INSTALL b/INSTALL
index 007e939..2099840 100644
--- a/INSTALL
+++ b/INSTALL
@@ -12,8 +12,8 @@ without warranty of any kind.
Basic Installation
==================
- Briefly, the shell commands `./configure; make; make install' should
-configure, build, and install this package. The following
+ Briefly, the shell command `./configure && make && make install'
+should configure, build, and install this package. The following
more-detailed instructions are generic; see the `README' file for
instructions specific to this package. Some packages provide this
`INSTALL' file but do not implement all of the features documented
diff --git a/missing b/missing
index cdea514..db98974 100755
--- a/missing
+++ b/missing
@@ -1,7 +1,7 @@
#! /bin/sh
# Common wrapper for a few potentially missing GNU programs.
-scriptversion=2012-06-26.16; # UTC
+scriptversion=2013-10-28.13; # UTC
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
@@ -160,7 +160,7 @@ give_advice ()
;;
autom4te*)
echo "You might have modified some maintainer files that require"
- echo "the 'automa4te' program to be rebuilt."
+ echo "the 'autom4te' program to be rebuilt."
program_details 'autom4te'
;;
bison*|yacc*)
diff --git a/test-driver b/test-driver
index 32bf39e..d306056 100755
--- a/test-driver
+++ b/test-driver
@@ -1,7 +1,7 @@
#! /bin/sh
# test-driver - basic testsuite driver script.
-scriptversion=2012-06-27.10; # UTC
+scriptversion=2013-07-13.22; # UTC
# Copyright (C) 2011-2013 Free Software Foundation, Inc.
#
@@ -44,13 +44,12 @@ print_usage ()
Usage:
test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
[--expect-failure={yes|no}] [--color-tests={yes|no}]
- [--enable-hard-errors={yes|no}] [--] TEST-SCRIPT
+ [--enable-hard-errors={yes|no}] [--]
+ TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
The '--test-name', '--log-file' and '--trs-file' options are mandatory.
END
}
-# TODO: better error handling in option parsing (in particular, ensure
-# TODO: $log_file, $trs_file and $test_name are defined).
test_name= # Used for reporting.
log_file= # Where to save the output of the test script.
trs_file= # Where to save the metadata of the test run.
@@ -69,10 +68,23 @@ while test $# -gt 0; do
--enable-hard-errors) enable_hard_errors=$2; shift;;
--) shift; break;;
-*) usage_error "invalid option: '$1'";;
+ *) break;;
esac
shift
done
+missing_opts=
+test x"$test_name" = x && missing_opts="$missing_opts --test-name"
+test x"$log_file" = x && missing_opts="$missing_opts --log-file"
+test x"$trs_file" = x && missing_opts="$missing_opts --trs-file"
+if test x"$missing_opts" != x; then
+ usage_error "the following mandatory options are missing:$missing_opts"
+fi
+
+if test $# -eq 0; then
+ usage_error "missing argument"
+fi
+
if test $color_tests = yes; then
# Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'.
red='[0;31m' # Red.
-----------------------------------------------------------------------
Summary of changes:
AUTHORS | 4 +
ChangeLog | 353 +++++++++++++++++++++++++++++++++++++++++++++++++
INSTALL | 4 +-
NEWS | 25 ++++
configure.ac | 4 +-
man/chsh.ldap.1.xml | 6 +-
man/getent.ldap.1.xml | 6 +-
man/nslcd.8.xml | 6 +-
man/nslcd.conf.5.xml | 6 +-
man/pam_ldap.8.xml | 6 +-
man/pynslcd.8.xml | 6 +-
missing | 4 +-
pynslcd/pynslcd.py | 4 +-
test-driver | 20 ++-
14 files changed, 424 insertions(+), 30 deletions(-)
hooks/post-receive
--
nss-pam-ldapd
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd branch master updated. 0.9.3,
Commits of the nss-pam-ldapd project