summaryrefslogtreecommitdiff
path: root/server/tools
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/tools
parent8628af2c666bdd073a447156cbd0cb889326b657 (diff)
downloadsssd-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/tools')
-rw-r--r--server/tools/sss_sync_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tools/sss_sync_ops.c b/server/tools/sss_sync_ops.c
index 2bea4f07..3359e5be 100644
--- a/server/tools/sss_sync_ops.c
+++ b/server/tools/sss_sync_ops.c
@@ -334,7 +334,7 @@ static struct tevent_req *user_add_send(TALLOC_CTX *mem_ctx,
state->data->domain, state->data->name,
state->data->uid, state->data->gid,
state->data->gecos, state->data->home,
- state->data->shell, NULL);
+ state->data->shell, NULL, 0);
if (!subreq) {
talloc_zfree(req);
return NULL;
@@ -800,7 +800,7 @@ static struct tevent_req *group_add_send(TALLOC_CTX *mem_ctx,
subreq = sysdb_add_group_send(state, state->ev, state->handle,
state->data->domain, state->data->name,
- state->data->gid, NULL);
+ state->data->gid, NULL, 0);
if (!subreq) {
talloc_zfree(req);
return NULL;