Skip to content

Instantly share code, notes, and snippets.

View dvdjaco's full-sized avatar

David Jacovkis dvdjaco

View GitHub Profile
@dvdjaco
dvdjaco / ldap2csv.py
Created June 22, 2021 09:38 — forked from JosefJezek/ldap2csv.py
Export Users from Active Directory / LDAP to CSV file with Python
#!/usr/bin/python
# http://www.packtpub.com/article/python-ldap-applications-ldap-opearations
# sudo apt-get install python-ldap
import ldap
host = 'ldap://example.com:389'
dn = 'ldap@example.com'

Keybase proof

I hereby claim:

  • I am dvdjaco on github.
  • I am dvdjaco (https://keybase.io/dvdjaco) on keybase.
  • I have a public key whose fingerprint is FF37 FCD8 A8ED 9CF6 DB5E AB90 6377 A4E0 EED3 38E8

To claim this, I am signing this object: