[SCM] NSS Wrapper Repository - branch master updated

Andreas Schneider asn at samba.org
Wed Dec 18 01:43:00 MST 2013


The branch, master has been updated
       via  42c96a9 nwrap: Only compile nwrap_getgrouplist if supported.
      from  bb76afd nwrap: Fix loading posix functions on Solaris.

http://gitweb.samba.org/?p=nss_wrapper.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 42c96a9393db2ee0ffe9d7a8671f303bc55b473d
Author: Andreas Schneider <asn at samba.org>
Date:   Wed Dec 18 09:42:17 2013 +0100

    nwrap: Only compile nwrap_getgrouplist if supported.

-----------------------------------------------------------------------

Summary of changes:
 src/nss_wrapper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/src/nss_wrapper.c b/src/nss_wrapper.c
index e412299..7083dcd 100644
--- a/src/nss_wrapper.c
+++ b/src/nss_wrapper.c
@@ -3481,6 +3481,7 @@ void endgrent(void)
  *   GETGROUPLIST
  ***************************************************************************/
 
+#ifdef HAVE_GETGROUPLIST
 static int nwrap_getgrouplist(const char *user, gid_t group,
 			      gid_t *groups, int *ngroups)
 {
@@ -3556,7 +3557,6 @@ static int nwrap_getgrouplist(const char *user, gid_t group,
 	return count;
 }
 
-#ifdef HAVE_GETGROUPLIST
 int getgrouplist(const char *user, gid_t group, gid_t *groups, int *ngroups)
 {
 	if (!nwrap_enabled()) {


-- 
NSS Wrapper Repository


More information about the samba-cvs mailing list