summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-04-19 11:59:09 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-05-07 16:38:23 -0400
commitfc7ec12f1b851bab1eedf3ecdcb094ea80b46dd2 (patch)
tree9aa674b262b92ebe2f66c745a42f6cec4a0a1c18 /src/db/sysdb.h
parentca6aa84e20e445fb04dfce416a8c3a1912b26451 (diff)
downloadsssd-fc7ec12f1b851bab1eedf3ecdcb094ea80b46dd2.tar.gz
sssd-fc7ec12f1b851bab1eedf3ecdcb094ea80b46dd2.tar.xz
sssd-fc7ec12f1b851bab1eedf3ecdcb094ea80b46dd2.zip
Add support for delayed kinit if offline
If the configuration option krb5_store_password_if_offline is set to true and the backend is offline the plain text user password is stored and used to request a TGT if the backend becomes online. If available the Linux kernel key retention service is used.
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index cf97ed62d..d6780c365 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -557,7 +557,8 @@ struct tevent_req *sysdb_cache_auth_send(TALLOC_CTX *mem_ctx,
const char *name,
const uint8_t *authtok,
size_t authtok_size,
- struct confdb_ctx *cdb);
+ struct confdb_ctx *cdb,
+ bool just_check);
int sysdb_cache_auth_recv(struct tevent_req *req, time_t *expire_date,
time_t *delayed_until);