From 045c7c123eeb720173c19d5196b4fb5bb4cecbaa Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 20 Nov 2011 20:50:27 -0500 Subject: 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. --- daemons/ipa-kdb/ipa_kdb.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'daemons/ipa-kdb/ipa_kdb.h') 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, -- cgit