mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
r5127: Fix Bug 2289 -- thanks to jason@ncac.gwu.edu
(This used to be commit 8c35c3bf2ed65d2b93feb0f419e1c7785fba7764)
This commit is contained in:
parent
c23c9bfd67
commit
3924332071
@ -111,13 +111,12 @@ static int getgrouplist_internals(const char *user, gid_t gid, gid_t *groups, in
|
||||
|
||||
static int sys_getgrouplist(const char *user, gid_t gid, gid_t *groups, int *grpcnt)
|
||||
{
|
||||
char *p;
|
||||
int retval;
|
||||
|
||||
DEBUG(10,("sys_getgrouplist: user [%s]\n", user));
|
||||
|
||||
/* see if we should disable winbindd lookups for local users */
|
||||
if ( (p = strchr(user, *lp_winbind_separator())) == NULL ) {
|
||||
if (strchr(user, *lp_winbind_separator()) == NULL) {
|
||||
if ( !winbind_off() )
|
||||
DEBUG(0,("sys_getgroup_list: Insufficient environment space for %s\n",
|
||||
WINBINDD_DONT_ENV));
|
||||
|
Loading…
x
Reference in New Issue
Block a user