summaryrefslogtreecommitdiff
path: root/source3/torture/vfstest.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-05-10 10:53:48 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-05-10 10:53:48 +0000
commitc507ebe56741d773bf6e7ad547863a2da1aee687 (patch)
tree916ea67eda6b10be64ad1d78ecadc4da1c344678 /source3/torture/vfstest.c
parent05bc989ae88866951437dbcb88f76642aa8b6051 (diff)
downloadsamba-c507ebe56741d773bf6e7ad547863a2da1aee687.tar.gz
samba-c507ebe56741d773bf6e7ad547863a2da1aee687.tar.bz2
samba-c507ebe56741d773bf6e7ad547863a2da1aee687.zip
Patch from metze and me that adds dummy smb_register_*() functions so
that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
Diffstat (limited to 'source3/torture/vfstest.c')
-rw-r--r--source3/torture/vfstest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c
index 3b28a3c496..d6b84126a0 100644
--- a/source3/torture/vfstest.c
+++ b/source3/torture/vfstest.c
@@ -27,6 +27,12 @@
#include "includes.h"
#include "vfstest.h"
+#define HAVE_SMB_REGISTER_AUTH
+#define HAVE_SMB_REGISTER_PASSDB
+#define HAVE_RPC_PIPE_REGISTER_COMMANDS
+#define HAVE_SMB_REGISTER_VFS
+#include "module_dummy.h"
+
/* List to hold groups of commands */
static struct cmd_list {
struct cmd_list *prev, *next;