summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-02 20:22:38 +1100
committerStefan Metzmacher <metze@samba.org>2012-01-18 16:23:22 +0100
commitd95d59138c6dc255f433e4d3c88b8afbc9ea0b26 (patch)
treec652dff4bfc4e2268724be890125784a656ba8c3 /source3
parent60e1aa701c18a0871d94f74f565b9abaa41c0de9 (diff)
downloadsamba-d95d59138c6dc255f433e4d3c88b8afbc9ea0b26.tar.gz
samba-d95d59138c6dc255f433e4d3c88b8afbc9ea0b26.tar.bz2
samba-d95d59138c6dc255f433e4d3c88b8afbc9ea0b26.zip
s3-gse Make gse available as a gensec client module
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/librpc/crypto/gse.c2
-rw-r--r--source3/librpc/crypto/gse.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c
index 0afc224c5b..bd7146c1c8 100644
--- a/source3/librpc/crypto/gse.c
+++ b/source3/librpc/crypto/gse.c
@@ -1351,7 +1351,7 @@ static const char *gensec_gse_krb5_oids[] = {
NULL
};
-static const struct gensec_security_ops gensec_gse_krb5_security_ops = {
+const struct gensec_security_ops gensec_gse_krb5_security_ops = {
.name = "gse_krb5",
.auth_type = DCERPC_AUTH_TYPE_KRB5,
.oid = gensec_gse_krb5_oids,
diff --git a/source3/librpc/crypto/gse.h b/source3/librpc/crypto/gse.h
index 27cc2e9255..d2b0175346 100644
--- a/source3/librpc/crypto/gse.h
+++ b/source3/librpc/crypto/gse.h
@@ -70,4 +70,6 @@ NTSTATUS gse_sign(TALLOC_CTX *mem_ctx, struct gse_context *gse_ctx,
NTSTATUS gse_sigcheck(TALLOC_CTX *mem_ctx, struct gse_context *gse_ctx,
DATA_BLOB *data, DATA_BLOB *signature);
+extern const struct gensec_security_ops gensec_gse_krb5_security_ops;
+
#endif /* _GSE_H_ */