[Freeipa-devel] [PATCH 0002] Port from python-krbV to python-gssapi

Christian Heimes cheimes at redhat.com
Thu Jul 30 13:21:18 UTC 2015


On 2015-07-30 15:06, Michael Šimáček wrote:
> I didn't use ctypes, because it was advised against on this list:
> https://www.redhat.com/archives/freeipa-devel/2012-February/msg00268.html
> For the tests it's probably fine, but so is using klist.
> It would actually help a lot with getting the default realm name, but
> I'm afraid that the second point about problems with ctypes and SELinux
> in httpd still holds.

Thanks for the pointer to Alexander's posting. I wasn't aware of any
issues with ctypes and SELinux. I usually prefer Cython, C or cffi over
ctypes myself. For simple tasks ctypes works good enough, though.

python-kdcproxy uses ctypes bindings for libkrb5 to parse
/etc/krb5.conf. It runs in mod_wsgi, too. I haven't seen or heard about
issues with SELinux. Maybe the bug has been resolved? I'll keep an eye open.

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150730/92699cb9/attachment.sig>


More information about the Freeipa-devel mailing list