diff options
author | Gerald Carter <jerry@samba.org> | 2003-07-09 03:32:07 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-07-09 03:32:07 +0000 |
commit | 816724fb39ba1d13f553704b2deaa3e8e716c5ab (patch) | |
tree | 53100d32b05fad28b7f36f3d44dc0c7225e93a08 /source3/utils | |
parent | a0d46643357c08e576a47394d2a25ba34ed49086 (diff) | |
download | samba-816724fb39ba1d13f553704b2deaa3e8e716c5ab.tar.gz samba-816724fb39ba1d13f553704b2deaa3e8e716c5ab.tar.bz2 samba-816724fb39ba1d13f553704b2deaa3e8e716c5ab.zip |
more compile fixes for become/unbecome_root()
(This used to be commit f005f1cf12b839f3985ab00315da63c584ce803e)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net.c | 15 | ||||
-rw-r--r-- | source3/utils/pdbedit.c | 15 | ||||
-rw-r--r-- | source3/utils/smbpasswd.c | 15 |
3 files changed, 45 insertions, 0 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index 25a752179f..e643a3d10d 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -77,6 +77,21 @@ static int opt_machine_pass = 0; BOOL opt_have_ip = False; struct in_addr opt_dest_ip; +/***************************************************************************** + stubb functions +****************************************************************************/ + +void become_root( void ) +{ + return; +} + +void unbecome_root( void ) +{ + return; +} + + uint32 get_sec_channel_type(const char *param) { if (!(param && *param)) { diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c index 2f57470c4a..83f61769e2 100644 --- a/source3/utils/pdbedit.c +++ b/source3/utils/pdbedit.c @@ -51,6 +51,21 @@ #define MASK_ALWAYS_GOOD 0x0000001F #define MASK_USER_GOOD 0x00401F00 +/***************************************************************************** + stubb functions +****************************************************************************/ + +void become_root( void ) +{ + return; +} + +void unbecome_root( void ) +{ + return; +} + + /********************************************************* Add all currently available users to another db ********************************************************/ diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c index 0b2714cbf8..2781e630f5 100644 --- a/source3/utils/smbpasswd.c +++ b/source3/utils/smbpasswd.c @@ -37,6 +37,21 @@ static const char *remote_machine = NULL; static fstring ldap_secret; +/***************************************************************************** + stubb functions +****************************************************************************/ + +void become_root( void ) +{ + return; +} + +void unbecome_root( void ) +{ + return; +} + + /********************************************************* Print command usage on stderr and die. **********************************************************/ |