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/tests | |
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/tests')
-rw-r--r-- | server/tests/sysdb-tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/sysdb-tests.c b/server/tests/sysdb-tests.c index d08a1552..32ed7bb2 100644 --- a/server/tests/sysdb-tests.c +++ b/server/tests/sysdb-tests.c @@ -232,7 +232,7 @@ static void test_add_user(struct tevent_req *subreq) data->ctx->domain, data->username, data->uid, 0, gecos, homedir, "/bin/bash", - NULL); + NULL, 0); if (!subreq) { return test_return(data, ENOMEM); } @@ -445,7 +445,7 @@ static void test_add_group(struct tevent_req *req) subreq = sysdb_add_group_send(data, data->ev, data->handle, data->ctx->domain, data->groupname, - data->gid, NULL); + data->gid, NULL, 0); if (!subreq) { test_return(data, ret); } |