Samba's configure.in has a check for broken NIS+ includes. However, the test itself is broken, because this test forgets to include sys/types.h before sys/acl.h. It therefor erroneously thinks FreeBSD(5.2)'s NIS+ includes are broken as well, which is not the case. After adding a #include <sys/types.h>, everything is fine again... (like everywhere else in configure.in where sys/acl.h is used) PS: I couldn't select Version 3.0.2 in bugzilla, it stops at 3.0.1 --- ../orig/samba-3.0.2rc1/source/configure.in Fri Jan 16 18:47:52 2004 +++ configure.in Sun Feb 1 15:07:04 2004 @@ -2208,7 +2208,8 @@ esac AC_CACHE_CHECK([for broken nisplus include files],samba_cv_BROKEN_NISPLUS_INCLUDE_FILES,[ -AC_TRY_COMPILE([#include <sys/acl.h> +AC_TRY_COMPILE([#include <sys/types.h> +#include <sys/acl.h> #if defined(HAVE_RPCSVC_NIS_H) #include <rpcsvc/nis.h> #endif],
Checked in - thanks! I've also added 3.0.2rc1 to the list of versions for Samba 3.0
i generally don't add versions for non stable releases as this list would get too long IMO.
or at least I quit once 3.0.0 was released. Renamed 3.0.2rc1 to 3.0.2
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
database cleanup