summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/config.mk3
-rw-r--r--source4/auth/credentials/config.mk3
-rw-r--r--source4/auth/credentials/credentials.h2
-rw-r--r--source4/auth/gensec/config.mk4
-rw-r--r--source4/auth/gensec/gensec.h2
5 files changed, 9 insertions, 5 deletions
diff --git a/source4/auth/config.mk b/source4/auth/config.mk
index a64ceb5da1..4f9ed1a52d 100644
--- a/source4/auth/config.mk
+++ b/source4/auth/config.mk
@@ -69,7 +69,8 @@ OBJ_FILES = pam_errors.o
#######################
# Start SUBSYSTEM auth
[SUBSYSTEM::auth]
-PRIVATE_PROTO_HEADER = auth_proto.h
+PUBLIC_HEADERS = auth.h
+PUBLIC_PROTO_HEADER = auth_proto.h
OBJ_FILES = \
auth.o \
auth_util.o \
diff --git a/source4/auth/credentials/config.mk b/source4/auth/credentials/config.mk
index 586add9c14..dbf20156fa 100644
--- a/source4/auth/credentials/config.mk
+++ b/source4/auth/credentials/config.mk
@@ -1,7 +1,8 @@
#################################
# Start SUBSYSTEM gensec
[SUBSYSTEM::CREDENTIALS]
-PRIVATE_PROTO_HEADER = credentials_proto.h
+PUBLIC_PROTO_HEADER = credentials_proto.h
+PUBLIC_HEADERS = credentials.h
OBJ_FILES = credentials.o \
credentials_files.o \
credentials_krb5.o \
diff --git a/source4/auth/credentials/credentials.h b/source4/auth/credentials/credentials.h
index 58d393f762..2e9d77ccae 100644
--- a/source4/auth/credentials/credentials.h
+++ b/source4/auth/credentials/credentials.h
@@ -23,6 +23,8 @@
#ifndef __CREDENTIALS_H__
#define __CREDENTIALS_H__
+#include "librpc/gen_ndr/misc.h"
+
struct ccache_container;
/* In order of priority */
diff --git a/source4/auth/gensec/config.mk b/source4/auth/gensec/config.mk
index a6335692d8..1e5518c545 100644
--- a/source4/auth/gensec/config.mk
+++ b/source4/auth/gensec/config.mk
@@ -4,8 +4,8 @@
VERSION = 0.0.1
SO_VERSION = 0.0.1
DESCRIPTION = Generic Security Library
-PUBLIC_HEADERS = gensec.h
-PRIVATE_PROTO_HEADER = gensec_proto.h
+PUBLIC_HEADERS = gensec.h spnego.h
+PUBLIC_PROTO_HEADER = gensec_proto.h
OBJ_FILES = gensec.o
REQUIRED_SUBSYSTEMS = \
CREDENTIALS
diff --git a/source4/auth/gensec/gensec.h b/source4/auth/gensec/gensec.h
index 1e9c74566c..f51f8245e3 100644
--- a/source4/auth/gensec/gensec.h
+++ b/source4/auth/gensec/gensec.h
@@ -128,6 +128,6 @@ struct gensec_critical_sizes {
};
#include "auth/credentials/credentials.h"
-#include "gensec_proto.h"
+#include "auth/gensec/gensec_proto.h"
#endif /* __GENSEC_H__ */