summaryrefslogtreecommitdiff
path: root/source3/librpc/crypto/gse_krb5.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-09-01 11:58:33 -0400
committerGünther Deschner <gd@samba.org>2010-09-23 10:36:54 -0700
commit0e5eb82a6f29e33ca2cafe0ed7103395837b3fc0 (patch)
treeb451c24a267ab7817a3d19245abc800968b39a1a /source3/librpc/crypto/gse_krb5.h
parentffdfcfb514c1a0849ba334ae6b9b00d3ad3c2227 (diff)
downloadsamba-0e5eb82a6f29e33ca2cafe0ed7103395837b3fc0.tar.gz
samba-0e5eb82a6f29e33ca2cafe0ed7103395837b3fc0.tar.bz2
samba-0e5eb82a6f29e33ca2cafe0ed7103395837b3fc0.zip
s3-dcerpc: move crypto stuff in /librpc/crypto
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/librpc/crypto/gse_krb5.h')
-rw-r--r--source3/librpc/crypto/gse_krb5.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/source3/librpc/crypto/gse_krb5.h b/source3/librpc/crypto/gse_krb5.h
new file mode 100644
index 0000000000..ea789c947a
--- /dev/null
+++ b/source3/librpc/crypto/gse_krb5.h
@@ -0,0 +1,30 @@
+/*
+ * GSSAPI Security Extensions
+ * Krb5 helpers
+ * Copyright (C) Simo Sorce 2010.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef _GSE_KRB5_H_
+#define _GSE_KRB5_H_
+
+#ifdef HAVE_KRB5
+
+krb5_error_code gse_krb5_get_server_keytab(krb5_context krbctx,
+ krb5_keytab *keytab);
+
+#endif /* HAVE_KRB5 */
+
+#endif /* _GSE_KRB5_H_ */