summaryrefslogtreecommitdiff
path: root/source3/librpc/rpc/dcerpc_krb5.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-08-19 11:25:32 -0400
committerGünther Deschner <gd@samba.org>2010-08-30 14:27:48 +0200
commitb31f75d8f6dbfcad4438262eeb3ecda165f72fae (patch)
tree62be11781a8661f11b4995fbaddd873d330f9cca /source3/librpc/rpc/dcerpc_krb5.h
parent26e24928b368071909883e345e775f8615e61154 (diff)
downloadsamba-b31f75d8f6dbfcad4438262eeb3ecda165f72fae.tar.gz
samba-b31f75d8f6dbfcad4438262eeb3ecda165f72fae.tar.bz2
samba-b31f75d8f6dbfcad4438262eeb3ecda165f72fae.zip
s3-dcerpc: add krb5 helpers
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/librpc/rpc/dcerpc_krb5.h')
-rw-r--r--source3/librpc/rpc/dcerpc_krb5.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/source3/librpc/rpc/dcerpc_krb5.h b/source3/librpc/rpc/dcerpc_krb5.h
new file mode 100644
index 0000000000..c5d7dd6a09
--- /dev/null
+++ b/source3/librpc/rpc/dcerpc_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 _DCERPC_KRB5_H_
+#define _DCERPC_KRB5_H_
+
+#ifdef HAVE_KRB5
+
+krb5_error_code smb_krb5_get_server_keytab(krb5_context krbctx,
+ krb5_keytab *keytab);
+
+#endif /* HAVE_KRB5 */
+
+#endif /* _DCERPC_KRB5_H_ */