summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-05-10 10:56:20 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-05-10 10:56:20 +0000
commitec40d70b3b6f3032c86bfa4a80066572e0f0eaa7 (patch)
treeeebbb52b3b9cefbe6a431f9c1619b0fd8dc69038 /source3/utils
parente2641c592662b42b6b1eb4170d95becff190446d (diff)
downloadsamba-ec40d70b3b6f3032c86bfa4a80066572e0f0eaa7.tar.gz
samba-ec40d70b3b6f3032c86bfa4a80066572e0f0eaa7.tar.bz2
samba-ec40d70b3b6f3032c86bfa4a80066572e0f0eaa7.zip
Patch from metze and me that adds dummy smb_register_*() functions
(This used to be commit 367a5cad1edf6a49783806d5a8b59a62d8856706)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net.c4
-rw-r--r--source3/utils/nmblookup.c2
-rw-r--r--source3/utils/ntlm_auth.c2
-rw-r--r--source3/utils/pdbedit.c3
-rw-r--r--source3/utils/profiles.c2
-rw-r--r--source3/utils/rpccheck.c2
-rw-r--r--source3/utils/smbcacls.c2
-rw-r--r--source3/utils/smbcontrol.c2
-rw-r--r--source3/utils/smbcquotas.c2
-rw-r--r--source3/utils/smbfilter.c2
-rw-r--r--source3/utils/smbpasswd.c3
-rw-r--r--source3/utils/smbtree.c2
-rw-r--r--source3/utils/status.c2
-rw-r--r--source3/utils/testparm.c2
-rw-r--r--source3/utils/testprns.c2
15 files changed, 34 insertions, 0 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index aa245a920a..b2a86bb020 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -40,6 +40,10 @@
#include "includes.h"
#include "../utils/net.h"
+#define HAVE_SMB_REGISTER_PASSDB
+#include "module_dummy.h"
+
+
/***********************************************************************/
/* Beginning of internationalization section. Translatable constants */
/* should be kept in this area and referenced in the rest of the code. */
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c
index d2c5cbc00e..7083961ccb 100644
--- a/source3/utils/nmblookup.c
+++ b/source3/utils/nmblookup.c
@@ -24,6 +24,8 @@
#include "includes.h"
+#include "module_dummy.h"
+
extern BOOL AllowDebugChange;
static BOOL give_flags = False;
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index 42490190f3..b30efac4b7 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -27,6 +27,8 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
+#include "module_dummy.h"
+
#define SQUID_BUFFER_SIZE 2010
enum squid_mode {
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index 13f35e8880..81d0a61287 100644
--- a/source3/utils/pdbedit.c
+++ b/source3/utils/pdbedit.c
@@ -23,6 +23,9 @@
#include "includes.h"
+#define HAVE_SMB_REGISTER_PASSDB
+#include "module_dummy.h"
+
#define BIT_BACKEND 0x00000004
#define BIT_VERBOSE 0x00000008
#define BIT_SPSTYLE 0x00000010
diff --git a/source3/utils/profiles.c b/source3/utils/profiles.c
index afaa83f638..4a6fa59b53 100644
--- a/source3/utils/profiles.c
+++ b/source3/utils/profiles.c
@@ -297,6 +297,8 @@ Hope this helps.... (Although it was "fun" for me to uncover this things,
#include <unistd.h>
#include <sys/mman.h>
+#include "module_dummy.h"
+
typedef unsigned int DWORD;
typedef unsigned short WORD;
diff --git a/source3/utils/rpccheck.c b/source3/utils/rpccheck.c
index ae109f69b6..11a2a9d8ba 100644
--- a/source3/utils/rpccheck.c
+++ b/source3/utils/rpccheck.c
@@ -20,6 +20,8 @@
#include "includes.h"
+#include "module_dummy.h"
+
main()
{
char filter[]="0123456789ABCDEF";
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c
index 9d8a657726..35a9b05dcd 100644
--- a/source3/utils/smbcacls.c
+++ b/source3/utils/smbcacls.c
@@ -24,6 +24,8 @@
#include "includes.h"
+#include "module_dummy.h"
+
static pstring owner_username;
static fstring server;
static int test_args = False;
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 06add6af22..0c68bfc329 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -25,6 +25,8 @@
#include "includes.h"
+#include "module_dummy.h"
+
/* Default timeout value when waiting for replies (in seconds) */
#define DEFAULT_TIMEOUT 10
diff --git a/source3/utils/smbcquotas.c b/source3/utils/smbcquotas.c
index 9c7379ca2a..9ba243a4a5 100644
--- a/source3/utils/smbcquotas.c
+++ b/source3/utils/smbcquotas.c
@@ -24,6 +24,8 @@
#include "includes.h"
+#include "module_dummy.h"
+
static pstring server;
/* numeric is set when the user wants numeric SIDs and ACEs rather
diff --git a/source3/utils/smbfilter.c b/source3/utils/smbfilter.c
index 1a0d639f02..fe5208227d 100644
--- a/source3/utils/smbfilter.c
+++ b/source3/utils/smbfilter.c
@@ -20,6 +20,8 @@
#include "includes.h"
+#include "module_dummy.h"
+
#define SECURITY_MASK 0
#define SECURITY_SET 0
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index 577e467fbd..2070adb3e5 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/utils/smbpasswd.c
@@ -19,6 +19,9 @@
#include "includes.h"
+#define HAVE_SMB_REGISTER_PASSDB
+#include "module_dummy.h"
+
extern BOOL AllowDebugChange;
/*
diff --git a/source3/utils/smbtree.c b/source3/utils/smbtree.c
index cbe1bd448f..bc669b4aa1 100644
--- a/source3/utils/smbtree.c
+++ b/source3/utils/smbtree.c
@@ -22,6 +22,8 @@
#include "includes.h"
+#include "module_dummy.h"
+
static BOOL use_bcast;
/* How low can we go? */
diff --git a/source3/utils/status.c b/source3/utils/status.c
index bbaeecdd6b..fab55baabb 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -35,6 +35,8 @@
#include "includes.h"
+#include "module_dummy.h"
+
static pstring Ucrit_username = ""; /* added by OH */
static pid_t Ucrit_pid[100]; /* Ugly !!! */ /* added by OH */
static int Ucrit_MaxPid=0; /* added by OH */
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index e3d6ce0274..b3e8f8badb 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -34,6 +34,8 @@
#include "includes.h"
+#include "module_dummy.h"
+
extern BOOL AllowDebugChange;
/***********************************************
diff --git a/source3/utils/testprns.c b/source3/utils/testprns.c
index 7e52b86afb..758e2b41dd 100644
--- a/source3/utils/testprns.c
+++ b/source3/utils/testprns.c
@@ -32,6 +32,8 @@
#include "includes.h"
+#include "module_dummy.h"
+
int main(int argc, char *argv[])
{
const char *pszTemp;