From 1e208a705718adb105d89093041c0ba5d51f2429 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 6 May 2011 12:54:59 +0200 Subject: s3-includes: no need to globally include libads/ads_status.h. Guenther --- source3/libads/kerberos_proto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/libads/kerberos_proto.h') diff --git a/source3/libads/kerberos_proto.h b/source3/libads/kerberos_proto.h index afd57fe220c..f23346f709a 100644 --- a/source3/libads/kerberos_proto.h +++ b/source3/libads/kerberos_proto.h @@ -1,5 +1,7 @@ struct PAC_LOGON_INFO; +#include "libads/ads_status.h" + /* The following definitions come from libads/kerberos_verify.c */ NTSTATUS ads_verify_ticket(TALLOC_CTX *mem_ctx, -- cgit From 6bf3228f2850b2960276f683e51ccfd6c952a62d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:38:18 +0200 Subject: s3:libads/kerberos_proto.h: add GPL/Copyright header --- source3/libads/kerberos_proto.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'source3/libads/kerberos_proto.h') diff --git a/source3/libads/kerberos_proto.h b/source3/libads/kerberos_proto.h index f23346f709a..8acfb459978 100644 --- a/source3/libads/kerberos_proto.h +++ b/source3/libads/kerberos_proto.h @@ -1,3 +1,32 @@ +/* + * Unix SMB/CIFS implementation. + * kerberos utility library + * + * Copyright (C) Andrew Tridgell 2001 + * Copyright (C) Remus Koos (remuskoos@yahoo.com) 2001 + * Copyright (C) Luke Howard 2002-2003 + * Copyright (C) Jim McDonough 2003 + * Copyright (C) Guenther Deschner 2003-2008 + * Copyright (C) Andrew Bartlett 2004-2005 + * Copyright (C) Jeremy Allison 2004,2007 + * Copyright (C) Stefan Metzmacher 2004-2005 + * Copyright (C) Nalin Dahyabhai 2004 + * Copyright (C) Gerald Carter 2006 + * + * 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 . + */ + struct PAC_LOGON_INFO; #include "libads/ads_status.h" -- cgit From 4c542015a1a36a230a1a5b6f4ba6b643494e1185 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:39:09 +0200 Subject: s3:libads/kerberos_proto.h: add _LIBADS_KERBEROS_PROTO_H_ guard --- source3/libads/kerberos_proto.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/libads/kerberos_proto.h') diff --git a/source3/libads/kerberos_proto.h b/source3/libads/kerberos_proto.h index 8acfb459978..406669cc49f 100644 --- a/source3/libads/kerberos_proto.h +++ b/source3/libads/kerberos_proto.h @@ -27,6 +27,9 @@ * along with this program. If not, see . */ +#ifndef _LIBADS_KERBEROS_PROTO_H_ +#define _LIBADS_KERBEROS_PROTO_H_ + struct PAC_LOGON_INFO; #include "libads/ads_status.h" @@ -98,3 +101,5 @@ ADS_STATUS kerberos_set_password(const char *kpasswd_server, const char *auth_principal, const char *auth_password, const char *target_principal, const char *new_password, int time_offset); + +#endif /* _LIBADS_KERBEROS_PROTO_H_ */ -- cgit