--- samba/source/lib/util_sec.c.orig Thu Dec 18 15:12:42 2003 +++ samba/source/lib/util_sec.c Fri Dec 19 08:31:12 2003 @@ -43,6 +43,20 @@ #define BOOL int #endif +#ifdef USE_SETRESUID +#undef USE_SETRESUID +#endif + +#ifdef USE_SETREUID +#undef USE_SETREUID +#endif + +#ifdef USE_SETUIDX +#undef USE_SETUIDX +#endif + +#define USE_SETEUID 1 + /* are we running as non-root? This is used by the regresison test code, and potentially also for sites that want non-root smbd */ static uid_t initial_uid;