svn commit: samba r5127 - in branches/SAMBA_3_0/source/lib: .

vlendec at samba.org vlendec at samba.org
Mon Jan 31 09:27:12 GMT 2005


Author: vlendec
Date: 2005-01-31 09:27:12 +0000 (Mon, 31 Jan 2005)
New Revision: 5127

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5127

Log:
Fix Bug 2289 -- thanks to jason at ncac.gwu.edu
Modified:
   branches/SAMBA_3_0/source/lib/system_smbd.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/system_smbd.c
===================================================================
--- branches/SAMBA_3_0/source/lib/system_smbd.c	2005-01-31 08:30:44 UTC (rev 5126)
+++ branches/SAMBA_3_0/source/lib/system_smbd.c	2005-01-31 09:27:12 UTC (rev 5127)
@@ -111,13 +111,12 @@
 
 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));



More information about the samba-cvs mailing list