diff options
author | ned <ned@appliedtrust.com> | 2014-11-12 22:52:16 +0100 |
---|---|---|
committer | ned <ned@appliedtrust.com> | 2014-11-12 22:52:16 +0100 |
commit | f4e67fa4cd924fbe6f271611514caf5589e6a6e5 (patch) | |
tree | e696dd77956b8e1ce1aa342a35036db3a9494575 /ldap.go | |
parent | Ping / Abandon request should not expect response (diff) | |
download | ldap-f4e67fa4cd924fbe6f271611514caf5589e6a6e5.tar ldap-f4e67fa4cd924fbe6f271611514caf5589e6a6e5.tar.gz ldap-f4e67fa4cd924fbe6f271611514caf5589e6a6e5.tar.bz2 ldap-f4e67fa4cd924fbe6f271611514caf5589e6a6e5.tar.lz ldap-f4e67fa4cd924fbe6f271611514caf5589e6a6e5.tar.xz ldap-f4e67fa4cd924fbe6f271611514caf5589e6a6e5.tar.zst ldap-f4e67fa4cd924fbe6f271611514caf5589e6a6e5.zip |
Diffstat (limited to '')
-rw-r--r-- | ldap.go | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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() { |