summaryrefslogtreecommitdiffstats
path: root/src/responder
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2014-10-27 15:11:08 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-11-05 15:26:32 +0100
commit1a9f66352070d71a6b998c5afbc268ba6fddc51c (patch)
treef069bf7a43ddebd35e9f140971f7fe36c42628e5 /src/responder
parent16c37880f089431211290aa31bdcd3c9bc12aa77 (diff)
downloadsssd-1a9f66352070d71a6b998c5afbc268ba6fddc51c.tar.gz
sssd-1a9f66352070d71a6b998c5afbc268ba6fddc51c.tar.xz
sssd-1a9f66352070d71a6b998c5afbc268ba6fddc51c.zip
sysdb_add_overrides_to_object: add new parameter and multi-value support
With the new parameter an attribute list other than the default one can be used. Override attributes with multiple values (e.g. SSH public keys) are now supported as well. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/responder')
-rw-r--r--src/responder/nss/nsssrv_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c
index b100aae08..ff7b6a334 100644
--- a/src/responder/nss/nsssrv_cmd.c
+++ b/src/responder/nss/nsssrv_cmd.c
@@ -4064,7 +4064,7 @@ static int nss_cmd_initgroups_search(struct nss_dom_ctx *dctx)
if (ret == EOK && DOM_HAS_VIEWS(dom)) {
for (c = 0; c < dctx->res->count; c++) {
ret = sysdb_add_overrides_to_object(dom, dctx->res->msgs[c],
- NULL);
+ NULL, NULL);
if (ret != EOK) {
DEBUG(SSSDBG_OP_FAILURE,
"sysdb_add_overrides_to_object failed.\n");