summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/smbrun.c12
-rw-r--r--source4/lib/talloctort.c4
-rw-r--r--source4/lib/util_seaccess.c4
3 files changed, 17 insertions, 3 deletions
diff --git a/source4/lib/smbrun.c b/source4/lib/smbrun.c
index acb836ba7a..78f3d22ea0 100644
--- a/source4/lib/smbrun.c
+++ b/source4/lib/smbrun.c
@@ -20,13 +20,18 @@
#include "includes.h"
-/* need to move this from here!! need some sleep ... */
-struct current_user current_user;
+#if 1
+int smbrun(char *cmd, int *outfd)
+{
+ #warning smbrun() needs a rewrite: struct current_user is gone!
+ DEBUG(0,("smbrun() needs a rewrite: struct current_user is gone!\n"));
+ return -1;
+}
+#else
/****************************************************************************
This is a utility function of smbrun().
****************************************************************************/
-
static int setup_out_fd(void)
{
int fd;
@@ -169,3 +174,4 @@ int smbrun(char *cmd, int *outfd)
exit(82);
return 1;
}
+#endif
diff --git a/source4/lib/talloctort.c b/source4/lib/talloctort.c
index ad5de38581..9c10f4eed8 100644
--- a/source4/lib/talloctort.c
+++ b/source4/lib/talloctort.c
@@ -18,6 +18,10 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#error SAMBA4 clean up
+#error this file should be (re)moved
+#error and all unused stuff should go
+
#include "includes.h"
#define NCTX 10
diff --git a/source4/lib/util_seaccess.c b/source4/lib/util_seaccess.c
index eba8cab7fb..9d56a0d850 100644
--- a/source4/lib/util_seaccess.c
+++ b/source4/lib/util_seaccess.c
@@ -19,6 +19,10 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#error SAMBA4 clean up
+#error this file should be (re)moved
+#error and all unused stuff should go
+
#include "includes.h"
extern DOM_SID global_sid_Builtin;