diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-11-06 10:17:48 -0500 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-11-06 17:43:13 -0500 |
commit | 5efef2a52ae0e07239942faa7b81c6b62a7be49d (patch) | |
tree | 876c03a77b9704c640ff5918809fe036a54d1399 /server/db/sysdb.h | |
parent | 8628af2c666bdd073a447156cbd0cb889326b657 (diff) | |
download | sssd-5efef2a52ae0e07239942faa7b81c6b62a7be49d.tar.gz sssd-5efef2a52ae0e07239942faa7b81c6b62a7be49d.tar.bz2 sssd-5efef2a52ae0e07239942faa7b81c6b62a7be49d.zip |
Always set last update and expire time
modifications to existing users/groups were setting metadata, but creation was
not. Fixes #259
Diffstat (limited to 'server/db/sysdb.h')
-rw-r--r-- | server/db/sysdb.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/db/sysdb.h b/server/db/sysdb.h index 394b524e..85aea4b7 100644 --- a/server/db/sysdb.h +++ b/server/db/sysdb.h @@ -457,7 +457,8 @@ struct tevent_req *sysdb_add_user_send(TALLOC_CTX *mem_ctx, const char *gecos, const char *homedir, const char *shell, - struct sysdb_attrs *attrs); + struct sysdb_attrs *attrs, + int cache_timeout); int sysdb_add_user_recv(struct tevent_req *req); /* Add group (only basic attrs and w/o checks) */ @@ -474,7 +475,8 @@ struct tevent_req *sysdb_add_group_send(TALLOC_CTX *mem_ctx, struct sysdb_handle *handle, struct sss_domain_info *domain, const char *name, gid_t gid, - struct sysdb_attrs *attrs); + struct sysdb_attrs *attrs, + int cache_timeout); int sysdb_add_group_recv(struct tevent_req *req); /* mod_op must be either LDB_FLAG_MOD_ADD or LDB_FLAG_MOD_DELETE */ |