Blame ChangeLog-2013

Packit 6bd9ab
2013-12-28  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [e3f0453] configure.ac: Re-organise ldap function tests
Packit 6bd9ab
Packit 6bd9ab
2013-12-21  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [3ce5ef9] : Make dn2uid cache tuneable
Packit 6bd9ab
Packit 6bd9ab
	  This introduces a new cache configuration option that allows
Packit 6bd9ab
	  setting positive and negative cache lifetimes for the dn2uid cache.
Packit 6bd9ab
Packit 6bd9ab
	* [19f3cc3] tests/test_cfg.c: Add a test for new configuration option
Packit 6bd9ab
Packit 6bd9ab
	* [09969cf] man/nslcd.conf.5.xml: Document cache option in
Packit 6bd9ab
	  manual page
Packit 6bd9ab
Packit 6bd9ab
	* [a0c90d2] nslcd/passwd.c: Use dn2uid cache options
Packit 6bd9ab
Packit 6bd9ab
	  The configuration values are used in the cache to determine
Packit 6bd9ab
	  positive and negative hit TTLs. This also allows completely
Packit 6bd9ab
	  disabling the cache.
Packit 6bd9ab
Packit 6bd9ab
	* [99ad1b4] nslcd/cfg.c, nslcd/cfg.h: Implement a cache configuration
Packit 6bd9ab
	  option
Packit 6bd9ab
Packit 6bd9ab
	  This adds the cache nslcd.conf configuration option to configure
Packit 6bd9ab
	  the dn2uid cache in nslcd with a positive and negative cache
Packit 6bd9ab
	  lifetime.
Packit 6bd9ab
Packit 6bd9ab
2013-12-19  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [82bac61] nslcd/passwd.c: Have positive and negative cache timeouts
Packit 6bd9ab
Packit 6bd9ab
	  The positive value determines the time a found entry is valid,
Packit 6bd9ab
	  the negative timeout determines the lifetime of not found entries.
Packit 6bd9ab
Packit 6bd9ab
	* [b9ec6df] nslcd/cfg.c: Support printing children search scope
Packit 6bd9ab
Packit 6bd9ab
	  This fixes 2caeef4.
Packit 6bd9ab
Packit 6bd9ab
2013-12-18  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [9f02853] nslcd/alias.c, nslcd/common.c, nslcd/common.h,
Packit 6bd9ab
	  nslcd/ether.c, nslcd/group.c, nslcd/host.c, nslcd/myldap.c,
Packit 6bd9ab
	  nslcd/netgroup.c, nslcd/network.c, nslcd/pam.c, nslcd/passwd.c,
Packit 6bd9ab
	  nslcd/protocol.c, nslcd/rpc.c, nslcd/service.c, nslcd/shadow.c,
Packit 6bd9ab
	  nslcd/usermod.c: Centralise buffer sizes
Packit 6bd9ab
Packit 6bd9ab
	  Common buffer sizes are now stored centrally so it can be easily
Packit 6bd9ab
	  and consistently updated if required. Some buffers remain with
Packit 6bd9ab
	  locally defined sizes that do not match a global buffer size.
Packit 6bd9ab
Packit 6bd9ab
2013-11-25  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [23a41ce] compat/pam_get_authtok.c, compat/pam_prompt.c,
Packit 6bd9ab
	  configure.ac, pam/pam.c: Add a test for pam_get_item() argument
Packit 6bd9ab
	  type
Packit 6bd9ab
Packit 6bd9ab
	  This checks whether pam_get_item() takes a const void ** or void
Packit 6bd9ab
	  ** item value argument and defines a PAM_ITEM_CONST macro that
Packit 6bd9ab
	  is const when it should. This avoids some compiler warnings.
Packit 6bd9ab
Packit 6bd9ab
2013-10-30  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [81bfb8b] ChangeLog, NEWS, configure.ac, man/chsh.ldap.1.xml,
Packit 6bd9ab
	  man/getent.ldap.1.xml, man/nslcd.8.xml, man/nslcd.conf.5.xml,
Packit 6bd9ab
	  man/pam_ldap.8.xml, man/pynslcd.8.xml: Get files ready for
Packit 6bd9ab
	  0.9.2 release
Packit 6bd9ab
Packit 6bd9ab
2013-10-29  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [ef0edda] tests/test_myldap.sh, tests/test_nsscmds.sh,
Packit 6bd9ab
	  tests/test_pamcmds.expect: Portability fixes to environment tests
Packit 6bd9ab
Packit 6bd9ab
	  This mostly tries to reduce the influences of the test environment
Packit 6bd9ab
	  (local users and groups) on the tests. This uses another username
Packit 6bd9ab
	  (vsefcovic) in the PAM tests instead of the user arthur to avoid
Packit 6bd9ab
	  clashes with existing users.
Packit 6bd9ab
Packit 6bd9ab
	  The PAM tests are skipped if passwd claims that it cannot modify
Packit 6bd9ab
	  LDAP passwords (for FreeBSD).
Packit 6bd9ab
Packit 6bd9ab
	* [f8af48f] compat/ldap_parse_passwordpolicy_control.c,
Packit 6bd9ab
	  nslcd/common.c, nslcd/config.c, nslcd/group.c, nslcd/nslcd.c,
Packit 6bd9ab
	  nslcd/pam.c, nslcd/protocol.c, nslcd/rpc.c, nslcd/service.c,
Packit 6bd9ab
	  nss/bsdnss.c, nss/ethers.c, nss/group.c, nss/netgroup.c,
Packit 6bd9ab
	  nss/networks.c, nss/passwd.c, nss/protocols.c, nss/rpc.c,
Packit 6bd9ab
	  nss/services.c, pam/pam.c: Fix a number of compiler warnings
Packit 6bd9ab
Packit 6bd9ab
	  This includes a number of small fixes for issues that were
Packit 6bd9ab
	  formerly masked by the incorrect AC_LANG_PROGRAM check.
Packit 6bd9ab
Packit 6bd9ab
	* [88801f9] configure.ac: Add -Werror=implicit if compiler
Packit 6bd9ab
	  supports it
Packit 6bd9ab
Packit 6bd9ab
	* [933bf8e] configure.ac: Fix usage of AC_LANG_PROGRAM
Packit 6bd9ab
Packit 6bd9ab
	  Apparently the macro got changed a long time ago to provide a
Packit 6bd9ab
	  main() definition. This bug caused the extra warning flags to
Packit 6bd9ab
	  not be added.
Packit 6bd9ab
Packit 6bd9ab
	* [6028226] compat/Makefile.am, compat/shell.h, configure.ac,
Packit 6bd9ab
	  nslcd/usermod.c: Compatibility definitions for
Packit 6bd9ab
	  {set,get,end}usershell()
Packit 6bd9ab
Packit 6bd9ab
	  This provides compatibility definitions for systems that don't
Packit 6bd9ab
	  have these functions (some Solaris flavours).
Packit 6bd9ab
Packit 6bd9ab
2013-10-28  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [ed4cf47] nslcd/nslcd.c: Start invalidator after locking pidfile
Packit 6bd9ab
Packit 6bd9ab
	  This causes the pidfile to be written as the first thing after
Packit 6bd9ab
	  daemonising nslcd to minimise the race between service script
Packit 6bd9ab
	  completion and pidfile being locked.
Packit 6bd9ab
Packit 6bd9ab
2013-10-27  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [503644b] HACKING, README: Update documentation
Packit 6bd9ab
Packit 6bd9ab
	* [6be316e] autogen.sh, configure.ac: Specify m4 directory in
Packit 6bd9ab
	  configure script
Packit 6bd9ab
Packit 6bd9ab
2013-10-25  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [1d8db24] nslcd/myldap.c, pynslcd/search.py: Also run invalidators
Packit 6bd9ab
	  on initial connect
Packit 6bd9ab
Packit 6bd9ab
	  This also invalidates the caches configured with
Packit 6bd9ab
	  reconnect_invalidate on the first successful search. This should
Packit 6bd9ab
	  handle the case more gracefully where caches were filled with
Packit 6bd9ab
	  negative hits before nslcd was running.
Packit 6bd9ab
Packit 6bd9ab
	* [ee8737f] tests/Makefile.am: Distribute setup_slapd.sh and
Packit 6bd9ab
	  associated files
Packit 6bd9ab
Packit 6bd9ab
2013-10-22  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [e28e937] tests/test_myldap.sh, tests/testenv.sh: Improve
Packit 6bd9ab
	  portability of ldap test
Packit 6bd9ab
Packit 6bd9ab
	  This supports old ldapsearch commands that don't support the -x
Packit 6bd9ab
	  and -H options and ldapsearch commands that don't exit with a
Packit 6bd9ab
	  failure code if nothing is found.
Packit 6bd9ab
Packit 6bd9ab
	  This also switches the test_myldap test to use the testenv check
Packit 6bd9ab
	  for the LDAP server.
Packit 6bd9ab
Packit 6bd9ab
2013-10-20  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [8cc354a] tests/test_pamcmds.expect: Handle other responses
Packit 6bd9ab
	  in test_pamcmds
Packit 6bd9ab
Packit 6bd9ab
	  This extends test_pamcmds to handle other pam/su/passwd errors
Packit 6bd9ab
	  and responses (as seen on CentOS 5). Also switch to stronger
Packit 6bd9ab
	  password when changing the test user's password to avoid problems
Packit 6bd9ab
	  with password strength checks.
Packit 6bd9ab
Packit 6bd9ab
	* [0a95557] tests/Makefile.am, tests/in_testenv.sh,
Packit 6bd9ab
	  tests/test_nsscmds.sh, tests/test_pamcmds.expect,
Packit 6bd9ab
	  tests/test_pamcmds.sh, tests/testenv.sh: Make script to check
Packit 6bd9ab
	  test environment
Packit 6bd9ab
Packit 6bd9ab
	  This changes the in_testenv.sh script into testenv.sh which has
Packit 6bd9ab
	  more checks and a few functions to configure the test environment.
Packit 6bd9ab
Packit 6bd9ab
	* [1899e9a] tests/test.ldif: Remove unnecessary attributes from
Packit 6bd9ab
	  test.ldif
Packit 6bd9ab
Packit 6bd9ab
	* [cebc2a1] tests/README: Update tests README
Packit 6bd9ab
Packit 6bd9ab
	  This refreshes the documentation of the tests, especially the
Packit 6bd9ab
	  test environment.
Packit 6bd9ab
Packit 6bd9ab
	* [7cbb439] tests/config.ldif, tests/setup_slapd.sh: Provide a
Packit 6bd9ab
	  script for setting up slapd
Packit 6bd9ab
Packit 6bd9ab
	  The setup_slapd.sh script can be used to set up and start a
Packit 6bd9ab
	  slapd instance in a single (temporary) directory. The slapd
Packit 6bd9ab
	  instance is configured and loaded with test data for use in the
Packit 6bd9ab
	  test environment.
Packit 6bd9ab
Packit 6bd9ab
2013-10-19  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [aeccbfe] tests/test_nsscmds.sh: Fix sortgroup function
Packit 6bd9ab
Packit 6bd9ab
	  This fixes an issue with the sortgroup function which failed to
Packit 6bd9ab
	  handle a group line with only two colons correctly. Such group
Packit 6bd9ab
	  entries have been seen in the wild on FreeBSD.
Packit 6bd9ab
Packit 6bd9ab
	  Also, comment lines in group files are now ignored (also seen
Packit 6bd9ab
	  on FreeBSD).
Packit 6bd9ab
Packit 6bd9ab
2013-10-14  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [0697347] common/dict.c: Use djb2 hash in dict module
Packit 6bd9ab
Packit 6bd9ab
	  This slightly modifies the string hashing function to use the
Packit 6bd9ab
	  djb2 hash.  This hash is supposed to be reasonably fast and have
Packit 6bd9ab
	  reasonably few collisions.
Packit 6bd9ab
Packit 6bd9ab
2013-10-07  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [61e96bf] nslcd/cfg.h: Increase NSS_LDAP_CONFIG_MAX_BASES to 31
Packit 6bd9ab
Packit 6bd9ab
	  This allows more search bases which may be useful in some
Packit 6bd9ab
	  environments.
Packit 6bd9ab
Packit 6bd9ab
2013-09-15  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [2f088ec] common/tio.c: Also support poll() returning EAGAIN
Packit 6bd9ab
Packit 6bd9ab
2013-09-13  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [173d768] configure.ac: Add more python module checks to configure
Packit 6bd9ab
Packit 6bd9ab
	* [b7ca95a] configure.ac: Make missing Python modules a waring
Packit 6bd9ab
Packit 6bd9ab
	  This avoids having to have all modules installed in the build
Packit 6bd9ab
	  environment. A Python version is still required during build.
Packit 6bd9ab
Packit 6bd9ab
	* [f36bb81] pynslcd/cache.py, pynslcd/group.py: Remove unneeded
Packit 6bd9ab
	  imports
Packit 6bd9ab
Packit 6bd9ab
	* [8ae8b9a] Makefile.am, configure.ac, tests/Makefile.am: Cleanups
Packit 6bd9ab
	  and fixes related to automake upgrade
Packit 6bd9ab
Packit 6bd9ab
	  This removes a few legacy workarounds and fixes for older versions
Packit 6bd9ab
	  of automake. This also removes adding specific DEBUG flags for
Packit 6bd9ab
	  tests since subdir objects are handled differently now.
Packit 6bd9ab
Packit 6bd9ab
	* [2bd2bc4] pam/pam.c: Initialise msg to avoid potential NULL
Packit 6bd9ab
	  pointer dereference
Packit 6bd9ab
Packit 6bd9ab
	  The NULL pointer dereference in the PAM module should not occur due
Packit 6bd9ab
	  to the relationship with the rc value that is handled alongside
Packit 6bd9ab
	  it. This change mostly silences the compiler and protects from
Packit 6bd9ab
	  future changes.
Packit 6bd9ab
Packit 6bd9ab
	* [dccc9cf] configure.ac: Add configure test for
Packit 6bd9ab
	  {set,get,end}usershell() availability
Packit 6bd9ab
Packit 6bd9ab
2013-09-08  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [4fc4197] autogen.sh: Upgrade to automake 1.14
Packit 6bd9ab
Packit 6bd9ab
	* [bc6a18e] nslcd/nslcd.c: Use larger nslcd send buffers
Packit 6bd9ab
Packit 6bd9ab
	  By using bigger write buffers in nslcd we reduce the number of
Packit 6bd9ab
	  writes in nslcd and consequently the number of reads in the NSS
Packit 6bd9ab
	  and PAM modules for bigger responses.
Packit 6bd9ab
Packit 6bd9ab
	  This reduces the number of system calls that are made during
Packit 6bd9ab
	  a request and brings a small performance improvement that is
Packit 6bd9ab
	  mainly measurable in the NSS module. A measurement showed 30-80%
Packit 6bd9ab
	  reduction in the number of system calls in the NSS module and
Packit 6bd9ab
	  around 10% reduction in CPU usage (CPU time, only small reduction
Packit 6bd9ab
	  in wallclock time).
Packit 6bd9ab
Packit 6bd9ab
	  Thanks John Sullivan for pointing this out.
Packit 6bd9ab
Packit 6bd9ab
	* [58d50bf] configure.ac, man/Makefile.am: Add configure check to
Packit 6bd9ab
	  see whether to install manual pages
Packit 6bd9ab
Packit 6bd9ab
	  This also reworks the manual page generation check in the configure
Packit 6bd9ab
	  script and avoids build errors if no tool for generating manual
Packit 6bd9ab
	  pages is present when working on a Git checkout.
Packit 6bd9ab
Packit 6bd9ab
2013-09-04  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [ce95b41] ldapns.ldif: Reformat LDIF file to follow OpenLDAP format
Packit 6bd9ab
Packit 6bd9ab
	  This fixes a wrapping problem. Thanks to Paul Boven for pointing
Packit 6bd9ab
	  this out.
Packit 6bd9ab
Packit 6bd9ab
2013-09-02  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [8b169f1] tests/test_common.c: Fix permissions of test
Packit 6bd9ab
	  configuration
Packit 6bd9ab
Packit 6bd9ab
	  This sets the permissions on the nslcd-test.conf file while
Packit 6bd9ab
	  running the tests to ensure that the permission checks for the
Packit 6bd9ab
	  bindpwn and rootpwmodpw options do not fail the test.
Packit 6bd9ab
Packit 6bd9ab
	* [560e5de] .gitignore, tests/Makefile.am, tests/test_tio_timeout.c:
Packit 6bd9ab
	  Add a test for tio timeout calculations
Packit 6bd9ab
Packit 6bd9ab
	  This test checks whether the proposed remaining time to sleep
Packit 6bd9ab
	  is reasonable.
Packit 6bd9ab
Packit 6bd9ab
	* [db5382e] .gitignore, tests/Makefile.am, tests/test_clock.c:
Packit 6bd9ab
	  Add a test for clock_gettime() supported clocks
Packit 6bd9ab
Packit 6bd9ab
	  This probes the system for available clocks to see if they can
Packit 6bd9ab
	  be reliably used to get a monotonic-like timer (the test doesn't
Packit 6bd9ab
	  verify the monotonic part, just usability).
Packit 6bd9ab
Packit 6bd9ab
	* [7895739] AUTHORS, common/tio.c, configure.ac: Use clock_gettime()
Packit 6bd9ab
	  instead of gettimeofday()
Packit 6bd9ab
Packit 6bd9ab
	  This avoids problems with system clock changes (though there
Packit 6bd9ab
	  are some safeguards in place to avoid waiting too long on clock
Packit 6bd9ab
	  changes).
Packit 6bd9ab
Packit 6bd9ab
	  Thanks to John Sullivan for pointing this out.
Packit 6bd9ab
Packit 6bd9ab
	  We can't easily use CLOCK_MONOTONIC_RAW or CLOCK_MONOTONIC_COARSE
Packit 6bd9ab
	  even on platforms that define the clock because we can get
Packit 6bd9ab
	  runtime errors.  CLOCK_MONOTONIC seems to work on all tested
Packit 6bd9ab
	  platforms that provide it.
Packit 6bd9ab
Packit 6bd9ab
	* [a683aa8] tests/test_manpages.sh: Small protability fix
Packit 6bd9ab
Packit 6bd9ab
	* [c8800eb] tests/test_manpages.sh: Improve robustness of
Packit 6bd9ab
	  test_manpages
Packit 6bd9ab
Packit 6bd9ab
2013-08-31  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [644df52] common/tio.c, common/tio.h: Use normal timeout handling
Packit 6bd9ab
	  in tio_skipall()
Packit 6bd9ab
Packit 6bd9ab
	  Use the same mechanism in tio_skipall() as in tio_read(), except
Packit 6bd9ab
	  use a different timeout value.
Packit 6bd9ab
Packit 6bd9ab
	* [0787d45] common/tio.c: Refactor tio_wait()
Packit 6bd9ab
Packit 6bd9ab
	  This changes the function to accept a file descriptor, an event
Packit 6bd9ab
	  and timeout parameter directly instead of a confusing flag.
Packit 6bd9ab
Packit 6bd9ab
	* [07a8170] common/tio.c: Fix buffer overflow on interupted read
Packit 6bd9ab
Packit 6bd9ab
	  The tio_read() function will read past its buffer and return
Packit 6bd9ab
	  garbadge to the calling function if the call to read() was
Packit 6bd9ab
	  interrupted by a signal.
Packit 6bd9ab
Packit 6bd9ab
	  The likelyhood of read() being interupted is low because previously
Packit 6bd9ab
	  a call to poll() has determined that data is available to be read.
Packit 6bd9ab
Packit 6bd9ab
	  Thanks to John Sullivan for pointing this out.
Packit 6bd9ab
Packit 6bd9ab
	  See: https://bugzilla.redhat.com/show_bug.cgi?id=1003011
Packit 6bd9ab
Packit 6bd9ab
2013-08-30  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [4897033] nslcd/common.h: In nslcd, log EPIPE only on debug level
Packit 6bd9ab
Packit 6bd9ab
	  See: https://bugzilla.redhat.com/show_bug.cgi?id=1003011
Packit 6bd9ab
Packit 6bd9ab
	* [c9e2f97] common/tio.c, common/tio.h, nss/common.h: Use a timeout
Packit 6bd9ab
	  when skipping remaining result data
Packit 6bd9ab
Packit 6bd9ab
	  When the NSS modules closes the connection and skips any remaining
Packit 6bd9ab
	  result data, wait for up to 500 msec to read any available data.
Packit 6bd9ab
Packit 6bd9ab
	  See: https://bugzilla.redhat.com/show_bug.cgi?id=1003011
Packit 6bd9ab
Packit 6bd9ab
2013-08-27  Bersl <bersl2@bersl2.info>
Packit 6bd9ab
Packit 6bd9ab
	* [7140d21] AUTHORS, nslcd/group.c, nslcd/passwd.c, nslcd/shadow.c:
Packit 6bd9ab
	  Increase password buffer size
Packit 6bd9ab
Packit 6bd9ab
	  With the smaller buffers some password hashes would be truncated.
Packit 6bd9ab
Packit 6bd9ab
2013-08-28  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [8571bc1] NEWS, README, common/dict.c, compat/attrs.h,
Packit 6bd9ab
	  compat/nss_compat.h, man/nslcd.conf.5.xml, nslcd/myldap.c:
Packit 6bd9ab
	  Fix for common spelling mistake
Packit 6bd9ab
Packit 6bd9ab
2013-08-25  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [890d227] AUTHORS, ChangeLog, NEWS, configure.ac,
Packit 6bd9ab
	  man/chsh.ldap.1.xml, man/getent.ldap.1.xml, man/nslcd.8.xml,
Packit 6bd9ab
	  man/nslcd.conf.5.xml, man/pam_ldap.8.xml, man/pynslcd.8.xml:
Packit 6bd9ab
	  Get files ready for 0.9.1 release
Packit 6bd9ab
Packit 6bd9ab
	* [f9b4b43] Makefile.am: Have a nicer way of generating the ChangeLog
Packit 6bd9ab
Packit 6bd9ab
	  This adds the commit id, improves the line wrapping and also
Packit 6bd9ab
	  gets rid of the external dependency.
Packit 6bd9ab
Packit 6bd9ab
	* [321d8a3] pynslcd/pynslcd.py: Handle failure of getpeercred
Packit 6bd9ab
	  more gracefully
Packit 6bd9ab
Packit 6bd9ab
	* [f18729e] tests/Makefile.am: Only run pynslcd tests if it
Packit 6bd9ab
	  is enabled
Packit 6bd9ab
Packit 6bd9ab
	* [f54f2ad] configure.ac, m4/ax_python_module.m4: Add configure
Packit 6bd9ab
	  test for Python modules
Packit 6bd9ab
Packit 6bd9ab
	  This uses the AX_PYTHON_MODULE test to check for availability
Packit 6bd9ab
	  of used Python modules. All third-party modules and modules that
Packit 6bd9ab
	  are not a builtin for Python 2.5 are tested.
Packit 6bd9ab
Packit 6bd9ab
	  This also splits the tests for the utils and pynslcd.
Packit 6bd9ab
Packit 6bd9ab
	* [6f61482] pynslcd/attmap.py, pynslcd/group.py, pynslcd/pynslcd.py,
Packit 6bd9ab
	  pynslcd/tio.py, utils/getent.py, utils/nslcd.py: Rearrange
Packit 6bd9ab
	  Python imports
Packit 6bd9ab
Packit 6bd9ab
2013-08-23  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [f6c20ee] nslcd/nslcd.c: Ignore SIGUSR2 for future compatibility
Packit 6bd9ab
Packit 6bd9ab
	* [27abbbb] man/Makefile.am, tests/Makefile.am,
Packit 6bd9ab
	  tests/test_manpages.sh: Add a test for the manual pages
Packit 6bd9ab
Packit 6bd9ab
	  This replaces e0491d2 to run xmlto from the man directory. This
Packit 6bd9ab
	  handles the case more gracefully if xmlto is not available.
Packit 6bd9ab
Packit 6bd9ab
2013-08-18  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [494833d] config.guess, config.sub: Update files from latest
Packit 6bd9ab
	  automake
Packit 6bd9ab
Packit 6bd9ab
2013-08-21  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [7b474d0] pynslcd/group.py, pynslcd/passwd.py, pynslcd/shadow.py:
Packit 6bd9ab
	  Have pynslcd handle mapped userPassword
Packit 6bd9ab
Packit 6bd9ab
	  This fixes an error that could occur when the userPassword was
Packit 6bd9ab
	  retrieved from LDAP and insufficient privileges were available
Packit 6bd9ab
	  for reading the attribute.
Packit 6bd9ab
Packit 6bd9ab
	* [b0358f7] : Retry LDAP servers quickly after receiving SIGUSR1
Packit 6bd9ab
Packit 6bd9ab
	  When nslcd receives the SIGUSR1 signal it will retry connecting
Packit 6bd9ab
	  to unavailable LDAP servers sooner.
Packit 6bd9ab
Packit 6bd9ab
	  This signal can for example be sent when (re)stablishing a
Packit 6bd9ab
	  network connection.
Packit 6bd9ab
Packit 6bd9ab
2013-08-20  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [ebbe8a6] man/nslcd.8.xml, nslcd/nslcd.c: Handle SIGUSR1 by
Packit 6bd9ab
	  resetting the retry timer
Packit 6bd9ab
Packit 6bd9ab
	  This implements and documents handling of the SIGUSR1 signal in
Packit 6bd9ab
	  nslcd to reset the reconnect_sleeptime and reconnect_retrytime
Packit 6bd9ab
	  timers to re-check availability of the LDAP server.
Packit 6bd9ab
Packit 6bd9ab
	* [8bdb289] nslcd/myldap.c, nslcd/myldap.h: Implement function
Packit 6bd9ab
	  for resetting reconnect times
Packit 6bd9ab
Packit 6bd9ab
	  This implemens a myldap_immediate_reconnect() function that
Packit 6bd9ab
	  resets the reconnect timer to retry failing connections to the
Packit 6bd9ab
	  LDAP server upon the next search.
Packit 6bd9ab
Packit 6bd9ab
	  This can be used to cut the reconnect_sleeptime and
Packit 6bd9ab
	  reconnect_retrytime sleeping periodss short if we have some
Packit 6bd9ab
	  indication that the LDAP server is available again.
Packit 6bd9ab
Packit 6bd9ab
	* [d58f163] nslcd/common.h, nslcd/nslcd.c, nslcd/shadow.c: Return
Packit 6bd9ab
	  partial shadow information to non-root users
Packit 6bd9ab
Packit 6bd9ab
	  This also returns everything except the password hash from
Packit 6bd9ab
	  the shadow database to non-root users (nothing was returned
Packit 6bd9ab
	  before). This allows non-root users to do PAM authentication in
Packit 6bd9ab
	  some configurations.
Packit 6bd9ab
Packit 6bd9ab
	  On some systems there is a setgid executable that is allowed to
Packit 6bd9ab
	  read /etc/shadow for authentication by e.g. screensavers. Returning
Packit 6bd9ab
	  no shadow information will cause pam_unix to deny authorisation
Packit 6bd9ab
	  in common configurations.
Packit 6bd9ab
Packit 6bd9ab
	  See: http://bugs.debian.org/706913
Packit 6bd9ab
Packit 6bd9ab
	* [34365b4] nslcd/cfg.c: Add cast to int when logging configuration
Packit 6bd9ab
	  summary
Packit 6bd9ab
Packit 6bd9ab
2013-08-18  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [44a38eb] pam/pam.c: Small fix in NEW_AUTHTOK_REQD handling
Packit 6bd9ab
Packit 6bd9ab
	  There is a potential memory leak if the old password is saved
Packit 6bd9ab
	  multiple times. Furthermore, PAM_NEW_AUTHTOK_REQD is only allowed
Packit 6bd9ab
	  as a result of the authorisation phase, not the authentication
Packit 6bd9ab
	  phase so there is no use in checking.
Packit 6bd9ab
Packit 6bd9ab
	* [d8637bb] pynslcd/pam.py: Fix rootpwmodpw handling in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [13d31b7] pynslcd/common.py: Fix not logging passwords in pynslcd
Packit 6bd9ab
	  (7108b1f)
Packit 6bd9ab
Packit 6bd9ab
	* [7e90541] tests/nslcd-test.conf, tests/test.ldif: Update files
Packit 6bd9ab
	  from test environment
Packit 6bd9ab
Packit 6bd9ab
2013-07-29  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [724a75f] utils/getent.py: Improve error and help output of
Packit 6bd9ab
	  getent command
Packit 6bd9ab
Packit 6bd9ab
2013-08-18  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [882f7be] tests/Makefile.am, tests/pylint.rc, tests/test_pylint.sh:
Packit 6bd9ab
	  Run pylint as a test
Packit 6bd9ab
Packit 6bd9ab
	  This runs a somewhat limited pylint run against the source
Packit 6bd9ab
	  files. It should at least catch some issues.
Packit 6bd9ab
Packit 6bd9ab
	* [79209ee] pynslcd/common.py, pynslcd/group.py, pynslcd/pam.py,
Packit 6bd9ab
	  pynslcd/passwd.py: Rename isvalidname() to is_valid_name()
Packit 6bd9ab
	  in pynslcd
Packit 6bd9ab
Packit 6bd9ab
2013-08-10  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [e0491d2] man/Makefile.am: Run xmlto on manual pages as part of
Packit 6bd9ab
	  the tests
Packit 6bd9ab
Packit 6bd9ab
2013-08-18  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [7108b1f] pynslcd/common.py: Do not log passwords in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [cda6dcd] : Implement an option to run in the foreground
Packit 6bd9ab
Packit 6bd9ab
	  This introduces a -n, --nofork option that skips the deamonising
Packit 6bd9ab
	  step on start-up. This may be required for running nslcd from
Packit 6bd9ab
	  upstart.
Packit 6bd9ab
Packit 6bd9ab
	  See: https://bugs.launchpad.net/bugs/806761
Packit 6bd9ab
Packit 6bd9ab
	* [1825be6] man/nslcd.8.xml, man/pynslcd.8.xml: Document -n,
Packit 6bd9ab
	  --nofork option
Packit 6bd9ab
Packit 6bd9ab
	* [82bcfd7] pynslcd/pynslcd.py: -n switch for pynslcd
Packit 6bd9ab
Packit 6bd9ab
2013-08-17  Caleb Callaway <enlightened.despot@gmail.com>
Packit 6bd9ab
Packit 6bd9ab
	* [14b93b9] nslcd/nslcd.c: -n switch for nslcd (prevents process
Packit 6bd9ab
	  from forking)
Packit 6bd9ab
Packit 6bd9ab
2013-08-17  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [8a3f0f5] : Improvements to pynslcd caching functionality
Packit 6bd9ab
Packit 6bd9ab
	  This fixes most of the existing caching functionality. Cache
Packit 6bd9ab
	  expiry, negative hits and entries going away remain to be
Packit 6bd9ab
	  implemented.
Packit 6bd9ab
Packit 6bd9ab
2013-08-16  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [a066bcb] configure.ac, tests/Makefile.am,
Packit 6bd9ab
	  tests/test_pynslcd_cache.py: Implement tests for caching
Packit 6bd9ab
	  functionality
Packit 6bd9ab
Packit 6bd9ab
2013-08-12  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [d66162a] pynslcd/alias.py, pynslcd/cache.py, pynslcd/group.py,
Packit 6bd9ab
	  pynslcd/host.py, pynslcd/netgroup.py, pynslcd/network.py,
Packit 6bd9ab
	  pynslcd/protocol.py, pynslcd/rpc.py, pynslcd/service.py: Use
Packit 6bd9ab
	  retrieve_by, group_by and group_columns in the cache
Packit 6bd9ab
Packit 6bd9ab
	  This removes custom retrieve() functions and Query classes from
Packit 6bd9ab
	  the database modules and uses retrieve_sql retrieve_by, group_by
Packit 6bd9ab
	  and group_columns to make a custom retrieval query.
Packit 6bd9ab
Packit 6bd9ab
	  In the cache module this completely replaces how the query grouping
Packit 6bd9ab
	  is done. The Query class is now only used inside the cache and the
Packit 6bd9ab
	  CnAliasedQuery, RowGrouper and related classed have been removed.
Packit 6bd9ab
Packit 6bd9ab
2013-04-23  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [bfe22cc] pynslcd/cache.py: Make Cache a context manager
Packit 6bd9ab
Packit 6bd9ab
2013-08-12  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [1b89df5] pynslcd/alias.py, pynslcd/cache.py, pynslcd/group.py,
Packit 6bd9ab
	  pynslcd/host.py, pynslcd/netgroup.py, pynslcd/network.py,
Packit 6bd9ab
	  pynslcd/protocol.py, pynslcd/rpc.py, pynslcd/service.py: Give
Packit 6bd9ab
	  cache tables friendlier names
Packit 6bd9ab
Packit 6bd9ab
	  This also defined the tables for netgroup storage.
Packit 6bd9ab
Packit 6bd9ab
2013-08-11  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [7671276] pynslcd/alias.py, pynslcd/cache.py, pynslcd/group.py,
Packit 6bd9ab
	  pynslcd/host.py, pynslcd/network.py, pynslcd/protocol.py,
Packit 6bd9ab
	  pynslcd/rpc.py, pynslcd/service.py: Explicitly define tables
Packit 6bd9ab
	  used for cache
Packit 6bd9ab
Packit 6bd9ab
	  This introduces the tables property in the Cache object that is
Packit 6bd9ab
	  used to define the used tables.
Packit 6bd9ab
Packit 6bd9ab
	  This also fixes the storing of mulit-valued attributes in
Packit 6bd9ab
	  the cache.
Packit 6bd9ab
Packit 6bd9ab
2013-04-16  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [b0b5723] pynslcd/alias.py, pynslcd/cache.py, pynslcd/ether.py,
Packit 6bd9ab
	  pynslcd/group.py, pynslcd/host.py, pynslcd/netgroup.py,
Packit 6bd9ab
	  pynslcd/network.py, pynslcd/passwd.py, pynslcd/protocol.py,
Packit 6bd9ab
	  pynslcd/rpc.py, pynslcd/service.py, pynslcd/shadow.py: Move
Packit 6bd9ab
	  cache table creation to modules
Packit 6bd9ab
Packit 6bd9ab
	  This also moves the creation of a SQLite database connection to
Packit 6bd9ab
	  a _get_connection() function to ensure the cache is only created
Packit 6bd9ab
	  when the caches are instantiated.
Packit 6bd9ab
Packit 6bd9ab
2013-07-30  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [84d22e6] pynslcd/passwd.py: Fix missing part of d659e83
Packit 6bd9ab
Packit 6bd9ab
2013-07-29  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [ec53918] pynslcd/group.py, pynslcd/passwd.py: Use cleaner import
Packit 6bd9ab
	  and get rid of uid2dn function in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [d659e83] pynslcd/cfg.py, pynslcd/passwd.py: Handle the nss_min_uid
Packit 6bd9ab
	  option in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [7092d40] pynslcd/cfg.py, pynslcd/group.py: Handle the
Packit 6bd9ab
	  nss_initgroups_ignoreusers option in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [a0e12e6] pynslcd/cfg.py, pynslcd/pam.py: Fix handling of
Packit 6bd9ab
	  pam_password_prohibit_message in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [fa97bcc] pynslcd/Makefile.am, pynslcd/config.py,
Packit 6bd9ab
	  pynslcd/pynslcd.py: Implement config request handling in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	  This allows the PAM module to request the
Packit 6bd9ab
	  pam_password_prohibit_message option for denying password change.
Packit 6bd9ab
Packit 6bd9ab
	* [a3acbec] pynslcd/pam.py: Implement PAM session handling in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	  Just like in nslcd this doesn't actually do anything with the
Packit 6bd9ab
	  session ids except generating them.
Packit 6bd9ab
Packit 6bd9ab
2013-07-26  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [4031750] pynslcd/search.py: Properly handle start_tls in pynslcd
Packit 6bd9ab
Packit 6bd9ab
2013-07-27  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [5d3f681] configure.ac: Have configure show --disable-utils
Packit 6bd9ab
	  by default
Packit 6bd9ab
Packit 6bd9ab
	  Since the utils are automatically built if Python is available
Packit 6bd9ab
	  --disable is more appropriate a default then --enable.
Packit 6bd9ab
Packit 6bd9ab
	* [5adc2ca] tests/test_pycompile.sh: Have test_pycompile not write
Packit 6bd9ab
	  any pyc files
Packit 6bd9ab
Packit 6bd9ab
	  We need to avoid writing pyc files because during make distcheck,
Packit 6bd9ab
	  the source directory is read-only.
Packit 6bd9ab
Packit 6bd9ab
	  This also ensures that the test is skipped if the Python
Packit 6bd9ab
	  interpreter is not found.
Packit 6bd9ab
Packit 6bd9ab
	* [e17730f] README: Dcoumentation updates
Packit 6bd9ab
Packit 6bd9ab
	  This fixes a typo, clarifies the section on the LDAP schema
Packit 6bd9ab
	  values that are supported and updates the differences between
Packit 6bd9ab
	  nss-pam-ldapd and nss_ldap and pam_ldap.
Packit 6bd9ab
Packit 6bd9ab
2013-07-26  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [30ffdb2] tests/Makefile.am, tests/test_pycompile.sh: Test Python
Packit 6bd9ab
	  syntax on make check
Packit 6bd9ab
Packit 6bd9ab
	* [10eec70] : Merge fixes for reconnect_invalidate option
Packit 6bd9ab
Packit 6bd9ab
	  The branch accidentally got merged before it was fully tested.
Packit 6bd9ab
Packit 6bd9ab
	* [dce98a5] nslcd/cfg.c, nslcd/invalidator.c, pynslcd/invalidator.py,
Packit 6bd9ab
	  pynslcd/pynslcd.py: Fix errors in invalidator changes
Packit 6bd9ab
Packit 6bd9ab
	  This fixes a few typos and an omission in the configuration file
Packit 6bd9ab
	  parsing code.
Packit 6bd9ab
Packit 6bd9ab
	* [7c85202] : Make cache invalidation more generic
Packit 6bd9ab
Packit 6bd9ab
	  This changes the nscd_invalidate option into a more generic
Packit 6bd9ab
	  reconnect_invalidate and also allows clearing the nfsidmap cache.
Packit 6bd9ab
Packit 6bd9ab
	* [e1b0399] man/nslcd.conf.5.xml, nslcd/Makefile.am, nslcd/cfg.c,
Packit 6bd9ab
	  nslcd/cfg.h, nslcd/common.h, nslcd/invalidator.c, nslcd/myldap.c,
Packit 6bd9ab
	  nslcd/nscd.c, nslcd/nslcd.c, pynslcd/Makefile.am, pynslcd/cfg.py,
Packit 6bd9ab
	  pynslcd/invalidator.py, pynslcd/nscd.py, pynslcd/pynslcd.py,
Packit 6bd9ab
	  pynslcd/search.py, tests/Makefile.am: Rename nscd_invalidate
Packit 6bd9ab
	  option to reconnect_invalidate
Packit 6bd9ab
Packit 6bd9ab
	  This also renames the internal nscd module to invalidator for
Packit 6bd9ab
	  both nslcd and pynslcd. The new invalidator module is now no
Packit 6bd9ab
	  longer nscd-specific.
Packit 6bd9ab
Packit 6bd9ab
	* [6054499] man/nslcd.conf.5.xml, nslcd/attmap.c, nslcd/cfg.c,
Packit 6bd9ab
	  nslcd/cfg.h, nslcd/nscd.c, pynslcd/cfg.py, pynslcd/nscd.py:
Packit 6bd9ab
	  Allow invalidating the nfsidmap cache
Packit 6bd9ab
Packit 6bd9ab
	  This introduces an nfsidmap value for nscd_invalidate which will
Packit 6bd9ab
	  cause the nfsidmap -c command to be run.
Packit 6bd9ab
Packit 6bd9ab
2013-07-17  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [d2e2e40] pynslcd/nscd.py: Fix nscd cache flushing bug in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	  The pynslcd implementation would always clear the passwd nscd
Packit 6bd9ab
	  cache regardless of the provided map.
Packit 6bd9ab
Packit 6bd9ab
2013-07-11  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [5b78508] .gitignore, INSTALL, ar-lib, autogen.sh, compile,
Packit 6bd9ab
	  config.guess, config.sub, configure.ac, depcomp, install-sh,
Packit 6bd9ab
	  missing, mkinstalldirs, py-compile, test-driver: Upgrade to
Packit 6bd9ab
	  automake 1.13
Packit 6bd9ab
Packit 6bd9ab
2013-05-20  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [ee7b2e9] tests/lookup_shadow.c: Add an explicit cast to int
Packit 6bd9ab
	  in lookup_shadow
Packit 6bd9ab
Packit 6bd9ab
2013-04-14  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [b6f5047] nslcd/nscd.c: Make tests for system call failures a
Packit 6bd9ab
	  little more robustly
Packit 6bd9ab
Packit 6bd9ab
2013-05-10  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [97d35f3] pynslcd/pynslcd.py: Ignore errors in opening NSS module
Packit 6bd9ab
Packit 6bd9ab
2013-04-12  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [b15dc66] pynslcd/cache.py, pynslcd/cfg.py, pynslcd/group.py,
Packit 6bd9ab
	  pynslcd/nscd.py, pynslcd/pynslcd.py, pynslcd/search.py,
Packit 6bd9ab
	  pynslcd/shadow.py, pynslcd/tio.py, pynslcd/usermod.py,
Packit 6bd9ab
	  utils/chsh.py, utils/getent.py, utils/nslcd.py, utils/users.py:
Packit 6bd9ab
	  Python style changes
Packit 6bd9ab
Packit 6bd9ab
	  This tries to conform more closely to PEP8. Imports have been
Packit 6bd9ab
	  checked and, if used only once, moved closer to the use to avoid
Packit 6bd9ab
	  potential import loops. This also includes a few other minor
Packit 6bd9ab
	  changes, like using __main__ for utility scripts and variable
Packit 6bd9ab
	  renames to avoid name clashes.
Packit 6bd9ab
Packit 6bd9ab
	* [d3c6a66] pynslcd/pam.py: Raise an error with a missing old
Packit 6bd9ab
	  password on password modification
Packit 6bd9ab
Packit 6bd9ab
	* [f45b24d] utils/nslcd.py: Set FD_CLOEXEC on the client socket
Packit 6bd9ab
	  in utilities
Packit 6bd9ab
Packit 6bd9ab
	* [bc35197] pynslcd/pam.py: Fix getting caller's uid on password
Packit 6bd9ab
	  change (pynslcd)
Packit 6bd9ab
Packit 6bd9ab
2013-04-06  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [84402e5] utils/Makefile.am: Install utilities in share/nslcd-utils
Packit 6bd9ab
Packit 6bd9ab
	* [b5b4239] man/Makefile.am: Fix the way manual pages are installed
Packit 6bd9ab
Packit 6bd9ab
	  The :u flag apparently isn't portable across versions of make
Packit 6bd9ab
	  and automake rules complain if a manual page is added twice to
Packit 6bd9ab
	  a target.
Packit 6bd9ab
Packit 6bd9ab
2013-04-05  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [187c626] ChangeLog, NEWS, TODO, configure.ac,
Packit 6bd9ab
	  man/getent.ldap.1.xml, man/nslcd.8.xml, man/nslcd.conf.5.xml,
Packit 6bd9ab
	  man/pam_ldap.8.xml, man/pynslcd.8.xml: Get files ready for
Packit 6bd9ab
	  0.9.0 release
Packit 6bd9ab
Packit 6bd9ab
	* [2616f43] pynslcd/Makefile.am: Include the usermod.py file in
Packit 6bd9ab
	  the distribution
Packit 6bd9ab
Packit 6bd9ab
	* [c519729] man/chsh.ldap.1.xml: Fix docbook validation
Packit 6bd9ab
Packit 6bd9ab
2013-04-03  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [1c31305] configure.ac: Ignore missing Python in initial test
Packit 6bd9ab
Packit 6bd9ab
	* [4b01125] nslcd/nslcd.c: Fix comment
Packit 6bd9ab
Packit 6bd9ab
2013-03-30  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [d7990de] pynslcd/pam.py: Update the shadowLastChange on password
Packit 6bd9ab
	  change in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [ea6bff3] pynslcd/pam.py: Implement password modification
Packit 6bd9ab
	  in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [62a409c] : Implement used modification functionality
Packit 6bd9ab
Packit 6bd9ab
	  This adds user information modification functionality to nslcd
Packit 6bd9ab
	  and pynslcd and implements a chsh.ldap utility that can be
Packit 6bd9ab
	  used to change the login shell of a user (similar to the normal
Packit 6bd9ab
	  chsh command).
Packit 6bd9ab
Packit 6bd9ab
	  The user modification functionality should allow for generic
Packit 6bd9ab
	  modifications of user information. More utility commands to
Packit 6bd9ab
	  perform modifications remain to be implemented.
Packit 6bd9ab
Packit 6bd9ab
	* [012b185] .gitignore, man/Makefile.am, man/chsh.ldap.1.xml,
Packit 6bd9ab
	  utils/Makefile.am, utils/chsh.py, utils/cmdline.py, utils/nslcd.py,
Packit 6bd9ab
	  utils/shells.py, utils/users.py: Initial version of a chsh.ldap
Packit 6bd9ab
	  utility
Packit 6bd9ab
Packit 6bd9ab
	* [d0482fb] pynslcd/pynslcd.py, pynslcd/usermod.py: Handle user
Packit 6bd9ab
	  modification requests in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	  Similar to the nslcd implementation, this currently only covers
Packit 6bd9ab
	  modifying the homeDirectory and loginShell attributes.
Packit 6bd9ab
Packit 6bd9ab
	* [f1895f9] nslcd/Makefile.am, nslcd/common.h, nslcd/nslcd.c,
Packit 6bd9ab
	  nslcd/usermod.c: Handle user modification requests in nslcd
Packit 6bd9ab
Packit 6bd9ab
	  This is currently limited to supporting modification of the
Packit 6bd9ab
	  homeDirectory and loginShell attributes.
Packit 6bd9ab
Packit 6bd9ab
	  Modifications as root currently use the rootpwmoddn and rootpwmodpw
Packit 6bd9ab
	  options.
Packit 6bd9ab
Packit 6bd9ab
	* [8fb5eb1] nslcd.h: Define a NSLCD_ACTION_USERMOD request
Packit 6bd9ab
Packit 6bd9ab
	  The modification can either be requested by root or by the
Packit 6bd9ab
	  user itself.
Packit 6bd9ab
Packit 6bd9ab
	  Modifications by the user should be done by connecting to the
Packit 6bd9ab
	  LDAP server with the user-supplied credentials. It is expected
Packit 6bd9ab
	  that access controls in the LDAP server prevent unwanted
Packit 6bd9ab
	  modifications. The nslcd process is expected to check whether
Packit 6bd9ab
	  supplied values are sensible.
Packit 6bd9ab
Packit 6bd9ab
	* [aae36cf] pynslcd/pam.py: Rename authentication function and
Packit 6bd9ab
	  return connection
Packit 6bd9ab
Packit 6bd9ab
	* [355c2af] configure.ac: Fix test for absence of Python
Packit 6bd9ab
Packit 6bd9ab
	* [f478830] pynslcd/cfg.py: Mark unsupported pynslcd configuration
Packit 6bd9ab
	  options
Packit 6bd9ab
Packit 6bd9ab
	* [2b097f7] configure.ac: Preset default configure values
Packit 6bd9ab
	  consistently
Packit 6bd9ab
Packit 6bd9ab
	* [6ceb1df] configure.ac: Give an error when the Python interpreter
Packit 6bd9ab
	  is missing
Packit 6bd9ab
Packit 6bd9ab
2013-03-29  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [a47b20f] configure.ac: Build command-line utilities by default
Packit 6bd9ab
	  if Python is available
Packit 6bd9ab
Packit 6bd9ab
	* [adde1d4] : Implement clearing of nscd cache in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [a75cfb9] pynslcd/nscd.py, pynslcd/search.py: Detect and handle
Packit 6bd9ab
	  connection failure and recovery
Packit 6bd9ab
Packit 6bd9ab
	  Logs a connection recovery message and run a nscd cache
Packit 6bd9ab
	  invalidation if configured.
Packit 6bd9ab
Packit 6bd9ab
	* [585d388] pynslcd/pynslcd.py: Start the nscd invalidator process
Packit 6bd9ab
	  if needed
Packit 6bd9ab
Packit 6bd9ab
	* [d4c5c96] pynslcd/cfg.py: Parse the nscd_invalidate option
Packit 6bd9ab
Packit 6bd9ab
	* [11b1739] pynslcd/Makefile.am, pynslcd/nscd.py: Functionality
Packit 6bd9ab
	  for clearing the nscd cache in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [65a65ad] pynslcd/pynslcd.py: Switch to using os.environ instead
Packit 6bd9ab
	  of os.putenv()
Packit 6bd9ab
Packit 6bd9ab
	  The os.putenv() call doesn't update os.environ and Python
Packit 6bd9ab
	  documentation recommends using os.environ.
Packit 6bd9ab
Packit 6bd9ab
	* [46cf240] pynslcd/pam.py: Rename validate_request to validate
Packit 6bd9ab
Packit 6bd9ab
	* [7d1e492] pynslcd/pam.py: Also perform authentication search
Packit 6bd9ab
	  using LDAPSearch class
Packit 6bd9ab
Packit 6bd9ab
2013-03-28  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [302c2fa] tests/test_nsscmds.sh: Make the NSS tests dependant
Packit 6bd9ab
	  on the configuration of nsswitch.conf
Packit 6bd9ab
Packit 6bd9ab
	* [8790b40] tests/test_myldap.c: Do not rely on printf() being
Packit 6bd9ab
	  able to print NULL strings
Packit 6bd9ab
Packit 6bd9ab
2013-03-24  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [932c641] man/nslcd.conf.5.xml: Fix manual page generation
Packit 6bd9ab
Packit 6bd9ab
	* [07ca836] nslcd/cfg.h: Fix comment for nss_nested_groups config
Packit 6bd9ab
	  option
Packit 6bd9ab
Packit 6bd9ab
	* [3daa68d] : Implement support for nested groups
Packit 6bd9ab
Packit 6bd9ab
	* [642064c] tests/test.ldif, tests/test_nsscmds.sh: Add tests for
Packit 6bd9ab
	  nested group functionality
Packit 6bd9ab
Packit 6bd9ab
	  This also includes some changes to the test directory contents
Packit 6bd9ab
	  that were for other tests and functionality.
Packit 6bd9ab
Packit 6bd9ab
	* [b1b7648] README, man/nslcd.conf.5.xml, nslcd/cfg.c, nslcd/cfg.h,
Packit 6bd9ab
	  nslcd/group.c, pynslcd/cfg.py, pynslcd/group.py: Implement a
Packit 6bd9ab
	  nss_nested_groups configuration option
Packit 6bd9ab
Packit 6bd9ab
	  This option can be used in both nslcd and pynslcd to enable
Packit 6bd9ab
	  recursive group member lookups. By default the functionality is
Packit 6bd9ab
	  disabled. This also updates the documentation.
Packit 6bd9ab
Packit 6bd9ab
	* [d6a6e8b] pynslcd/common.py, pynslcd/group.py: Implement support
Packit 6bd9ab
	  for nested groups in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [41ba574] nslcd/group.c: Implement support for nested groups
Packit 6bd9ab
	  in nslcd
Packit 6bd9ab
Packit 6bd9ab
	  This differs from the code provided by Steve Hill in that it avoids
Packit 6bd9ab
	  (recursively) performing parallel LDAP searches by queueing groups
Packit 6bd9ab
	  and check for extra members per queued group (in the forward
Packit 6bd9ab
	  lookup) or check for extra parents (for the user to groups lookup).
Packit 6bd9ab
Packit 6bd9ab
	  For the reverse lookup handling the NSLCD_HANDLE macro could no
Packit 6bd9ab
	  longer be used because extra care should be taken to free the
Packit 6bd9ab
	  sets before returning and two search phases are needed.
Packit 6bd9ab
Packit 6bd9ab
2013-03-20  Steve Hill <steve@opendium.com>
Packit 6bd9ab
Packit 6bd9ab
	* [08f5301] AUTHORS, nslcd/group.c: Implement a
Packit 6bd9ab
	  mkfilter_group_bymemberdn() function
Packit 6bd9ab
Packit 6bd9ab
	  This was part of a bigger change to implement nested groups,
Packit 6bd9ab
	  however most of the other parts were re-implemented differently.
Packit 6bd9ab
Packit 6bd9ab
	  For the original changes, see:
Packit 6bd9ab
	  http://lists.arthurdejong.org/nss-pam-ldapd-users/2013/msg00034.html
Packit 6bd9ab
Packit 6bd9ab
2013-03-24  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [edd119c] tests/test.ldif, tests/test.ldif.gz: Unpack the LDIF
Packit 6bd9ab
	  file to make diffs clearer
Packit 6bd9ab
Packit 6bd9ab
	* [b0785de] nslcd/cfg.h, nslcd/myldap.c: spelling fixes
Packit 6bd9ab
Packit 6bd9ab
2013-03-22  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [402d3f3] nslcd/service.c: fix service request logging
Packit 6bd9ab
Packit 6bd9ab
2013-03-19  Jakub Hrozek <jhrozek@redhat.com>
Packit 6bd9ab
Packit 6bd9ab
	* [f21efd6] nss/common.h: NSS: Return TRYAGAIN on zero-length buffer
Packit 6bd9ab
Packit 6bd9ab
	  One of our customers was running into a situation where glibc
Packit 6bd9ab
	  provided a zero buffer, which is a condition that is retriable
Packit 6bd9ab
	  and the nss module should return NSS_STATUS_TRYAGAIN not
Packit 6bd9ab
	  NSS_STATUS_UNAVAIL.
Packit 6bd9ab
Packit 6bd9ab
2013-03-11  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [7926326] nss/shadow.c: fix the text representation of shadow
Packit 6bd9ab
	  information for nscd on Solaris
Packit 6bd9ab
Packit 6bd9ab
	* [83c5788] .gitignore, tests/Makefile.am, tests/lookup_shadow.c:
Packit 6bd9ab
	  implement a lookup_shadow test command for use on systems that
Packit 6bd9ab
	  don't allow querying shadow via getent
Packit 6bd9ab
Packit 6bd9ab
2013-03-10  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [fa27d94] nslcd/cfg.c, nslcd/nscd.c: fix a few compiler warnings
Packit 6bd9ab
Packit 6bd9ab
	* [0b5b4d1] configure.ac: guess the value for --with-pam-seclib-dir
Packit 6bd9ab
	  if it is not specified
Packit 6bd9ab
Packit 6bd9ab
2013-03-10  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [24c565c] tests/test_pamcmds.sh: small portability fix in
Packit 6bd9ab
	  test_pamcmds.sh
Packit 6bd9ab
Packit 6bd9ab
	* [6a92621] nslcd/service.c: only log protocol name if it is present
Packit 6bd9ab
Packit 6bd9ab
	* [f7c6771] compat/ldap_parse_passwordpolicy_control.c, configure.ac:
Packit 6bd9ab
	  also support systems without bet_get_enum()
Packit 6bd9ab
Packit 6bd9ab
2013-03-09  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [ba5f39f] pynslcd/pynslcd.py: log hex value of action id to make
Packit 6bd9ab
	  debugging easier
Packit 6bd9ab
Packit 6bd9ab
	* [11ca816] pynslcd/pam.py: ensure consistent naming of DN variables
Packit 6bd9ab
Packit 6bd9ab
	* [116d215] pynslcd/attmap.py, pynslcd/group.py,
Packit 6bd9ab
	  pynslcd/netgroup.py, pynslcd/pam.py, pynslcd/search.py,
Packit 6bd9ab
	  pynslcd/service.py, pynslcd/shadow.py: clean up imports and use
Packit 6bd9ab
	  ldap.filter.escape_filter_chars() directly
Packit 6bd9ab
Packit 6bd9ab
	* [ac30060] pynslcd/pam.py, pynslcd/pynslcd.py, pynslcd/search.py:
Packit 6bd9ab
	  move get_connection function to search module as Connection class
Packit 6bd9ab
	  as subclass of ReconnectLDAPObject to automatically reconnect
Packit 6bd9ab
	  to the LDAP server
Packit 6bd9ab
Packit 6bd9ab
	* [4e60340] pynslcd/Makefile.am, pynslcd/alias.py, pynslcd/common.py,
Packit 6bd9ab
	  pynslcd/ether.py, pynslcd/group.py, pynslcd/host.py,
Packit 6bd9ab
	  pynslcd/netgroup.py, pynslcd/network.py, pynslcd/pam.py,
Packit 6bd9ab
	  pynslcd/passwd.py, pynslcd/protocol.py, pynslcd/rpc.py,
Packit 6bd9ab
	  pynslcd/search.py, pynslcd/service.py, pynslcd/shadow.py: move
Packit 6bd9ab
	  Search class to search module
Packit 6bd9ab
Packit 6bd9ab
	* [975ee2c] pynslcd/cfg.py: fix default logging configuration
Packit 6bd9ab
	  setting in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [8a67c9f] common/tio.c: fix the description of the
Packit 6bd9ab
	  tio_time_remaining() function
Packit 6bd9ab
Packit 6bd9ab
	* [d19f1df] man/nslcd.conf.5.xml: document the nscd_invalidate option
Packit 6bd9ab
Packit 6bd9ab
	* [bf64710] nslcd/myldap.c, nslcd/nscd.c, nslcd/nslcd.c: start the
Packit 6bd9ab
	  nscd invalidator and invalidate the nscd cache after reconnecting
Packit 6bd9ab
	  to the LDAP server after failure
Packit 6bd9ab
Packit 6bd9ab
	* [d413a64] nslcd/cfg.c, nslcd/cfg.h: implement parsing of the
Packit 6bd9ab
	  nscd_invalidate option
Packit 6bd9ab
Packit 6bd9ab
	* [008f8a9] configure.ac, nslcd/Makefile.am, nslcd/common.h,
Packit 6bd9ab
	  nslcd/nscd.c, tests/Makefile.am: implement functionality to send
Packit 6bd9ab
	  a cache invalidation signal to nscd
Packit 6bd9ab
Packit 6bd9ab
	* [9a6f5b2] nslcd/common.c, nslcd/common.h, nslcd/nslcd.c: move
Packit 6bd9ab
	  signame() function to common.c to make it available to all modules
Packit 6bd9ab
Packit 6bd9ab
2013-03-03  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [646dfa8] man/nslcd.conf.5.xml: document the trimming expressions
Packit 6bd9ab
	  in the nslcd.conf(5) manual page
Packit 6bd9ab
Packit 6bd9ab
	* [54a3dba] pynslcd/expr.py: support trimming expressions with
Packit 6bd9ab
	  full shell glob matching in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [8655355] tests/test_expr.c: add tests for trimming expressions
Packit 6bd9ab
Packit 6bd9ab
2013-01-04  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [6c05b76] common/expr.c: update the trimming expressions code
Packit 6bd9ab
	  to follow the new coding style
Packit 6bd9ab
Packit 6bd9ab
2012-12-03  Thorsten Glaser <t.glaser@tarent.de>
Packit 6bd9ab
Packit 6bd9ab
	* [3731964] AUTHORS, common/expr.c: allow trimming expressions
Packit 6bd9ab
	  with ${foo#bar} syntax in nslcd
Packit 6bd9ab
Packit 6bd9ab
2013-03-01  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [f56f926] nslcd/myldap.c, nslcd/myldap.h, nslcd/pam.c: return
Packit 6bd9ab
	  the password policy bind information via PAM
Packit 6bd9ab
Packit 6bd9ab
2013-01-04  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [5fce062] compat/Makefile.am, compat/ldap_compat.h,
Packit 6bd9ab
	  compat/ldap_passwordpolicy_err2txt.c, configure.ac: provide a
Packit 6bd9ab
	  basic replacement implementation of ldap_passwordpolicy_err2txt()
Packit 6bd9ab
	  for systems that don't have it
Packit 6bd9ab
Packit 6bd9ab
	* [37151df] compat/Makefile.am, compat/ldap_compat.h,
Packit 6bd9ab
	  compat/ldap_parse_passwordpolicy_control.c, configure.ac: provide
Packit 6bd9ab
	  a replacement implementation of ldap_parse_passwordpolicy_control()
Packit 6bd9ab
	  for systems that don't have it
Packit 6bd9ab
Packit 6bd9ab
2013-03-01  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [1c2ab50] compat/ldap_compat.h, configure.ac, nslcd/myldap.c:
Packit 6bd9ab
	  request and parse password policy controls when doing user
Packit 6bd9ab
	  authentication in nslcd
Packit 6bd9ab
Packit 6bd9ab
2013-01-18  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [f2c49e6] nslcd/myldap.c: pass the session along to the do_bind()
Packit 6bd9ab
	  function
Packit 6bd9ab
Packit 6bd9ab
2013-03-03  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [117327e] configure.ac: add some missing checks to the configure
Packit 6bd9ab
	  script
Packit 6bd9ab
Packit 6bd9ab
2013-03-01  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [b4afe7c] nslcd/pam.c: log a more meaningful error in nslcd when
Packit 6bd9ab
	  trying to authenticate as administrator when rootpwmoddn is not set
Packit 6bd9ab
Packit 6bd9ab
	* [31f9098] nslcd/common.h, nslcd/pam.c, nslcd/shadow.c: move
Packit 6bd9ab
	  update_lastchange() function from shadow to pam code
Packit 6bd9ab
Packit 6bd9ab
	* [1a1bb07] utils/getent.py: move parsing to command line arguments
Packit 6bd9ab
	  to main body
Packit 6bd9ab
Packit 6bd9ab
2013-02-28  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [38fb524] TODO: update TODO (setnetgrent() returns an error
Packit 6bd9ab
	  since r1874)
Packit 6bd9ab
Packit 6bd9ab
2013-02-27  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [798820e] man/nslcd.conf.5.xml: include information about when
Packit 6bd9ab
	  some of the options were added
Packit 6bd9ab
Packit 6bd9ab
	* [11283a5] nss/common.c: add missing include statement for NULL
Packit 6bd9ab
	  definition
Packit 6bd9ab
Packit 6bd9ab
2013-02-23  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [12076c7] nslcd/nslcd.c, pynslcd/pynslcd.py: log version
Packit 6bd9ab
	  information from the NSS module
Packit 6bd9ab
Packit 6bd9ab
	* [3155cdf] nss/common.c, nss/exports.freebsd, nss/exports.glibc,
Packit 6bd9ab
	  nss/exports.solaris: define and export an _nss_ldap_version symbol
Packit 6bd9ab
Packit 6bd9ab
	* [61a3fce] pynslcd/ether.py: also search for alternative macAddress
Packit 6bd9ab
	  representation in pynslcd
Packit 6bd9ab
Packit 6bd9ab
2013-02-12  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [a9aea20] nslcd/nslcd.c: extra sanity check to ensure not too
Packit 6bd9ab
	  many file descriptors are open
Packit 6bd9ab
Packit 6bd9ab
2013-02-23  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [bfdf7cd] nslcd.h: clarify NSLCD_ACTION_SERVICE_* request
Packit 6bd9ab
	  parameter description
Packit 6bd9ab
Packit 6bd9ab
	* [1c6d856] man/nslcd.conf.5.xml, nslcd/cfg.c, tests/test_common.c:
Packit 6bd9ab
	  allow names with one character in default validnames option and
Packit 6bd9ab
	  allow parentheses (taken from Fedora packages)
Packit 6bd9ab
Packit 6bd9ab
	* [d54243a] man/nslcd.conf.5.xml: document the log option
Packit 6bd9ab
Packit 6bd9ab
	* [c75599d] pynslcd/cfg.py, pynslcd/pynslcd.py: handle the log
Packit 6bd9ab
	  configuration option in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [efca5ca] nslcd/cfg.c, nslcd/log.c, nslcd/log.h, nslcd/nslcd.c:
Packit 6bd9ab
	  handle the log configuration option in nslcd
Packit 6bd9ab
Packit 6bd9ab
	* [22be9b0] nslcd/log.c, nslcd/log.h: implement functions for
Packit 6bd9ab
	  configuring alternative logging
Packit 6bd9ab
Packit 6bd9ab
2013-02-12  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [c12768a] man/getent.ldap.1.xml: fix docbook tag for file name
Packit 6bd9ab
Packit 6bd9ab
2013-01-05  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [60f1d85] Makefile.am: generate ChangeLog with git2cl
Packit 6bd9ab
Packit 6bd9ab
	* [ba93d8f] ChangeLog, ChangeLog-2012: archive 2012 changelog
Packit 6bd9ab
	  messages into a year file including the change from Subversion
Packit 6bd9ab
Packit 6bd9ab
2013-01-28  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [91440f7] .gitignore, man/Makefile.am, man/getent.ldap.1.xml:
Packit 6bd9ab
	  add getent.ldap(1) manual page
Packit 6bd9ab
Packit 6bd9ab
	* [ded7bd2] utils/Makefile.am, utils/cmdline.py, utils/getent.py,
Packit 6bd9ab
	  utils/nslcd.py: implement a getent command to query nslcd while
Packit 6bd9ab
	  bypassing NSS stack
Packit 6bd9ab
Packit 6bd9ab
2013-01-26  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [3117668] .gitignore, Makefile.am, configure.ac, utils/Makefile.am:
Packit 6bd9ab
	  add an --enable-utils option to configure to build command-line
Packit 6bd9ab
	  utilities
Packit 6bd9ab
Packit 6bd9ab
2013-01-09  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [7c01898] pynslcd/cache.py, pynslcd/common.py: disable pynslcd
Packit 6bd9ab
	  cache for now
Packit 6bd9ab
Packit 6bd9ab
2013-01-27  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [b9395c8] nslcd.h, nslcd/common.h, nslcd/netgroup.c, nslcd/nslcd.c,
Packit 6bd9ab
	  pynslcd/netgroup.py: implement a netgroup_all request
Packit 6bd9ab
Packit 6bd9ab
2013-01-18  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [0ae8e56] nslcd/nslcd.c: make checking dlsym() result a little
Packit 6bd9ab
	  safer
Packit 6bd9ab
Packit 6bd9ab
	* [fb5d587] compat/ldap_passwd_s.c: fix copyright year
Packit 6bd9ab
Packit 6bd9ab
	* [16db596] common/tio.c: restructure timeout calculation in tio
Packit 6bd9ab
	  to reduce the number of times gettimeofday() is called
Packit 6bd9ab
Packit 6bd9ab
	* [b01cd22] nslcd/log.c: use pthreads thread-local storage as
Packit 6bd9ab
	  fallback mechanism if compiler doesn't provide a keyword for TLS
Packit 6bd9ab
Packit 6bd9ab
	* [d86497b] configure.ac, m4/ax_tls.m4, nslcd/log.c, nss/aliases.c,
Packit 6bd9ab
	  nss/ethers.c, nss/group.c, nss/hosts.c, nss/netgroup.c,
Packit 6bd9ab
	  nss/networks.c, nss/passwd.c, nss/protocols.c, nss/rpc.c,
Packit 6bd9ab
	  nss/services.c, nss/shadow.c: use the AX_TLS macro to find
Packit 6bd9ab
	  correct thread-local storage class compiler directive
Packit 6bd9ab
Packit 6bd9ab
	* [fa62cd3] nslcd/cfg.c, nslcd/cfg.h: dump full nslcd configuration
Packit 6bd9ab
	  at debug level on start-up
Packit 6bd9ab
Packit 6bd9ab
2013-01-16  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [2765100] man/Makefile.am: fix the way manual pages are generated
Packit 6bd9ab
	  and distributed
Packit 6bd9ab
Packit 6bd9ab
2013-01-14  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [2caeef4] man/nslcd.conf.5.xml, nslcd/cfg.c, pynslcd/cfg.py,
Packit 6bd9ab
	  tests/test_cfg.c: support children search scope for systems that
Packit 6bd9ab
	  have it
Packit 6bd9ab
Packit 6bd9ab
	* [4197ec3] pynslcd/cfg.py: fix parsing of scope option in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [5e0bb05] tests/test_tio.c: support systems without ETIME
Packit 6bd9ab
Packit 6bd9ab
	* [b5b6c48] configure.ac, tests/lookup_netgroup.c: check whether
Packit 6bd9ab
	  setnetgrent() returns int or void (for FreeBSD)
Packit 6bd9ab
Packit 6bd9ab
2013-01-12  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [0a5ac8b] nslcd/cfg.c, tests/test_cfg.c: reorganise configuration
Packit 6bd9ab
	  file parsing code
Packit 6bd9ab
Packit 6bd9ab
	* [82b31fe] nslcd/myldap.c: have myldap_get_ranged_values() return
Packit 6bd9ab
	  a list of values instead of a set
Packit 6bd9ab
Packit 6bd9ab
	* [388821a] nslcd/cfg.c, nslcd/group.c, nslcd/passwd.c,
Packit 6bd9ab
	  nslcd/shadow.c: check result of set_tolist() to ensure that
Packit 6bd9ab
	  memory allocation problems are logged
Packit 6bd9ab
Packit 6bd9ab
	* [cdae946] nslcd/myldap.c: fix memory leak in
Packit 6bd9ab
	  myldap_get_values_len() when using ranged attributes (very
Packit 6bd9ab
	  unlikely to occur)
Packit 6bd9ab
Packit 6bd9ab
	* [9b11d41] nslcd/myldap.c: fix a problem in memory handling in
Packit 6bd9ab
	  myldap_get_values_len() if malloc() would fail
Packit 6bd9ab
Packit 6bd9ab
	* [2a73fa1] configure.ac: drop -Wcase-qual when using
Packit 6bd9ab
	  --enable-warnings because it was causing too much noise
Packit 6bd9ab
Packit 6bd9ab
2013-01-10  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [4689d5f] nslcd/myldap.c: fix typo in comment
Packit 6bd9ab
Packit 6bd9ab
2013-01-06  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [eb86f87] pynslcd/pam.py: request and parse password policy
Packit 6bd9ab
	  controls when doing user authentication in pynslcd
Packit 6bd9ab
Packit 6bd9ab
	* [28aeaa4] pam/pam.c: do not recheck the user password in first
Packit 6bd9ab
	  password phase if it was stored in the authentication phase
Packit 6bd9ab
Packit 6bd9ab
	* [ba18be7] nslcd/pam.c: perform search for pam_authz_search on
Packit 6bd9ab
	  all search bases
Packit 6bd9ab
Packit 6bd9ab
2013-01-05  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [65e184d] pynslcd/pam.py: some simplifications in the current
Packit 6bd9ab
	  pynslcd PAM request handling
Packit 6bd9ab
Packit 6bd9ab
	* [8d054c8] nslcd/myldap.c, tests/test_cfg.c: update FIXMEs
Packit 6bd9ab
Packit 6bd9ab
	* [086a1a5] nslcd/ether.c: change ethernet address formatting from
Packit 6bd9ab
	  FIXME to note
Packit 6bd9ab
Packit 6bd9ab
	* [c89c41b] pam/pam.c: save the old password if either the
Packit 6bd9ab
	  authentication or the authorisation response is NEW_AUTHTOK_REQD
Packit 6bd9ab
Packit 6bd9ab
	* [33518d5] nslcd/myldap.c: inline most is_valid_...() functions
Packit 6bd9ab
Packit 6bd9ab
	* [5242233] compat/ldap_initialize.c: remove not needed define
Packit 6bd9ab
Packit 6bd9ab
	* [7a2b63f] common/nslcd-prot.h: log hex values when debugging
Packit 6bd9ab
	  the protocol
Packit 6bd9ab
Packit 6bd9ab
2013-01-01  Arthur de Jong <arthur@arthurdejong.org>
Packit 6bd9ab
Packit 6bd9ab
	* [82010e2] nslcd/myldap.c, nslcd/myldap.h, nslcd/pam.c: log and
Packit 6bd9ab
	  return a diagnostic message instead of just the LDAP error on
Packit 6bd9ab
	  password change failure
Packit 6bd9ab
Packit 6bd9ab
	* [2f6f6a2] nslcd/pam.c: retry updating the lastChange attribute
Packit 6bd9ab
	  with the normal nslcd LDAP connection if the update with the
Packit 6bd9ab
	  user's connection failed
Packit 6bd9ab
Packit 6bd9ab
	* [864c522] pynslcd/pam.py: update pynslcd PAM protocol handling
Packit 6bd9ab
	  to be in line with r1865