summaryrefslogtreecommitdiffstats
path: root/ldap.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ldap.go8
1 files changed, 7 insertions, 1 deletions
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() {