Skip to content

Instantly share code, notes, and snippets.

View briandoll's full-sized avatar
😎
Helping companies market and sell more software

Brian Doll briandoll

😎
Helping companies market and sell more software
View GitHub Profile
@briandoll
briandoll / gist:384
Created July 21, 2008 22:33
awk ldap query to yaml
# This is an awk script, but no awk colour coding is available here.
#
# input: an LDAP query pulling back the displayName and sAMAccountName properties
# for an entire ActiveDirectory forest
#
# output: yaml format of same data
# ex.
# 1:
# name: "Doll, Brian A"