diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-02 20:22:38 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-01-18 16:23:22 +0100 |
commit | d95d59138c6dc255f433e4d3c88b8afbc9ea0b26 (patch) | |
tree | c652dff4bfc4e2268724be890125784a656ba8c3 | |
parent | 60e1aa701c18a0871d94f74f565b9abaa41c0de9 (diff) | |
download | samba-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>
-rw-r--r-- | source3/librpc/crypto/gse.c | 2 | ||||
-rw-r--r-- | source3/librpc/crypto/gse.h | 2 |
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_ */ |