Proposed patches for samba4

Green, Paul Paul.Green at stratus.com
Mon May 1 13:44:29 GMT 2006


I've put samba4 into the build job on my VOS PA-RISC box to see how far
I can get.  Not very far.  Jelmer just noticed the first problem, that
one of the heimdal static archives had a name longer than 32 chars, and
fixed it (many thanks!).

Here are a couple of other patches.  I think they should be safe for
everyone, but I haven't applied them to the svn yet.    If someone would
ok then, I'll do that.

diff -urpN old/samba4/source/include/includes.h
new/samba4/source/include/includes.h
--- old/samba4/source/include/includes.h     Mon May  1 09:22:37 2006
+++ new/samba4/source/include/includes.h     Mon May  1 09:34:49 2006
@@ -89,6 +89,10 @@ _PUBLIC_ void smb_panic(const char *why)
 #include <varargs.h>
 #endif

+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
+
 #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
 #include "lib/replace/replace.h"

diff -urpN old/samba4/source/lib/replace/replace.c
new/samba4/source/lib/replace/replace.c
--- old/samba4/source/lib/replace/replace.c  Sun Apr 30 17:09:07 2006
+++ new/samba4/source/lib/replace/replace.c  Mon May  1 07:11:53 2006
@@ -200,6 +200,9 @@ Corrections by richard.kettlewell at kewill
     errno = ENOSYS;
     return -1;
 #else /* HAVE_SETGROUPS */
+
+#include <grp.h>
+
     gid_t *grouplst = NULL;
     int max_gr = groups_max();
     int ret;



Thanks
PG
--
Paul Green, Senior Technical Consultant
Stratus Technologies, Inc.
111 Powdermill Rd, Maynard, MA 01754
Tel +1-978-461-7557, Fax +1-978-461-3610
 



More information about the samba-technical mailing list