diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2012-05-23 04:21:35 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-05-31 15:46:27 -0400 |
commit | 64ddff90c7fcc02ccb06824ac93af7d5f361a88f (patch) | |
tree | 70f12aa095d575826844f26278c2056ce8df0cf5 /src/providers/ldap/ldap_id_netgroup.c | |
parent | 3111c28041b732b98a7fb39ef6232257d086d670 (diff) | |
download | sssd-64ddff90c7fcc02ccb06824ac93af7d5f361a88f.tar.gz sssd-64ddff90c7fcc02ccb06824ac93af7d5f361a88f.tar.xz sssd-64ddff90c7fcc02ccb06824ac93af7d5f361a88f.zip |
Add support for filtering atributes
This patch adds support for filtering attributes when constructing
attribute list from a map for LDAP query.
Diffstat (limited to 'src/providers/ldap/ldap_id_netgroup.c')
-rw-r--r-- | src/providers/ldap/ldap_id_netgroup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ldap/ldap_id_netgroup.c b/src/providers/ldap/ldap_id_netgroup.c index 7fe7543f8..58a9a3462 100644 --- a/src/providers/ldap/ldap_id_netgroup.c +++ b/src/providers/ldap/ldap_id_netgroup.c @@ -98,8 +98,8 @@ struct tevent_req *ldap_netgroup_get_send(TALLOC_CTX *memctx, } talloc_zfree(clean_name); - ret = build_attrs_from_map(state, ctx->opts->netgroup_map, - SDAP_OPTS_NETGROUP, &state->attrs, NULL); + ret = build_attrs_from_map(state, ctx->opts->netgroup_map, SDAP_OPTS_NETGROUP, + NULL, &state->attrs, NULL); if (ret != EOK) goto fail; ret = ldap_netgroup_get_retry(req); |