summaryrefslogtreecommitdiffstats
path: root/server/db/sysdb.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-11-06 10:17:48 -0500
committerSimo Sorce <ssorce@redhat.com>2009-11-06 17:43:13 -0500
commit5efef2a52ae0e07239942faa7b81c6b62a7be49d (patch)
tree876c03a77b9704c640ff5918809fe036a54d1399 /server/db/sysdb.h
parent8628af2c666bdd073a447156cbd0cb889326b657 (diff)
downloadsssd-5efef2a52ae0e07239942faa7b81c6b62a7be49d.tar.gz
sssd-5efef2a52ae0e07239942faa7b81c6b62a7be49d.tar.xz
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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/db/sysdb.h b/server/db/sysdb.h
index 394b524ef..85aea4b74 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 */