more compile fixes for become/unbecome_root()
authorGerald Carter <jerry@samba.org>
Wed, 9 Jul 2003 03:32:07 +0000 (03:32 +0000)
committerGerald Carter <jerry@samba.org>
Wed, 9 Jul 2003 03:32:07 +0000 (03:32 +0000)
source/rpcclient/rpcclient.c
source/utils/net.c
source/utils/pdbedit.c
source/utils/smbpasswd.c

index a1b0a8cd34550d41e035b0e77777487552e0bccd..7c382a9813e46e18f406e302e2b72b676c4c3554 100644 (file)
@@ -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
 ****************************************************************************/
index 25a752179f3b371153c71049f03b105e1e19c755..e643a3d10d7a2b69dca5358dea9e888a5e1299d1 100644 (file)
@@ -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)) {
index 2f57470c4a82e93badf38de909a4fdb0a7102ad8..83f61769e21c120c3b832c0dee6d680b0c393daf 100644 (file)
 #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
  ********************************************************/
index 0b2714cbf8aac5640a72522478e14d1c20bb3b4a..2781e630f5e59512b8189320a29aa76bd558bdfb 100644 (file)
@@ -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.
 **********************************************************/