of getpwuid(0) if DEVELOPER is defined. I'm hoping the
build farm defines DEVELOPER...
Jeremy.
cache_data, struct nt_user_token);
}
+#if defined(DEVELOPER)
+ if ( !(pw = sys_getpwnam("root")) ) {
+ DEBUG(0,("get_root_nt_token: sys_getpwnam(\"root\") failed!\n"));
+ return NULL;
+ }
+#else
if ( !(pw = sys_getpwuid(0)) ) {
DEBUG(0,("get_root_nt_token: sys_getpwuid(0) failed!\n"));
return NULL;
}
+#endif
/* get the user and primary group SIDs; although the
BUILTIN\Administrators SId is really the one that matters here */