summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-11 04:05:37 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-11 02:47:50 +0000
commitd589430fa006dc4fc950be025e3a949b56e1a7bd (patch)
treeba40ffc01ff433983f39b6dd95861c20ac7d97ff /source4/auth
parentd74e0adb3041036e8e89d4265a67a455354bc308 (diff)
downloadsamba-d589430fa006dc4fc950be025e3a949b56e1a7bd.tar.gz
samba-d589430fa006dc4fc950be025e3a949b56e1a7bd.tar.bz2
samba-d589430fa006dc4fc950be025e3a949b56e1a7bd.zip
credentials: Fix the build.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Oct 11 02:47:50 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/credentials/credentials.c2
-rw-r--r--source4/auth/credentials/credentials.h1
-rw-r--r--source4/auth/credentials/credentials_krb5.h3
-rw-r--r--source4/auth/credentials/credentials_secrets.c2
-rw-r--r--source4/auth/credentials/wscript_build1
5 files changed, 7 insertions, 2 deletions
diff --git a/source4/auth/credentials/credentials.c b/source4/auth/credentials/credentials.c
index 30ab46d0ad..3a2e9a6fbc 100644
--- a/source4/auth/credentials/credentials.c
+++ b/source4/auth/credentials/credentials.c
@@ -25,7 +25,7 @@
#include "librpc/gen_ndr/samr.h" /* for struct samrPassword */
#include "auth/credentials/credentials.h"
#include "auth/credentials/credentials_krb5.h"
-#include "auth/credentials/credentials_proto.h"
+#include "auth/kerberos/kerberos_util.h"
#include "libcli/auth/libcli_auth.h"
#include "lib/events/events.h"
#include "param/param.h"
diff --git a/source4/auth/credentials/credentials.h b/source4/auth/credentials/credentials.h
index b7023cd17b..a468624b1f 100644
--- a/source4/auth/credentials/credentials.h
+++ b/source4/auth/credentials/credentials.h
@@ -299,4 +299,5 @@ NTSTATUS cli_credentials_set_secrets(struct cli_credentials *cred,
char **error_string);
int cli_credentials_get_kvno(struct cli_credentials *cred);
+
#endif /* __CREDENTIALS_H__ */
diff --git a/source4/auth/credentials/credentials_krb5.h b/source4/auth/credentials/credentials_krb5.h
index 3a614ff30e..1630b210db 100644
--- a/source4/auth/credentials/credentials_krb5.h
+++ b/source4/auth/credentials/credentials_krb5.h
@@ -52,4 +52,7 @@ krb5_error_code impersonate_principal_from_credentials(TALLOC_CTX *parent_ctx,
krb5_principal *princ,
const char **error_string);
+void cli_credentials_invalidate_client_gss_creds(struct cli_credentials *cred,
+ enum credentials_obtained obtained);
+
#endif /* __CREDENTIALS_KRB5_H__ */
diff --git a/source4/auth/credentials/credentials_secrets.c b/source4/auth/credentials/credentials_secrets.c
index 4a9ccf5358..d68ed33a31 100644
--- a/source4/auth/credentials/credentials_secrets.c
+++ b/source4/auth/credentials/credentials_secrets.c
@@ -30,7 +30,7 @@
#include "../lib/util/util_ldb.h"
#include "auth/credentials/credentials.h"
#include "auth/credentials/credentials_krb5.h"
-#include "auth/credentials/credentials_proto.h"
+#include "auth/kerberos/kerberos_util.h"
#include "param/param.h"
#include "lib/events/events.h"
#include "dsdb/samdb/samdb.h"
diff --git a/source4/auth/credentials/wscript_build b/source4/auth/credentials/wscript_build
index 38e007aa31..9e81e8fd79 100644
--- a/source4/auth/credentials/wscript_build
+++ b/source4/auth/credentials/wscript_build
@@ -2,6 +2,7 @@
bld.SAMBA_SUBSYSTEM('CREDENTIALS',
source='credentials.c',
+ autoproto='credentials_proto.h',
public_headers='credentials.h',
deps='LIBCRYPTO LIBSAMBA-ERRORS LIBEVENTS LIBCLI_AUTH LIBSECURITY',
)