Hello community,

here is the log from the commit of package nss-pam-ldapd for openSUSE:Factory 
checked in at 2018-09-04 22:56:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nss-pam-ldapd (Old)
 and      /work/SRC/openSUSE:Factory/.nss-pam-ldapd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nss-pam-ldapd"

Tue Sep  4 22:56:34 2018 rev:7 rq:632824 version:0.9.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/nss-pam-ldapd/nss-pam-ldapd.changes      
2018-03-11 15:24:19.893194973 +0100
+++ /work/SRC/openSUSE:Factory/.nss-pam-ldapd.new/nss-pam-ldapd.changes 
2018-09-04 22:56:36.129089442 +0200
@@ -1,0 +2,10 @@
+Mon Sep  3 09:49:32 UTC 2018 - [email protected]
+
+- Update to 0.9.10:
+  * add FreeBSD netgroup support (thanks HWLin and Mango Yen)
+  * make password expiry messages correct and consistent (thanks Têko Mihinto)
+  * add domain variable for use in pam_authz_search
+  * allow logging longer lines
+  * create nslcd socket after dropping privileges to avoid slow start-ups
+
+-------------------------------------------------------------------

Old:
----
  nss-pam-ldapd-0.9.9.tar.gz

New:
----
  nss-pam-ldapd-0.9.10.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nss-pam-ldapd.spec ++++++
--- /var/tmp/diff_new_pack.ZyQmwy/_old  2018-09-04 22:56:36.525090794 +0200
+++ /var/tmp/diff_new_pack.ZyQmwy/_new  2018-09-04 22:56:36.533090822 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           nss-pam-ldapd
-Version:        0.9.9
+Version:        0.9.10
 Release:        0
 Summary:        NSS module and daemon for using LDAP as a naming service
 License:        LGPL-2.1-or-later

++++++ nss-pam-ldapd-0.9.9.tar.gz -> nss-pam-ldapd-0.9.10.tar.gz ++++++
++++ 4940 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/AUTHORS new/nss-pam-ldapd-0.9.10/AUTHORS
--- old/nss-pam-ldapd-0.9.9/AUTHORS     2018-02-18 18:20:52.000000000 +0100
+++ new/nss-pam-ldapd-0.9.10/AUTHORS    2018-09-01 12:32:28.000000000 +0200
@@ -143,3 +143,5 @@
 Vasilis Tsiligiannis <[email protected]>
 Giovanni Mascellani <[email protected]>
 Seth Wright <[email protected]>
+HWLin <[email protected]>
+Ching-Hsuan Yen <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/ChangeLog new/nss-pam-ldapd-0.9.10/ChangeLog
--- old/nss-pam-ldapd-0.9.9/ChangeLog   2018-02-18 18:19:48.000000000 +0100
+++ new/nss-pam-ldapd-0.9.10/ChangeLog  2018-09-01 12:27:20.000000000 +0200
@@ -1,3 +1,73 @@
+2018-09-01  Arthur de Jong <[email protected]>
+
+       * [4f0f4db] ar-lib, compile, config.guess, config.sub, depcomp,
+         install-sh, missing, mkinstalldirs, py-compile, test-driver:
+         Update files from latest automake
+
+2018-02-06  HWLin <[email protected]>
+
+       * [d5a25cf] configure.ac, nss/bsdnss.c: Add FreeBSD netgroup support
+
+         Closes: https://github.com/arthurdejong/nss-pam-ldapd/pull/29
+
+2018-08-06  Arthur de Jong <[email protected]>
+
+       * [d8b1640] nslcd/myldap.c, nslcd/pam.c: Make password expiry
+         messages correct and consistent
+
+         Thanks to Têko Mihinto.  See
+         https://bugzilla.redhat.com/show_bug.cgi?id=1612543
+
+2018-07-21  Arthur de Jong <[email protected]>
+
+       * [84676ab] man/nslcd.conf.5.xml, nslcd/cfg.c, nslcd/pam.c: Add
+         domain variable for use in pam_authz_search
+
+         This adds a domain variable (if it can be determined on the
+         system) that can be used in pam_authz_search and pam_authc_search
+         filters to build search filters that search on the domain name
+         (the FQDN without the starting host name).
+
+         Closes https://github.com/arthurdejong/nss-pam-ldapd/issues/8
+
+2018-07-21  Arthur de Jong <[email protected]>
+
+       * [9fbcdd1] .travis.yml, tests/debian-pam-config, tests/testenv.sh:
+         Add a Travis configuration file
+
+         This ensures that the integration tests can be successfully run. It
+         configures a slapd instance with the test database, configures
+         the system to use LDAP authentication and runs the tests.
+
+2018-07-21  Arthur de Jong <[email protected]>
+
+       * [2a468fd] nslcd/log.c: Allow logging longer lines
+
+         This increases the buffer that holds log messages so longer
+         messages can be logged.
+
+         Closes https://github.com/arthurdejong/nss-pam-ldapd/issues/26
+
+2018-07-21  Arthur de Jong <[email protected]>
+
+       * [3760b43] nslcd/nslcd.c: Create /var/run/nslcd/socket after
+         dropping privileges
+
+         This is needed to avoid a problem where a call to initgroups()
+         can result in NSS lookups. If nscd is configured the mechanism
+         to avoid loopback lookups using nss_ldap_enablelookups will not
+         work and cause for delays on start-up.
+
+         Note that this changes ownership of the socket to the user
+         running nslcd.
+
+2018-02-18  Arthur de Jong <[email protected]>
+
+       * [fe26b94] ChangeLog, NEWS, README, 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.9 release
+
 2018-02-18  Arthur de Jong <[email protected]>
 
        * [382b6ea] INSTALL, ar-lib, config.guess, config.sub, depcomp,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/NEWS new/nss-pam-ldapd-0.9.10/NEWS
--- old/nss-pam-ldapd-0.9.9/NEWS        2018-02-18 20:48:56.000000000 +0100
+++ new/nss-pam-ldapd-0.9.10/NEWS       2018-09-01 12:32:28.000000000 +0200
@@ -1,3 +1,13 @@
+changes from 0.9.9 to 0.9.10
+----------------------------
+
+* add FreeBSD netgroup support (thanks HWLin and Mango Yen)
+* make password expiry messages correct and consistent (thanks Têko Mihinto)
+* add domain variable for use in pam_authz_search
+* allow logging longer lines
+* create nslcd socket after dropping privileges to avoid slow start-ups
+
+
 changes from 0.9.8 to 0.9.9
 ---------------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/ar-lib new/nss-pam-ldapd-0.9.10/ar-lib
--- old/nss-pam-ldapd-0.9.9/ar-lib      2018-02-18 18:25:28.000000000 +0100
+++ new/nss-pam-ldapd-0.9.10/ar-lib     2018-09-01 12:32:36.000000000 +0200
@@ -4,7 +4,7 @@
 me=ar-lib
 scriptversion=2012-03-01.08; # UTC
 
-# Copyright (C) 2010-2017 Free Software Foundation, Inc.
+# Copyright (C) 2010-2018 Free Software Foundation, Inc.
 # Written by Peter Rosin <[email protected]>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -18,7 +18,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/compile new/nss-pam-ldapd-0.9.10/compile
--- old/nss-pam-ldapd-0.9.9/compile     2018-02-18 18:25:28.000000000 +0100
+++ new/nss-pam-ldapd-0.9.10/compile    2018-09-01 12:32:36.000000000 +0200
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2012-10-14.11; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+# Copyright (C) 1999-2018 Free Software Foundation, Inc.
 # Written by Tom Tromey <[email protected]>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -255,7 +255,8 @@
     echo "compile $scriptversion"
     exit $?
     ;;
-  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
+  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
+  icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
     func_cl_wrapper "$@"      # Doesn't return...
     ;;
 esac
@@ -339,9 +340,9 @@
 # Local Variables:
 # mode: shell-script
 # sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/configure.ac new/nss-pam-ldapd-0.9.10/configure.ac
--- old/nss-pam-ldapd-0.9.9/configure.ac        2018-02-18 20:48:41.000000000 
+0100
+++ new/nss-pam-ldapd-0.9.10/configure.ac       2018-09-01 12:27:20.000000000 
+0200
@@ -33,10 +33,10 @@
 
 # initialize and set version and bugreport address
 AC_INIT([nss-pam-ldapd],
-        [0.9.9],
+        [0.9.10],
         [[email protected]],,
         [https://arthurdejong.org/nss-pam-ldapd/])
-RELEASE_MONTH="Feb 2018"
+RELEASE_MONTH="Sep 2018"
 AC_SUBST(RELEASE_MONTH)
 AC_CONFIG_SRCDIR([nslcd.h])
 AC_CONFIG_MACRO_DIR([m4])
@@ -545,7 +545,7 @@
     case "$with_nss_flavour" in
       glibc)   
with_nss_maps="aliases,ethers,group,hosts,netgroup,networks,passwd,protocols,rpc,services,shadow"
 ;;
       solaris) 
with_nss_maps="ethers,group,hosts,netgroup,networks,passwd,protocols,rpc,services,shadow"
 ;;
-      freebsd) with_nss_maps="group,hosts,passwd" ;;
+      freebsd) with_nss_maps="group,hosts,passwd,netgroup" ;;
     esac
   fi
   AC_MSG_RESULT($with_nss_maps)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/man/chsh.ldap.1 new/nss-pam-ldapd-0.9.10/man/chsh.ldap.1
--- old/nss-pam-ldapd-0.9.9/man/chsh.ldap.1     2018-02-18 20:50:30.000000000 
+0100
+++ new/nss-pam-ldapd-0.9.10/man/chsh.ldap.1    2018-09-01 12:32:52.000000000 
+0200
@@ -5,7 +5,7 @@
 \\$2 \(la\\$1\(ra\\$3
 ..
 .if \n(.g .mso www.tmac
-.TH chsh.ldap 1 "Feb 2018" "Version 0.9.9" "User Commands"
+.TH chsh.ldap 1 "Sep 2018" "Version 0.9.10" "User Commands"
 .SH NAME
 chsh.ldap \- change login shell in LDAP
 .SH SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/man/chsh.ldap.1.xml 
new/nss-pam-ldapd-0.9.10/man/chsh.ldap.1.xml
--- old/nss-pam-ldapd-0.9.9/man/chsh.ldap.1.xml 2018-02-18 20:48:56.000000000 
+0100
+++ new/nss-pam-ldapd-0.9.10/man/chsh.ldap.1.xml        2018-09-01 
12:27:20.000000000 +0200
@@ -35,9 +35,9 @@
  <refmeta>
   <refentrytitle>chsh.ldap</refentrytitle>
   <manvolnum>1</manvolnum>
-  <refmiscinfo class="version">Version 0.9.9</refmiscinfo>
+  <refmiscinfo class="version">Version 0.9.10</refmiscinfo>
   <refmiscinfo class="manual">User Commands</refmiscinfo>
-  <refmiscinfo class="date">Feb 2018</refmiscinfo>
+  <refmiscinfo class="date">Sep 2018</refmiscinfo>
  </refmeta>
 
  <refnamediv id="name">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/man/getent.ldap.1 
new/nss-pam-ldapd-0.9.10/man/getent.ldap.1
--- old/nss-pam-ldapd-0.9.9/man/getent.ldap.1   2018-02-18 20:50:30.000000000 
+0100
+++ new/nss-pam-ldapd-0.9.10/man/getent.ldap.1  2018-09-01 12:32:52.000000000 
+0200
@@ -5,7 +5,7 @@
 \\$2 \(la\\$1\(ra\\$3
 ..
 .if \n(.g .mso www.tmac
-.TH getent.ldap 1 "Feb 2018" "Version 0.9.9" "User Commands"
+.TH getent.ldap 1 "Sep 2018" "Version 0.9.10" "User Commands"
 .SH NAME
 getent.ldap \- query information from LDAP
 .SH SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/man/getent.ldap.1.xml 
new/nss-pam-ldapd-0.9.10/man/getent.ldap.1.xml
--- old/nss-pam-ldapd-0.9.9/man/getent.ldap.1.xml       2018-02-18 
20:48:56.000000000 +0100
+++ new/nss-pam-ldapd-0.9.10/man/getent.ldap.1.xml      2018-09-01 
12:27:20.000000000 +0200
@@ -35,9 +35,9 @@
  <refmeta>
   <refentrytitle>getent.ldap</refentrytitle>
   <manvolnum>1</manvolnum>
-  <refmiscinfo class="version">Version 0.9.9</refmiscinfo>
+  <refmiscinfo class="version">Version 0.9.10</refmiscinfo>
   <refmiscinfo class="manual">User Commands</refmiscinfo>
-  <refmiscinfo class="date">Feb 2018</refmiscinfo>
+  <refmiscinfo class="date">Sep 2018</refmiscinfo>
  </refmeta>
 
  <refnamediv id="name">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/man/nslcd.8 new/nss-pam-ldapd-0.9.10/man/nslcd.8
--- old/nss-pam-ldapd-0.9.9/man/nslcd.8 2018-02-18 20:50:30.000000000 +0100
+++ new/nss-pam-ldapd-0.9.10/man/nslcd.8        2018-09-01 12:32:52.000000000 
+0200
@@ -5,7 +5,7 @@
 \\$2 \(la\\$1\(ra\\$3
 ..
 .if \n(.g .mso www.tmac
-.TH nslcd 8 "Feb 2018" "Version 0.9.9" "System Manager's Manual"
+.TH nslcd 8 "Sep 2018" "Version 0.9.10" "System Manager's Manual"
 .SH NAME
 nslcd \- local LDAP name service daemon
 .SH SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/man/nslcd.8.xml new/nss-pam-ldapd-0.9.10/man/nslcd.8.xml
--- old/nss-pam-ldapd-0.9.9/man/nslcd.8.xml     2018-02-18 20:48:56.000000000 
+0100
+++ new/nss-pam-ldapd-0.9.10/man/nslcd.8.xml    2018-09-01 12:27:20.000000000 
+0200
@@ -36,9 +36,9 @@
  <refmeta>
   <refentrytitle>nslcd</refentrytitle>
   <manvolnum>8</manvolnum>
-  <refmiscinfo class="version">Version 0.9.9</refmiscinfo>
+  <refmiscinfo class="version">Version 0.9.10</refmiscinfo>
   <refmiscinfo class="manual">System Manager's Manual</refmiscinfo>
-  <refmiscinfo class="date">Feb 2018</refmiscinfo>
+  <refmiscinfo class="date">Sep 2018</refmiscinfo>
  </refmeta>
 
  <refnamediv id="name">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/man/nslcd.conf.5 
new/nss-pam-ldapd-0.9.10/man/nslcd.conf.5
--- old/nss-pam-ldapd-0.9.9/man/nslcd.conf.5    2018-02-18 20:50:30.000000000 
+0100
+++ new/nss-pam-ldapd-0.9.10/man/nslcd.conf.5   2018-09-01 12:32:52.000000000 
+0200
@@ -5,7 +5,7 @@
 \\$2 \(la\\$1\(ra\\$3
 ..
 .if \n(.g .mso www.tmac
-.TH nslcd.conf 5 "Feb 2018" "Version 0.9.9" "System Manager's Manual"
+.TH nslcd.conf 5 "Sep 2018" "Version 0.9.10" "System Manager's Manual"
 .SH NAME
 nslcd.conf \- configuration file for LDAP nameservice daemon
 .SH DESCRIPTION
@@ -464,6 +464,7 @@
 \*(T<$ruser\*(T>, \*(T<$rhost\*(T>,
 \*(T<$tty\*(T>, \*(T<$hostname\*(T>,
 \*(T<$fqdn\*(T>, 
+\*(T<$domain\*(T>, 
 \*(T<$dn\*(T>, and \*(T<$uid\*(T>.
 These references are substituted in the search filter using the
 same syntax as described in the section on attribute mapping
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/man/nslcd.conf.5.xml 
new/nss-pam-ldapd-0.9.10/man/nslcd.conf.5.xml
--- old/nss-pam-ldapd-0.9.9/man/nslcd.conf.5.xml        2018-02-18 
20:48:56.000000000 +0100
+++ new/nss-pam-ldapd-0.9.10/man/nslcd.conf.5.xml       2018-09-01 
12:27:20.000000000 +0200
@@ -36,9 +36,9 @@
  <refmeta>
   <refentrytitle>nslcd.conf</refentrytitle>
   <manvolnum>5</manvolnum>
-  <refmiscinfo class="version">Version 0.9.9</refmiscinfo>
+  <refmiscinfo class="version">Version 0.9.10</refmiscinfo>
   <refmiscinfo class="manual">System Manager's Manual</refmiscinfo>
-  <refmiscinfo class="date">Feb 2018</refmiscinfo>
+  <refmiscinfo class="date">Sep 2018</refmiscinfo>
  </refmeta>
 
  <refnamediv id="name">
@@ -900,6 +900,7 @@
          <literal>$ruser</literal>, <literal>$rhost</literal>,
          <literal>$tty</literal>, <literal>$hostname</literal>,
          <literal>$fqdn</literal>, <!-- since 0.8.1 -->
+         <literal>$domain</literal>, <!-- since 0.9.10 -->
          <literal>$dn</literal>, and <literal>$uid</literal>.
        These references are substituted in the search filter using the
        same syntax as described in the section on attribute mapping
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/man/pam_ldap.8 new/nss-pam-ldapd-0.9.10/man/pam_ldap.8
--- old/nss-pam-ldapd-0.9.9/man/pam_ldap.8      2018-02-18 20:50:30.000000000 
+0100
+++ new/nss-pam-ldapd-0.9.10/man/pam_ldap.8     2018-09-01 12:32:52.000000000 
+0200
@@ -5,7 +5,7 @@
 \\$2 \(la\\$1\(ra\\$3
 ..
 .if \n(.g .mso www.tmac
-.TH pam_ldap 8 "Feb 2018" "Version 0.9.9" "System Manager's Manual"
+.TH pam_ldap 8 "Sep 2018" "Version 0.9.10" "System Manager's Manual"
 .SH NAME
 pam_ldap \- PAM module for LDAP-based authentication
 .SH SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/man/pam_ldap.8.xml 
new/nss-pam-ldapd-0.9.10/man/pam_ldap.8.xml
--- old/nss-pam-ldapd-0.9.9/man/pam_ldap.8.xml  2018-02-18 20:48:56.000000000 
+0100
+++ new/nss-pam-ldapd-0.9.10/man/pam_ldap.8.xml 2018-09-01 12:27:20.000000000 
+0200
@@ -35,9 +35,9 @@
  <refmeta>
   <refentrytitle>pam_ldap</refentrytitle>
   <manvolnum>8</manvolnum>
-  <refmiscinfo class="version">Version 0.9.9</refmiscinfo>
+  <refmiscinfo class="version">Version 0.9.10</refmiscinfo>
   <refmiscinfo class="manual">System Manager's Manual</refmiscinfo>
-  <refmiscinfo class="date">Feb 2018</refmiscinfo>
+  <refmiscinfo class="date">Sep 2018</refmiscinfo>
  </refmeta>
 
  <refnamediv id="name">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/man/pynslcd.8 new/nss-pam-ldapd-0.9.10/man/pynslcd.8
--- old/nss-pam-ldapd-0.9.9/man/pynslcd.8       2018-02-18 20:50:30.000000000 
+0100
+++ new/nss-pam-ldapd-0.9.10/man/pynslcd.8      2018-09-01 12:32:52.000000000 
+0200
@@ -5,7 +5,7 @@
 \\$2 \(la\\$1\(ra\\$3
 ..
 .if \n(.g .mso www.tmac
-.TH pynslcd 8 "Feb 2018" "Version 0.9.9" "System Manager's Manual"
+.TH pynslcd 8 "Sep 2018" "Version 0.9.10" "System Manager's Manual"
 .SH NAME
 pynslcd \- local LDAP name service daemon
 .SH SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/man/pynslcd.8.xml 
new/nss-pam-ldapd-0.9.10/man/pynslcd.8.xml
--- old/nss-pam-ldapd-0.9.9/man/pynslcd.8.xml   2018-02-18 20:48:56.000000000 
+0100
+++ new/nss-pam-ldapd-0.9.10/man/pynslcd.8.xml  2018-09-01 12:27:20.000000000 
+0200
@@ -35,9 +35,9 @@
  <refmeta>
   <refentrytitle>pynslcd</refentrytitle>
   <manvolnum>8</manvolnum>
-  <refmiscinfo class="version">Version 0.9.9</refmiscinfo>
+  <refmiscinfo class="version">Version 0.9.10</refmiscinfo>
   <refmiscinfo class="manual">System Manager's Manual</refmiscinfo>
-  <refmiscinfo class="date">Feb 2018</refmiscinfo>
+  <refmiscinfo class="date">Sep 2018</refmiscinfo>
  </refmeta>
 
  <refnamediv id="name">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/missing new/nss-pam-ldapd-0.9.10/missing
--- old/nss-pam-ldapd-0.9.9/missing     2018-02-18 18:25:28.000000000 +0100
+++ new/nss-pam-ldapd-0.9.10/missing    2018-09-01 12:32:36.000000000 +0200
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Common wrapper for a few potentially missing GNU programs.
 
-scriptversion=2013-10-28.13; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# Copyright (C) 1996-2018 Free Software Foundation, Inc.
 # Originally written by Fran,cois Pinard <[email protected]>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
 # GNU General Public License for more details.
 
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -101,9 +101,9 @@
   exit $st
 fi
 
-perl_URL=http://www.perl.org/
-flex_URL=http://flex.sourceforge.net/
-gnu_software_URL=http://www.gnu.org/software
+perl_URL=https://www.perl.org/
+flex_URL=https://github.com/westes/flex
+gnu_software_URL=https://www.gnu.org/software
 
 program_details ()
 {
@@ -207,9 +207,9 @@
 exit $st
 
 # Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/nslcd/cfg.c new/nss-pam-ldapd-0.9.10/nslcd/cfg.c
--- old/nss-pam-ldapd-0.9.9/nslcd/cfg.c 2018-02-17 14:03:28.000000000 +0100
+++ new/nss-pam-ldapd-0.9.10/nslcd/cfg.c        2018-09-01 11:09:35.000000000 
+0200
@@ -1012,6 +1012,7 @@
         (strcmp(list[i], "tty") != 0) &&
         (strcmp(list[i], "hostname") != 0) &&
         (strcmp(list[i], "fqdn") != 0) &&
+        (strcmp(list[i], "domain") != 0) &&
         (strcmp(list[i], "dn") != 0) &&
         (strcmp(list[i], "uid") != 0))
     {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/nslcd/log.c new/nss-pam-ldapd-0.9.10/nslcd/log.c
--- old/nss-pam-ldapd-0.9.9/nslcd/log.c 2016-07-27 16:31:19.000000000 +0200
+++ new/nss-pam-ldapd-0.9.10/nslcd/log.c        2018-09-01 11:09:35.000000000 
+0200
@@ -230,7 +230,7 @@
 {
   int res;
   struct log_cfg *lst;
-  char buffer[200];
+  char buffer[512];
   va_list ap;
 #ifndef TLS
   char *sessionid, *requestid;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/nslcd/myldap.c new/nss-pam-ldapd-0.9.10/nslcd/myldap.c
--- old/nss-pam-ldapd-0.9.9/nslcd/myldap.c      2017-06-20 22:47:52.000000000 
+0200
+++ new/nss-pam-ldapd-0.9.10/nslcd/myldap.c     2018-09-01 11:09:35.000000000 
+0200
@@ -435,36 +435,36 @@
   }
   if (days > 1)
     mysnprintf(session->policy_message, sizeof(session->policy_message),
-               "Password will expires in %u days", days);
+               "Password will expire in %u days", days);
   else if (days > 0)
     mysnprintf(session->policy_message, sizeof(session->policy_message),
-               "Password will expires in %u hours", hours + 24);
+               "Password will expire in %u hours", hours + 24);
   else if (hours > 1)
   {
     if (minutes > 1)
       mysnprintf(session->policy_message, sizeof(session->policy_message),
-                 "Password will expires in %u hours and %u minutes",
+                 "Password will expire in %u hours and %u minutes",
                  hours, minutes);
     else
       mysnprintf(session->policy_message, sizeof(session->policy_message),
-                 "Password will expires in %u hours", hours);
+                 "Password will expire in %u hours", hours);
   }
   else if (hours > 0)
     mysnprintf(session->policy_message, sizeof(session->policy_message),
-               "Password will expires in %u minutes", minutes + 60);
+               "Password will expire in %u minutes", minutes + 60);
   else if (minutes > 1)
   {
     if (sec > 1)
       mysnprintf(session->policy_message, sizeof(session->policy_message),
-                 "Password will expires in %u minutes and %u seconds",
+                 "Password will expire in %u minutes and %u seconds",
                  minutes, sec);
     else
       mysnprintf(session->policy_message, sizeof(session->policy_message),
-                 "Password will expires in %u minutes", minutes);
+                 "Password will expire in %u minutes", minutes);
   }
   else
     mysnprintf(session->policy_message, sizeof(session->policy_message),
-               "Password will expires in %u seconds", sec);
+               "Password will expire in %u seconds", sec);
 }
 
 static void handle_ppolicy_controls(MYLDAP_SESSION *session, LDAP *ld, 
LDAPControl **ctrls)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/nslcd/nslcd.c new/nss-pam-ldapd-0.9.10/nslcd/nslcd.c
--- old/nss-pam-ldapd-0.9.9/nslcd/nslcd.c       2017-06-26 13:02:15.000000000 
+0200
+++ new/nss-pam-ldapd-0.9.10/nslcd/nslcd.c      2018-09-01 11:09:35.000000000 
+0200
@@ -2,7 +2,7 @@
    nslcd.c - ldap local connection daemon
 
    Copyright (C) 2006 West Consulting
-   Copyright (C) 2006-2017 Arthur de Jong
+   Copyright (C) 2006-2018 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
@@ -769,8 +769,6 @@
     exit(EXIT_FAILURE);
   }
   adjust_oom_score();
-  /* create socket */
-  nslcd_serversocket = create_socket(NSLCD_SOCKET);
   /* start subprocess to do invalidating if reconnect_invalidate is set */
   for (i = 0; i < LM_NONE; i++)
     if (nslcd_cfg->reconnect_invalidate[i])
@@ -825,6 +823,8 @@
     }
     log_log(LOG_DEBUG, "setuid(%lu) done", (unsigned long int)nslcd_cfg->uid);
   }
+  /* create socket */
+  nslcd_serversocket = create_socket(NSLCD_SOCKET);
   /* start worker threads */
   log_log(LOG_INFO, "accepting connections");
   nslcd_threads = (pthread_t *)malloc(nslcd_cfg->threads * sizeof(pthread_t));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/nslcd/pam.c new/nss-pam-ldapd-0.9.10/nslcd/pam.c
--- old/nss-pam-ldapd-0.9.9/nslcd/pam.c 2017-06-18 20:45:54.000000000 +0200
+++ new/nss-pam-ldapd-0.9.10/nslcd/pam.c        2018-09-01 11:09:35.000000000 
+0200
@@ -2,7 +2,7 @@
    pam.c - pam processing routines
 
    Copyright (C) 2009 Howard Chu
-   Copyright (C) 2009-2017 Arthur de Jong
+   Copyright (C) 2009-2018 Arthur de Jong
    Copyright (C) 2015 Nokia Solutions and Networks
 
    This library is free software; you can redistribute it and/or
@@ -71,7 +71,7 @@
   char hostname[BUFLEN_HOSTNAME];
   /* allocating this on the stack is OK because search_var_add()
      will allocate new memory for the value */
-  const char *fqdn;
+  const char *fqdn, *found;
   DICT *dict;
   dict = dict_new();
   if (dict == NULL)
@@ -89,7 +89,11 @@
   if (gethostname(hostname, sizeof(hostname)) == 0)
     search_var_add(dict, "hostname", hostname);
   if ((fqdn = getfqdn()) != NULL)
+  {
     search_var_add(dict, "fqdn", fqdn);
+    if (((found = strchr(fqdn, '.'))) != NULL && (found[1] != '\0'))
+      search_var_add(dict, "domain", found + 1);
+  }
   search_var_add(dict, "dn", dn);
   search_var_add(dict, "uid", username);
   return dict;
@@ -325,7 +329,7 @@
   if ((expiredate != -1) && (today >= expiredate))
   {
     daysleft = today - expiredate;
-    mysnprintf(authzmsg, authzmsgsz - 1, "account expired %ld days ago",
+    mysnprintf(authzmsg, authzmsgsz - 1, "Account expired %ld days ago",
                daysleft);
     log_log(LOG_WARNING, "%s: %s: %s",
             myldap_get_dn(entry), attmap_shadow_shadowExpire, authzmsg);
@@ -339,7 +343,7 @@
     /* check lastchanged */
     if (lastchangedate == 0)
     {
-      mysnprintf(authzmsg, authzmsgsz - 1, "need a new password");
+      mysnprintf(authzmsg, authzmsgsz - 1, "Need a new password");
       log_log(LOG_WARNING, "%s: %s: %s",
               myldap_get_dn(entry), attmap_shadow_shadowLastChange, authzmsg);
       return NSLCD_PAM_NEW_AUTHTOK_REQD;
@@ -352,9 +356,9 @@
       /* check maxdays */
       daysleft = lastchangedate + maxdays - today;
       if (daysleft == 0)
-        mysnprintf(authzmsg, authzmsgsz - 1, "password will expire today");
+        mysnprintf(authzmsg, authzmsgsz - 1, "Password will expire today");
       else if (daysleft < 0)
-        mysnprintf(authzmsg, authzmsgsz - 1, "password expired %ld days ago",
+        mysnprintf(authzmsg, authzmsgsz - 1, "Password expired %ld days ago",
                    -daysleft);
       /* check inactdays */
       if ((daysleft <= 0) && (inactdays != -1))
@@ -386,7 +390,7 @@
       if ((warndays > 0) && (daysleft <= warndays))
       {
         mysnprintf(authzmsg, authzmsgsz - 1,
-                   "password will expire in %ld days", daysleft);
+                   "Password will expire in %ld days", daysleft);
         log_log(LOG_WARNING, "%s: %s: %s",
                 myldap_get_dn(entry), attmap_shadow_shadowWarning, authzmsg);
       }
@@ -398,7 +402,7 @@
     if ((mindays != -1) && (daysleft > 0))
     {
       mysnprintf(authzmsg, authzmsgsz - 1,
-                 "password cannot be changed for another %ld days", daysleft);
+                 "Password cannot be changed for another %ld days", daysleft);
       log_log(LOG_WARNING, "%s: %s: %s",
               myldap_get_dn(entry), attmap_shadow_shadowMin, authzmsg);
       return NSLCD_PAM_AUTHTOK_ERR;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/nss/bsdnss.c new/nss-pam-ldapd-0.9.10/nss/bsdnss.c
--- old/nss-pam-ldapd-0.9.9/nss/bsdnss.c        2017-06-18 20:45:54.000000000 
+0200
+++ new/nss-pam-ldapd-0.9.10/nss/bsdnss.c       2018-09-01 11:09:35.000000000 
+0200
@@ -27,6 +27,7 @@
 
 #include "config.h"
 
+#include <string.h>
 #include <errno.h>
 #include <sys/param.h>
 #include <netinet/in.h>
@@ -37,6 +38,11 @@
 
 #define BUFFER_SIZE 1024
 
+struct name_list {
+  struct name_list *next;
+  char *name;
+};
+
 NSS_METHOD_PROTOTYPE(__nss_compat_getgrnam_r);
 NSS_METHOD_PROTOTYPE(__nss_compat_getgrgid_r);
 NSS_METHOD_PROTOTYPE(__nss_compat_getgrent_r);
@@ -54,6 +60,10 @@
 NSS_METHOD_PROTOTYPE(__nss_compat_gethostbyname2);
 NSS_METHOD_PROTOTYPE(__nss_compat_gethostbyaddr);
 
+NSS_METHOD_PROTOTYPE(__nss_compat_getnetgrent_r);
+NSS_METHOD_PROTOTYPE(__nss_compat_setnetgrent);
+NSS_METHOD_PROTOTYPE(__nss_compat_endnetgrent);
+
 static ns_mtab methods[] = {
   { NSDB_GROUP, "getgrnam_r", __nss_compat_getgrnam_r, (void 
*)NSS_NAME(getgrnam_r) },
   { NSDB_GROUP, "getgrgid_r", __nss_compat_getgrgid_r, (void 
*)NSS_NAME(getgrgid_r) },
@@ -83,6 +93,10 @@
   { NSDB_PASSWD_COMPAT, "getpwent_r", __nss_compat_getpwent_r, (void 
*)NSS_NAME(getpwent_r) },
   { NSDB_PASSWD_COMPAT, "setpwent",   __nss_compat_setpwent,   (void 
*)NSS_NAME(setpwent) },
   { NSDB_PASSWD_COMPAT, "endpwent",   __nss_compat_endpwent,   (void 
*)NSS_NAME(endpwent) },
+
+  { NSDB_NETGROUP, "getnetgrent_r", __nss_compat_getnetgrent_r, (void 
*)NSS_NAME(getnetgrent_r) },
+  { NSDB_NETGROUP, "setnetgrent", __nss_compat_setnetgrent, (void 
*)NSS_NAME(setnetgrent) },
+  { NSDB_NETGROUP, "endnetgrent", __nss_compat_endnetgrent, (void 
*)NSS_NAME(endnetgrent) },
 };
 
 typedef nss_status_t (*gethbn_t)(const char *, struct hostent *, char *, 
size_t, int *, int *);
@@ -210,3 +224,95 @@
   *unreg = NULL;
   return methods;
 }
+
+static void *_netgr_result;
+
+int __nss_compat_getnetgrent_r(void UNUSED(*retval), void *mdata, va_list ap)
+{
+  nss_status_t (*fn)(struct __netgrent *, char *, size_t, int *);
+  char **hostp, **userp, **domp;
+  char *buffer;
+  size_t bufsize;
+  enum nss_status rv;
+  int *errorp;
+  int ret;
+  struct name_list *netlist;
+  struct __netgrent *netgr;
+
+  fn = (nss_status_t (*)(struct __netgrent *, char *, size_t, int *))mdata;
+  hostp = va_arg(ap, char **);
+  userp = va_arg(ap, char **);
+  domp = va_arg(ap, char **);
+  buffer = va_arg(ap, char *);
+  bufsize = va_arg(ap, size_t);
+  errorp = va_arg(ap, int *);
+
+  do {
+    *errorp = 0;
+    rv = fn(_netgr_result, buffer, bufsize,
+        errorp);
+
+    ret = __nss_compat_result(rv, *errorp);
+    netgr = (struct __netgrent *)_netgr_result;
+
+    switch (ret){
+      case NS_SUCCESS:
+        if (netgr->type == group_val){
+          netlist = (struct name_list *)malloc(sizeof(struct name_list));
+          netlist->next = netgr->needed_groups;
+          netlist->name = strdup(netgr->val.group);
+          netgr->needed_groups = netlist;
+          ret = NS_TRYAGAIN;
+        }else{
+          *hostp = (char *)netgr->val.triple.host;
+          *userp = (char *)netgr->val.triple.user;
+          *domp = (char *)netgr->val.triple.domain;
+          return (NS_SUCCESS);
+        }
+        break;
+      case NS_RETURN:
+        netlist = netgr->needed_groups;
+        if(netlist != NULL){
+          NSS_NAME(setnetgrent)(netlist->name, netgr);
+          netgr->needed_groups = netlist->next;
+          free(netlist->name);
+          free(netlist);
+          ret = NS_TRYAGAIN;
+        }
+        break;
+      default:
+        ;
+    }
+  } while (ret == NS_TRYAGAIN);
+
+  return ret;
+}
+
+int __nss_compat_setnetgrent(void UNUSED(*retval), void *mdata, va_list ap)
+{
+  nss_status_t (*fn)(const char *, struct __netgrent *);
+  const char *netgroup;
+
+  fn = (nss_status_t (*)(const char *, struct __netgrent *))mdata;
+  netgroup = va_arg(ap, const char *);
+
+  if (_netgr_result != NULL)
+    free(_netgr_result);
+  _netgr_result = calloc(1, sizeof(struct __netgrent));
+  if (_netgr_result == NULL)
+    return (NS_TRYAGAIN);
+
+  return (fn(netgroup, _netgr_result));
+}
+
+int __nss_compat_endnetgrent(void UNUSED(*retval), void *mdata, va_list 
UNUSED(ap))
+{
+  nss_status_t (*fn)(struct __netgrent *);
+  int ret;
+
+  fn = (nss_status_t (*)(struct __netgrent *))mdata;
+  ret = fn(_netgr_result);
+  free(_netgr_result);
+  _netgr_result = NULL;
+  return (ret);
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/py-compile new/nss-pam-ldapd-0.9.10/py-compile
--- old/nss-pam-ldapd-0.9.9/py-compile  2018-02-18 18:25:29.000000000 +0100
+++ new/nss-pam-ldapd-0.9.10/py-compile 2018-09-01 12:32:37.000000000 +0200
@@ -1,9 +1,9 @@
 #!/bin/sh
 # py-compile - Compile a Python program
 
-scriptversion=2016-01-11.22; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 2000-2017 Free Software Foundation, Inc.
+# Copyright (C) 2000-2018 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
 # GNU General Public License for more details.
 
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -162,7 +162,7 @@
 # Local Variables:
 # mode: shell-script
 # sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
 # time-stamp-time-zone: "UTC0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/test-driver new/nss-pam-ldapd-0.9.10/test-driver
--- old/nss-pam-ldapd-0.9.9/test-driver 2018-02-18 18:25:29.000000000 +0100
+++ new/nss-pam-ldapd-0.9.10/test-driver        2018-09-01 12:32:37.000000000 
+0200
@@ -1,9 +1,9 @@
 #! /bin/sh
 # test-driver - basic testsuite driver script.
 
-scriptversion=2013-07-13.22; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 2011-2014 Free Software Foundation, Inc.
+# Copyright (C) 2011-2018 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -140,9 +140,9 @@
 # Local Variables:
 # mode: shell-script
 # sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nss-pam-ldapd-0.9.9/tests/testenv.sh 
new/nss-pam-ldapd-0.9.10/tests/testenv.sh
--- old/nss-pam-ldapd-0.9.9/tests/testenv.sh    2017-06-18 20:45:54.000000000 
+0200
+++ new/nss-pam-ldapd-0.9.10/tests/testenv.sh   2018-09-01 11:09:35.000000000 
+0200
@@ -2,7 +2,7 @@
 
 # testenv.sh - script to check test environment
 #
-# Copyright (C) 2011-2017 Arthur de Jong
+# Copyright (C) 2011-2018 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
@@ -54,7 +54,7 @@
 
 # check to see if name is configured to do lookups through
 # LDAP and enable if not
-nss_enable()
+enable_nss()
 {
   name="$1"
   if nss_is_enabled "$name"
@@ -77,6 +77,13 @@
   return 0
 }
 
+# put a PAM stack in place that enables lookups through LDAP
+# (this is currently hard-coded to only support Debian-based systems)
+enable_pam() {
+  cp "$srcdir"/debian-pam-config /usr/share/pam-configs/ldap
+  pam-auth-update --enable --force ldap
+}
+
 # check nsswitch.conf to see if dbs use ldap
 check_nsswitch() {
   required="${1:-passwd group}"
@@ -170,16 +177,20 @@
 }
 
 case "$1" in
-  nss_enable)
+  enable_nss|nss_enable)
     # modify /etc/nsswitch.conf to enable ldap for db
     shift
     while [ $# -gt 0 ]
     do
-      nss_enable "$1"
+      enable_nss "$1"
       shift
     done
     exit 0
     ;;
+  enable_pam)
+    enable_pam
+    exit 0
+    ;;
   check)
     # perform all tests for test environment
     res=0
@@ -214,7 +225,7 @@
     exit $res
     ;;
   *)
-    echo "Usage: $0 {nss_enable|check|check_nss|check_ldap}" >&2
+    echo "Usage: $0 {enable_nss|enable_pam|check|check_nss|check_ldap}" >&2
     exit 1
     ;;
 esac


Reply via email to