summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-06 23:28:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:21 -0500
commitba564a901e519b0f2cf2b7651bd260f618506b5c (patch)
treea898ee789be671abe8ca6039d90a419f3fe39149 /source4/auth
parentc389883ba2c93dfc11ac410a952f42f1065057d2 (diff)
downloadsamba-ba564a901e519b0f2cf2b7651bd260f618506b5c.tar.gz
samba-ba564a901e519b0f2cf2b7651bd260f618506b5c.tar.bz2
samba-ba564a901e519b0f2cf2b7651bd260f618506b5c.zip
r13903: Don't generate prototypes for modules and binaries in include/proto.h by
default. (This used to be commit c80a8f1102caf744b66c13bebde38fba74983dc4)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/config.mk1
-rw-r--r--source4/auth/gensec/config.mk2
-rw-r--r--source4/auth/gensec/schannel.c1
-rw-r--r--source4/auth/gensec/spnego.c1
-rw-r--r--source4/auth/ntlmssp/config.mk3
5 files changed, 7 insertions, 1 deletions
diff --git a/source4/auth/config.mk b/source4/auth/config.mk
index d8fc9a8ddf..9c14528572 100644
--- a/source4/auth/config.mk
+++ b/source4/auth/config.mk
@@ -9,6 +9,7 @@ include credentials/config.mk
[MODULE::auth_sam]
INIT_FUNCTION = auth_sam_init
SUBSYSTEM = AUTH
+NOPROTO = NO
OBJ_FILES = \
auth_sam.o
REQUIRED_SUBSYSTEMS = \
diff --git a/source4/auth/gensec/config.mk b/source4/auth/gensec/config.mk
index 0ba5a5e282..17e22123ab 100644
--- a/source4/auth/gensec/config.mk
+++ b/source4/auth/gensec/config.mk
@@ -38,6 +38,7 @@ REQUIRED_SUBSYSTEMS = KERBEROS AUTH
[MODULE::gensec_spnego]
SUBSYSTEM = GENSEC
INIT_FUNCTION = gensec_spnego_init
+PRIVATE_PROTO_HEADER = spnego_proto.h
OBJ_FILES = spnego.o \
spnego_parse.o
# End MODULE gensec_spnego
@@ -47,6 +48,7 @@ OBJ_FILES = spnego.o \
# Start MODULE gensec_schannel
[MODULE::gensec_schannel]
SUBSYSTEM = GENSEC
+PRIVATE_PROTO_HEADER = schannel_proto.h
INIT_FUNCTION = gensec_schannel_init
OBJ_FILES = schannel.o \
schannel_sign.o
diff --git a/source4/auth/gensec/schannel.c b/source4/auth/gensec/schannel.c
index 10c8f9853a..0409b17c4d 100644
--- a/source4/auth/gensec/schannel.c
+++ b/source4/auth/gensec/schannel.c
@@ -25,6 +25,7 @@
#include "librpc/gen_ndr/ndr_schannel.h"
#include "auth/auth.h"
#include "auth/gensec/schannel.h"
+#include "auth/gensec/schannel_proto.h"
static size_t schannel_sig_size(struct gensec_security *gensec_security, size_t data_size)
{
diff --git a/source4/auth/gensec/spnego.c b/source4/auth/gensec/spnego.c
index 32b4ff96be..9d97e3d709 100644
--- a/source4/auth/gensec/spnego.c
+++ b/source4/auth/gensec/spnego.c
@@ -24,6 +24,7 @@
#include "includes.h"
#include "auth/auth.h"
+#include "auth/gensec/spnego_proto.h"
enum spnego_state_position {
SPNEGO_SERVER_START,
diff --git a/source4/auth/ntlmssp/config.mk b/source4/auth/ntlmssp/config.mk
index d10c98c838..32b917e4ce 100644
--- a/source4/auth/ntlmssp/config.mk
+++ b/source4/auth/ntlmssp/config.mk
@@ -2,11 +2,12 @@
# Start MODULE gensec_ntlmssp
[MODULE::gensec_ntlmssp]
SUBSYSTEM = GENSEC
+NOPROTO = NO
INIT_FUNCTION = gensec_ntlmssp_init
OBJ_FILES = ntlmssp.o \
- ntlmssp_parse.o \
ntlmssp_sign.o \
ntlmssp_client.o \
+ ntlmssp_parse.o \
ntlmssp_server.o
REQUIRED_SUBSYSTEMS = AUTH
# End MODULE gensec_ntlmssp