From f4e67fa4cd924fbe6f271611514caf5589e6a6e5 Mon Sep 17 00:00:00 2001 From: ned Date: Wed, 12 Nov 2014 14:52:16 -0700 Subject: LDAP server support --- ldap.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ldap.go') diff --git a/ldap.go b/ldap.go index 08c01e8..42c50d6 100644 --- a/ldap.go +++ b/ldap.go @@ -9,7 +9,7 @@ import ( "fmt" "io/ioutil" - "github.com/vanackere/asn1-ber" + "github.com/nmcclain/asn1-ber" ) // LDAP Application Codes @@ -149,6 +149,12 @@ var LDAPResultCodeMap = map[uint8]string{ LDAPResultOther: "Other", } +// Other LDAP constants +const ( + LDAPBindAuthSimple = 0 + LDAPBindAuthSASL = 3 +) + // Adds descriptions to an LDAP Response packet for debugging func addLDAPDescriptions(packet *ber.Packet) (err error) { defer func() { -- cgit v1.2.3