diff options
author | Simo Sorce <ssorce@redhat.com> | 2011-11-20 20:50:27 -0500 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2011-12-08 17:18:10 -0500 |
commit | 045c7c123eeb720173c19d5196b4fb5bb4cecbaa (patch) | |
tree | 7d6040cb63334a685d555ce23b6d3baf827b57c2 /daemons/ipa-kdb/ipa_kdb.h | |
parent | 7d744f82e2ae118216454214464847f4c218340c (diff) | |
download | freeipa-045c7c123eeb720173c19d5196b4fb5bb4cecbaa.tar.gz freeipa-045c7c123eeb720173c19d5196b4fb5bb4cecbaa.tar.xz freeipa-045c7c123eeb720173c19d5196b4fb5bb4cecbaa.zip |
ipa-kdb: enhance deref searches
Allow to deref more than one attribute.
The attrs searched are the same for all deref attributes at this time.
Diffstat (limited to 'daemons/ipa-kdb/ipa_kdb.h')
-rw-r--r-- | daemons/ipa-kdb/ipa_kdb.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/daemons/ipa-kdb/ipa_kdb.h b/daemons/ipa-kdb/ipa_kdb.h index 8c907c448..33b74a28a 100644 --- a/daemons/ipa-kdb/ipa_kdb.h +++ b/daemons/ipa-kdb/ipa_kdb.h @@ -123,8 +123,11 @@ krb5_error_code ipadb_simple_modify(struct ipadb_context *ipactx, krb5_error_code ipadb_simple_delete_val(struct ipadb_context *ipactx, char *dn, char *attr, char *value); krb5_error_code ipadb_deref_search(struct ipadb_context *ipactx, - char *entry_dn, char **entry_attrs, - char *deref_attr_name, char **deref_attrs, + char *base_dn, int scope, + char *filter, + char **entry_attrs, + char **deref_attr_names, + char **deref_attrs, LDAPMessage **res); int ipadb_ldap_attr_to_int(LDAP *lcontext, LDAPMessage *le, |