Skip to content
Snippets Groups Projects
Commit acf6fc8c authored by Russell Jancewicz's avatar Russell Jancewicz
Browse files

Merge pull request #40 from michaelweiser/kdb5-api-8

Support KDB API version 8 (MIT Kerberos >= 1.13)
parents 69b86ee4 3bcdb4d1
No related branches found
No related tags found
No related merge requests found
......@@ -362,7 +362,11 @@ static PyObject *PyKAdminObject_each_principal(PyKAdminObject *self, PyObject *a
krb5_clear_error_message(self->context);
code = krb5_db_iterate(self->context, match, kdb_iter_princs, (void *)self);
code = krb5_db_iterate(self->context, match, kdb_iter_princs, (void *)self
#if (KRB5_KDB_API_VERSION >= 8)
, 0 /* flags */
#endif
);
if (lock != KRB5_PLUGIN_OP_NOTSUPP) {
lock = kadm5_unlock(self->server_handle);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment