summaryrefslogtreecommitdiff
path: root/source4/auth/credentials/credentials.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-05-22 05:21:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:46 -0500
commitc83c39909ed4979d455f94c9b842b542fb38e76b (patch)
treec26cf00184128652c2f35e8895c6602d7b17be43 /source4/auth/credentials/credentials.h
parent5bb0dcd0511d5a1fa1a255c11f14a5e0b9100d7c (diff)
downloadsamba-c83c39909ed4979d455f94c9b842b542fb38e76b.tar.gz
samba-c83c39909ed4979d455f94c9b842b542fb38e76b.tar.bz2
samba-c83c39909ed4979d455f94c9b842b542fb38e76b.zip
r23063: Make sure to invalidate the ccache when we set a
username/password/realm/etc from the command line. Also make sure it can't 'come back' from a later call to cli_credentials_guess(), buy setting a threshold. This should fix the issues with the build farm... Andrew Bartlett (This used to be commit 3b1dfb9306beb9f40d85d38cf6786ef161ec63f1)
Diffstat (limited to 'source4/auth/credentials/credentials.h')
-rw-r--r--source4/auth/credentials/credentials.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/auth/credentials/credentials.h b/source4/auth/credentials/credentials.h
index e20c6015e9..2715e03c1c 100644
--- a/source4/auth/credentials/credentials.h
+++ b/source4/auth/credentials/credentials.h
@@ -61,6 +61,13 @@ struct cli_credentials {
enum credentials_obtained keytab_obtained;
enum credentials_obtained server_gss_creds_obtained;
+ /* Threshold values (essentially a MAX() over a number of the
+ * above) for the ccache and GSS credentials, to ensure we
+ * regenerate/pick correctly */
+
+ enum credentials_obtained ccache_threshold;
+ enum credentials_obtained client_gss_creds_threshold;
+
const char *workstation;
const char *username;
const char *password;