summaryrefslogtreecommitdiff
path: root/usr/src/lib/krb5/kdb/kdb5.c
diff options
context:
space:
mode:
authorwillf <none@none>2008-01-25 15:24:54 -0800
committerwillf <none@none>2008-01-25 15:24:54 -0800
commit2dd2efa5a06a9befe46075cf41e16f57533c9f98 (patch)
tree4e5d24900f04f88c52b537dfbdfd5450991422c4 /usr/src/lib/krb5/kdb/kdb5.c
parent047a013371e22a733316649e2bb30a7aa6976e8b (diff)
downloadillumos-joyent-2dd2efa5a06a9befe46075cf41e16f57533c9f98.tar.gz
6604635 kdb ldap integration removed rev/recurse kdb5_util dumps
6620943 ktadd fails for principal with history when using ldap plugin
Diffstat (limited to 'usr/src/lib/krb5/kdb/kdb5.c')
-rw-r--r--usr/src/lib/krb5/kdb/kdb5.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/usr/src/lib/krb5/kdb/kdb5.c b/usr/src/lib/krb5/kdb/kdb5.c
index 050ab7996b..1e81c334b2 100644
--- a/usr/src/lib/krb5/kdb/kdb5.c
+++ b/usr/src/lib/krb5/kdb/kdb5.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -1103,7 +1103,9 @@ krb5_error_code
krb5_db_iterate(krb5_context kcontext,
char *match_entry,
int (*func) (krb5_pointer, krb5_db_entry *),
- krb5_pointer func_arg)
+ krb5_pointer func_arg,
+ /* Solaris Kerberos: adding support for db_args */
+ char **db_args)
{
krb5_error_code status = 0;
kdb5_dal_handle *dal_handle;
@@ -1121,9 +1123,11 @@ krb5_db_iterate(krb5_context kcontext,
goto clean_n_exit;
}
+ /* Solaris Kerberos: adding support for db_args */
status = dal_handle->lib_handle->vftabl.db_iterate(kcontext,
match_entry,
- func, func_arg);
+ func, func_arg,
+ db_args);
get_errmsg(kcontext, status);
kdb_unlock_lib_lock(dal_handle->lib_handle, FALSE);