Skip to content

Instantly share code, notes, and snippets.

View mattantonelli's full-sized avatar

Matt Antonelli mattantonelli

  • 09:31 (UTC -05:00)
View GitHub Profile
@mattantonelli
mattantonelli / query_user.sql
Last active June 21, 2016 21:01 — forked from JosiahSiegel/query_user.sql
#LDAP Query user by displayName
SELECT $displayName, $cn FROM ROOTDSE
WHERE $objectClass='user' AND $objectCategory='Person'
AND $displayName='John Sample';