Skip to content

Commit bedffe9

Browse files
author
Colin Toal
committed
Trying to fix macro problem under debian
1 parent 7304c87 commit bedffe9

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

setup.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818

1919
setup(name='python-kadmin',
2020
version='0.1.1',
21-
description='Python module for kerberos admin (kadm5)',
22-
url='https://github.com/russjancewicz/python-kadmin',
23-
download_url='https://github.com/russjancewicz/python-kadmin/tarball/v0.1.1',
24-
author='Russell Jancewicz',
25-
author_email='russell.jancewicz@gmail.com',
21+
description='Python module for kerberos admin (kadm5)- forked form russjancewicz/python-kadmin',
22+
url='https://github.com/integrateai/python-kadmin',
23+
download_url='https://github.com/integrateai/python-kadmin/tarball/v0.1.1',
24+
author='Colin Toal',
25+
author_email='colin@integrate.ai',
2626
license='MIT',
2727
ext_modules=[
2828
Extension(
@@ -61,10 +61,10 @@
6161
setup(name='python-kadmin-local',
6262
version='0.1.1',
6363
description='Python module for kerberos admin (kadm5) via root local interface',
64-
url='https://github.com/russjancewicz/python-kadmin',
65-
download_url='https://github.com/russjancewicz/python-kadmin/tarball/v0.1.1',
66-
author='Russell Jancewicz',
67-
author_email='russell.jancewicz@gmail.com',
64+
url='https://github.com/integrateai/python-kadmin',
65+
download_url='https://github.com/integrateai/python-kadmin/tarball/v0.1.1',
66+
author='Colin Toal',
67+
author_email='colin@integrate.ai',
6868
license='MIT',
6969
ext_modules=[
7070
Extension(

src/PyKAdminObject.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -451,11 +451,11 @@ static PyObject *PyKAdminObject_each_principal(PyKAdminObject *self, PyObject *a
451451

452452
krb5_clear_error_message(self->context);
453453

454-
code = krb5_db_iterate(self->context, match, kdb_iter_princs, (void *)self
455-
#if (KRB5_KDB_API_VERSION >= 8)
456-
, 0 /* flags */
454+
#if KRB5_KDB_API_VERSION < 8
455+
code = krb5_db_iterate(self->context, match, kdb_iter_princs, (void *)self);
456+
#else
457+
code = krb5_db_iterate(self->context, match, kdb_iter_princs, (void *)self, 0 );
457458
#endif
458-
);
459459

460460
if (lock != KRB5_PLUGIN_OP_NOTSUPP) {
461461
lock = kadm5_unlock(self->server_handle);

0 commit comments

Comments
 (0)