summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth.c2
-rw-r--r--source4/auth/config.mk4
-rw-r--r--source4/auth/gensec/config.mk4
-rw-r--r--source4/auth/gensec/socket.c2
4 files changed, 7 insertions, 5 deletions
diff --git a/source4/auth/auth.c b/source4/auth/auth.c
index f79e2f7bbd..9100891d52 100644
--- a/source4/auth/auth.c
+++ b/source4/auth/auth.c
@@ -51,7 +51,7 @@ BOOL auth_challenge_may_be_modified(struct auth_context *auth_ctx)
Try to get a challenge out of the various authentication modules.
Returns a const char of length 8 bytes.
****************************************************************************/
-NTSTATUS auth_get_challenge(struct auth_context *auth_ctx, const uint8_t **_chal)
+_PUBLIC_ NTSTATUS auth_get_challenge(struct auth_context *auth_ctx, const uint8_t **_chal)
{
NTSTATUS nt_status;
struct auth_method_context *method;
diff --git a/source4/auth/config.mk b/source4/auth/config.mk
index d692115321..968072b918 100644
--- a/source4/auth/config.mk
+++ b/source4/auth/config.mk
@@ -65,7 +65,9 @@ OBJ_FILES = pam_errors.o
#######################
# Start SUBSYSTEM auth
-[SUBSYSTEM::auth]
+[LIBRARY::auth]
+VERSION = 0.0.1
+SO_VERSION = 0
PUBLIC_HEADERS = auth.h
PUBLIC_PROTO_HEADER = auth_proto.h
OBJ_FILES = \
diff --git a/source4/auth/gensec/config.mk b/source4/auth/gensec/config.mk
index cb8b2edc85..84947785db 100644
--- a/source4/auth/gensec/config.mk
+++ b/source4/auth/gensec/config.mk
@@ -48,7 +48,7 @@ PUBLIC_DEPENDENCIES = SASL auth
SUBSYSTEM = gensec
INIT_FUNCTION = gensec_spnego_init
PRIVATE_PROTO_HEADER = spnego_proto.h
-PRIVATE_DEPENDENCIES = ASN1_UTIL
+PRIVATE_DEPENDENCIES = ASN1_UTIL GENSEC_SOCKET
OBJ_FILES = spnego.o \
spnego_parse.o
# End MODULE gensec_spnego
@@ -82,7 +82,7 @@ OBJ_FILES = \
[SUBSYSTEM::GENSEC_SOCKET]
OBJ_FILES = \
socket.o
-PUBLIC_DEPENDENCIES = samba-socket
+PUBLIC_DEPENDENCIES = samba-socket LIBPACKET
#PUBLIC_DEPENDENCIES = gensec
#
# End SUBSYSTEM GENSEC_SOCKET
diff --git a/source4/auth/gensec/socket.c b/source4/auth/gensec/socket.c
index cf7b196f9d..11db252e17 100644
--- a/source4/auth/gensec/socket.c
+++ b/source4/auth/gensec/socket.c
@@ -60,7 +60,7 @@ static NTSTATUS gensec_socket_init_fn(struct socket_context *sock)
/* These functions are for use here only (public because SPNEGO must
* use them for recursion) */
-NTSTATUS gensec_wrap_packets(struct gensec_security *gensec_security,
+_PUBLIC_ NTSTATUS gensec_wrap_packets(struct gensec_security *gensec_security,
TALLOC_CTX *mem_ctx,
const DATA_BLOB *in,
DATA_BLOB *out,