git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c205bc
)
r5127: Fix Bug 2289 -- thanks to jason@ncac.gwu.edu
author
Volker Lendecke
<vlendec@samba.org>
Mon, 31 Jan 2005 09:27:12 +0000
(09:27 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:55:28 +0000
(10:55 -0500)
source/lib/system_smbd.c
patch
|
blob
|
history
diff --git
a/source/lib/system_smbd.c
b/source/lib/system_smbd.c
index eed607ee8fbde0915d0a9c5b44476b8d45e0a642..c83eecf17330eb767dae3bcc88811f09a2249f9c 100644
(file)
--- a/
source/lib/system_smbd.c
+++ b/
source/lib/system_smbd.c
@@
-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));