diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-06-25 00:46:34 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-06-25 00:46:34 +0000 |
commit | 8b79a473faf2ff25acb220500158920490c71576 (patch) | |
tree | 746af9446f50f1cc3403a6b10f8adb25291cd660 /source3/smbd/server.c | |
parent | cc6bf9a06f0629f16ab455ad30b6c7b1a76ac0c2 (diff) | |
download | samba-8b79a473faf2ff25acb220500158920490c71576.tar.gz samba-8b79a473faf2ff25acb220500158920490c71576.tar.bz2 samba-8b79a473faf2ff25acb220500158920490c71576.zip |
- make the regresison test mode code build in by default. This should
allow us to have test targets without special configure options
- fixed make proto so that it actually does something
(This used to be commit 55109a752578e9389d853cb27ec17c2114ecff77)
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r-- | source3/smbd/server.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index f4c82839bb..17b7774b1d 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -621,17 +621,7 @@ static void usage(char *pname) setluid(0); #endif - /* - * gain_root_privilege uses an assert than will cause a core - * dump if euid != 0. Ensure this is the case. - */ - -#ifndef SMB_REGRESSION_TEST - if(geteuid() != (uid_t)0) { - fprintf(stderr, "%s: Version %s : Must have effective user id of zero to run.\n", argv[0], VERSION); - exit(1); - } -#endif + sec_init(); append_log = True; |