ldap-crud is a collection of Go packages to make handling LDAP easier.
This is a simple layer to ease the usage of LDAP with Go. It defines a set of common operations:
- Read, ReadAll, ReadAllSiblings, ReadAllSubtree
- Delete, DeleteSubtree (recursively, not with controls)
schema2go generates Go code containing Item definitions usable with package crud. Note that this is not really polished; ymmv.
Creates fresh instances of OpenLDAPs slapd for testing purposes.
go get should work with each of these packages.