diff options
Diffstat (limited to 'source3/lib/util_sec.c')
-rw-r--r-- | source3/lib/util_sec.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/lib/util_sec.c b/source3/lib/util_sec.c index 5b8bdb44c1b..985b07f421d 100644 --- a/source3/lib/util_sec.c +++ b/source3/lib/util_sec.c @@ -59,6 +59,14 @@ void sec_init(void) } /**************************************************************************** +some code (eg. winbindd) needs to know what uid we started as +****************************************************************************/ +uid_t sec_initial_uid(void) +{ + return initial_uid; +} + +/**************************************************************************** are we running in non-root mode? ****************************************************************************/ BOOL non_root_mode(void) |