From c507ebe56741d773bf6e7ad547863a2da1aee687 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 10 May 2003 10:53:48 +0000 Subject: 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) --- source3/client/client.c | 2 ++ source3/client/smbmount.c | 2 ++ source3/client/smbspool.c | 2 ++ 3 files changed, 6 insertions(+) (limited to 'source3/client') diff --git a/source3/client/client.c b/source3/client/client.c index 36c76cbf15..c8d2ca7b04 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -28,6 +28,8 @@ #define REGISTER 0 #endif +#include "module_dummy.h" + struct cli_state *cli; extern BOOL in_client; static int port = 0; diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c index 1ee7dbc8cb..eeaec64204 100644 --- a/source3/client/smbmount.c +++ b/source3/client/smbmount.c @@ -22,6 +22,8 @@ #include "includes.h" +#include "module_dummy.h" + #include #include #include diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index 68165792da..eef663ebfd 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -24,6 +24,8 @@ #include "includes.h" +#include "module_dummy.h" + /* * Globals... */ -- cgit