﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
51	Do not change current user when SWAT is running as apache cgi	Yuri Dario	Paul Smedley	"it is not necessary to change current user when swat runs as cgi application with apache 2.x


{{{
Index: cgi.c
===================================================================
--- cgi.c	(revision 106)
+++ cgi.c	(working copy)
@@ -309,6 +309,7 @@
 		exit(0);
 	}
 
+#ifndef __EMX__
 	pwd = getpwnam_alloc(NULL, user);
 	if (!pwd) {
 		printf(""%sCannot find user %s<br>%s\n"", head, user, tail);
@@ -323,6 +324,7 @@
 		exit(0);
 	}
 	TALLOC_FREE(pwd);
+#endif // __EMX__
 }
 
}}}

Also samba-3.0/swat/* must be included in distribution.
"	defect	closed	minor	Samba Server for eCS (OS/2) 1.0.1	Samba Server	3.0.28	fixed	swat	
