summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-10-05 14:22:00 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-10-08 19:26:55 -0400
commit57bd514e16e954c03bd32497b6b430142335761e (patch)
treedcd17a3f213771ce5b0e4a3056d618d0770caa41 /src/db/sysdb.h
parent8971b82a5acba9baf85230dbd13b07373904dca1 (diff)
downloadsssd2-57bd514e16e954c03bd32497b6b430142335761e.tar.gz
sssd2-57bd514e16e954c03bd32497b6b430142335761e.tar.xz
sssd2-57bd514e16e954c03bd32497b6b430142335761e.zip
sysdb interface for adding expired user entries
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 0ae26ac9..e3e69d3b 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -451,6 +451,14 @@ struct tevent_req *sysdb_add_basic_user_send(TALLOC_CTX *mem_ctx,
const char *shell);
int sysdb_add_basic_user_recv(struct tevent_req *req);
+/* Add fake (expired) user */
+struct tevent_req *sysdb_add_fake_user_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct sysdb_handle *handle,
+ struct sss_domain_info *domain,
+ const char *name);
+int sysdb_add_fake_user_recv(struct tevent_req *req);
+
/* Add user (all checks) */
struct tevent_req *sysdb_add_user_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,