search for: gid_list

Displaying 3 results from an estimated 3 matches for "gid_list".

Did you mean: id_list
2004 Oct 07
2
Samba with winbindd AD Group access limit problem
I'm running Samba 3.0.2 on Solaris using winbindd to allow me to security tailor access to subdirectories on a Samba share. We assign the subdirectories within a Samba share to an Active Directory group name. This generally works fine but I am having user access issues from the Win2K / Win XP workstations that have mapped the share. The problem seems to be related to the number of groups /
2018 Aug 10
1
dying on osx
...number of groups when it starts up. I've hacked a work around to get it working for me on my laptop: diff --git a/src/lib/restrict-access.c b/src/lib/restrict-access.c @@ -224,7 +224,12 @@ static void fix_groups_list(const struct restrict_access_settings *set, -??? if (setgroups(gid_count, gid_list) < 0) { +??? if (setgroups(gid_count > NGROUPS_MAX ? 16 : gid_count, gid_list) < 0) { ???? ??? if (errno == EINVAL) { ???? ??? ??? i_fatal("setgroups(%s) failed: Too many extra groups", ???? ??? ??? ??? set->extra_groups == NULL ? "" : and this works. I'm...
2015 Jan 06
2
[Bug 11035] New: make check failure
...NFIG_H -Wall -W -c uidlist.c -o uidlist.o uidlist.c:533:44: warning: passing 'gid_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] if (getgrouplist(pw->pw_name, pw->pw_gid, gid_list, size_ptr) < 0) ^~~~~~~~ /usr/include/unistd.h:648:43: note: passing argument to parameter here int getgrouplist(const char *, int, int *, int *); ^ 1 warning generated. -- gcc -I. -I. -I./zlib -...