summaryrefslogtreecommitdiff
path: root/nsswitch/winbind_nss_solaris.h
diff options
context:
space:
mode:
authorSATOH Fumiyasu <fumiyas@osstech.jp>2008-12-16 16:59:07 +0100
committerVolker Lendecke <vl@samba.org>2008-12-16 17:04:02 +0100
commit9cf2c45aa7e3880909277ac5c083675adf48cfb3 (patch)
treeafe418663d5e567a8980c5793d1197174232a131 /nsswitch/winbind_nss_solaris.h
parentb09d2edf26f1713e015920dddaacc6212f1f779a (diff)
downloadsamba-9cf2c45aa7e3880909277ac5c083675adf48cfb3.tar.gz
nss_winbind: Solaris 64-bit fix and...
PATCH 1: Fix gmem->numgids and gmem->maxgids breakage on Solaris 64-bit because sizeof(int) != sizeof(long int). PATCH 2: This patch fixes a compile-time warning "warning: implicit function declaration: _nss_winbind_initgroups_dyn". (cherry picked from commit cb036772d09227f870c2fec3ecd8c3f53787dfbc)
Diffstat (limited to 'nsswitch/winbind_nss_solaris.h')
-rw-r--r--nsswitch/winbind_nss_solaris.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nsswitch/winbind_nss_solaris.h b/nsswitch/winbind_nss_solaris.h
index c6cadefc38a..f805542f753 100644
--- a/nsswitch/winbind_nss_solaris.h
+++ b/nsswitch/winbind_nss_solaris.h
@@ -81,5 +81,8 @@ NSS_STATUS _nss_winbind_getgrnam_r(const char *name,
NSS_STATUS _nss_winbind_getgrgid_r(gid_t gid,
struct group *result, char *buffer,
size_t buflen, int *errnop);
+NSS_STATUS _nss_winbind_initgroups_dyn(char *user, gid_t group, long int *start,
+ long int *size, gid_t **groups,
+ long int limit, int *errnop);
#endif /* _WINBIND_NSS_SOLARIS_H */