Skip to content

Instantly share code, notes, and snippets.

View full-sized avatar

David Murrell uow-dmurrell

View GitHub Profile
uow-dmurrell /
Created September 13, 2018 01:53
Requires the following rpm packages installed: yum install -y python-kerberos python-ldap python-krbV
# Used ideas from here, but perl + gssapi + ldap doesn't work on RHEL6
import pprint
import ldap
import ldap.sasl
import os
import socket