summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-07-09 03:32:07 +0000
committerGerald Carter <jerry@samba.org>2003-07-09 03:32:07 +0000
commit816724fb39ba1d13f553704b2deaa3e8e716c5ab (patch)
tree53100d32b05fad28b7f36f3d44dc0c7225e93a08
parenta0d46643357c08e576a47394d2a25ba34ed49086 (diff)
downloadsamba-816724fb39ba1d13f553704b2deaa3e8e716c5ab.tar.gz
samba-816724fb39ba1d13f553704b2deaa3e8e716c5ab.tar.bz2
samba-816724fb39ba1d13f553704b2deaa3e8e716c5ab.zip
more compile fixes for become/unbecome_root()
(This used to be commit f005f1cf12b839f3985ab00315da63c584ce803e)
-rw-r--r--source3/rpcclient/rpcclient.c15
-rw-r--r--source3/utils/net.c15
-rw-r--r--source3/utils/pdbedit.c15
-rw-r--r--source3/utils/smbpasswd.c15
4 files changed, 60 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index a1b0a8cd34..7c382a9813 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -37,6 +37,21 @@ static struct cmd_list {
struct cmd_set *cmd_set;
} *cmd_list;
+/*****************************************************************************
+ stubb functions
+****************************************************************************/
+
+void become_root( void )
+{
+ return;
+}
+
+void unbecome_root( void )
+{
+ return;
+}
+
+
/****************************************************************************
handle completion of commands for readline
****************************************************************************/
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.
**********************************************************/