summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_export_keytab.c
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2012-04-10 12:09:20 +0300
committerAndreas Schneider <asn@cryptomilk.org>2012-04-12 15:23:19 +0200
commitbcc16f191175740f200c12925b63d45478f06454 (patch)
treec61461de3ab2d0d5af71ae73e1028deab59cc3d0 /source4/libnet/libnet_export_keytab.c
parentdda0531aae70e78e815fda8c594213369e76a847 (diff)
downloadsamba-bcc16f191175740f200c12925b63d45478f06454.tar.gz
samba-bcc16f191175740f200c12925b63d45478f06454.tar.bz2
samba-bcc16f191175740f200c12925b63d45478f06454.zip
s4-libnet: split export_keytab in a separate python module to avoid pulling in HDB dependency
Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Apr 12 15:23:19 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4/libnet/libnet_export_keytab.c')
-rw-r--r--source4/libnet/libnet_export_keytab.c21
1 files changed, 20 insertions, 1 deletions
diff --git a/source4/libnet/libnet_export_keytab.c b/source4/libnet/libnet_export_keytab.c
index 593f5fd5d9..1726d14228 100644
--- a/source4/libnet/libnet_export_keytab.c
+++ b/source4/libnet/libnet_export_keytab.c
@@ -1,9 +1,28 @@
+/*
+ Unix SMB/CIFS implementation.
+
+ Copyright (C) Andrew Bartlett <abartlet@samba.org> 2009
+
+ 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/>.
+*/
+
#include "includes.h"
#include "system/kerberos.h"
#include "auth/kerberos/kerberos.h"
#include <hdb.h>
#include "kdc/samba_kdc.h"
-#include "libnet/libnet.h"
+#include "libnet/libnet_export_keytab.h"
NTSTATUS libnet_export_keytab(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, struct libnet_export_keytab *r)
{