summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-03-30 15:48:54 -0400
committerAndreas Schneider <asn@samba.org>2012-04-12 12:06:41 +0200
commit93aa4511b9843fb0b96c5d568888778bc5a8367c (patch)
tree51362874257115f59553fb81c49215a0db18f036
parent6ab0dfe0d9fdea81599ae022c73f5c282ab6aadf (diff)
downloadsamba-93aa4511b9843fb0b96c5d568888778bc5a8367c.tar.gz
samba-93aa4511b9843fb0b96c5d568888778bc5a8367c.tar.bz2
samba-93aa4511b9843fb0b96c5d568888778bc5a8367c.zip
gensec_gssapi: keep private header file close to the actual code
Signed-off-by: Andreas Schneider <asn@samba.org>
-rw-r--r--source4/auth/gensec/gensec_gssapi.c2
-rw-r--r--source4/auth/gensec/gensec_gssapi.h (renamed from auth/gensec/gensec_gssapi.h)11
2 files changed, 6 insertions, 7 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c
index b2729a9bae..29f1e469e5 100644
--- a/source4/auth/gensec/gensec_gssapi.c
+++ b/source4/auth/gensec/gensec_gssapi.c
@@ -40,7 +40,7 @@
#include <gssapi/gssapi.h>
#include <gssapi/gssapi_krb5.h>
#include <gssapi/gssapi_spnego.h>
-#include "auth/gensec/gensec_gssapi.h"
+#include "gensec_gssapi.h"
#include "lib/util/util_net.h"
_PUBLIC_ NTSTATUS gensec_gssapi_init(void);
diff --git a/auth/gensec/gensec_gssapi.h b/source4/auth/gensec/gensec_gssapi.h
index 694ca6be89..569d787f7f 100644
--- a/auth/gensec/gensec_gssapi.h
+++ b/source4/auth/gensec/gensec_gssapi.h
@@ -1,8 +1,8 @@
-/*
+/*
Unix SMB/CIFS implementation.
Kerberos backend for GENSEC
-
+
Copyright (C) Andrew Bartlett <abartlet@samba.org> 2004-2005
Copyright (C) Stefan Metzmacher <metze@samba.org> 2004-2005
@@ -10,20 +10,20 @@
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/>.
*/
/* This structure described here, so the RPC-PAC test can get at the PAC provided */
-enum gensec_gssapi_sasl_state
+enum gensec_gssapi_sasl_state
{
STAGE_GSS_NEG,
STAGE_SASL_SSF_NEG,
@@ -67,4 +67,3 @@ struct gensec_gssapi_state {
const char *target_principal;
};
-