diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-03-02 18:44:44 -0500 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-03-03 15:05:03 -0500 |
commit | 71eacad35be73dc30d56d3cffa9785a533d25fc8 (patch) | |
tree | 7c76ef592834466f8500cb2f77a175c2dfc946bc /server/infopipe | |
parent | 0ddf276c9f45b3c6eb48c8074eef0113c5ebf6a9 (diff) | |
download | sssd-71eacad35be73dc30d56d3cffa9785a533d25fc8.tar.gz sssd-71eacad35be73dc30d56d3cffa9785a533d25fc8.tar.bz2 sssd-71eacad35be73dc30d56d3cffa9785a533d25fc8.zip |
Provide sysdb_set_user_attr() functions.
Provide also helper functions to build struct sysdb_attrs.
Also fix sysdb_get_user_attr() to have a consistent interface
as all other functions.
Diffstat (limited to 'server/infopipe')
-rw-r--r-- | server/infopipe/infopipe_users.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/infopipe/infopipe_users.c b/server/infopipe/infopipe_users.c index 4b9b0255..4495f09d 100644 --- a/server/infopipe/infopipe_users.c +++ b/server/infopipe/infopipe_users.c @@ -579,9 +579,10 @@ static int infp_get_attr_lookup(struct infp_getattr_ctx *infp_getattr_req) /* Call into the sysdb for the requested attributes */ ret = sysdb_get_user_attr(infp_getattr_req, infp_getattr_req->infp_req->infp->sysdb, - infp_getattr_req->domain, + infp_getattr_req->domain->name, infp_getattr_req->usernames[infp_getattr_req->index], (const char **)attributes, + infp_getattr_req->domain->legacy, infp_get_attr_lookup_callback, infp_getattr_req); return EOK; |