svn commit: samba r5128 - in trunk/source/lib: .

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


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

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

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


Changeset:
Modified: trunk/source/lib/system_smbd.c
===================================================================
--- trunk/source/lib/system_smbd.c	2005-01-31 09:27:12 UTC (rev 5127)
+++ trunk/source/lib/system_smbd.c	2005-01-31 09:27:53 UTC (rev 5128)
@@ -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