diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2024-10-09 22:17:53 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2024-10-09 22:17:53 +0200 |
commit | 2f4f6cc81e0ef5df77519bcd1f2ecaa02b0a179a (patch) | |
tree | 3ba38d36dded7880ce26bd371e9ca34928517ca8 | |
parent | listen on arbitrary network (diff) | |
parent | change asn1-ber library (diff) | |
download | ldap-2f4f6cc81e0ef5df77519bcd1f2ecaa02b0a179a.tar ldap-2f4f6cc81e0ef5df77519bcd1f2ecaa02b0a179a.tar.gz ldap-2f4f6cc81e0ef5df77519bcd1f2ecaa02b0a179a.tar.bz2 ldap-2f4f6cc81e0ef5df77519bcd1f2ecaa02b0a179a.tar.lz ldap-2f4f6cc81e0ef5df77519bcd1f2ecaa02b0a179a.tar.xz ldap-2f4f6cc81e0ef5df77519bcd1f2ecaa02b0a179a.tar.zst ldap-2f4f6cc81e0ef5df77519bcd1f2ecaa02b0a179a.zip |
-rw-r--r-- | bind.go | 2 | ||||
-rw-r--r-- | conn.go | 2 | ||||
-rw-r--r-- | control.go | 2 | ||||
-rw-r--r-- | debug.go | 2 | ||||
-rw-r--r-- | filter.go | 2 | ||||
-rw-r--r-- | filter_test.go | 2 | ||||
-rw-r--r-- | go.mod | 2 | ||||
-rw-r--r-- | go.sum | 4 | ||||
-rw-r--r-- | ldap.go | 2 | ||||
-rw-r--r-- | modify.go | 2 | ||||
-rw-r--r-- | search.go | 2 | ||||
-rw-r--r-- | server.go | 2 | ||||
-rw-r--r-- | server_bind.go | 2 | ||||
-rw-r--r-- | server_modify.go | 2 | ||||
-rw-r--r-- | server_search.go | 2 |
15 files changed, 16 insertions, 16 deletions
@@ -7,7 +7,7 @@ package ldap import ( "errors" - "github.com/nmcclain/asn1-ber" + "4a.si/asn1-ber" ) func (l *Conn) Bind(username, password string) error { @@ -12,7 +12,7 @@ import ( "sync" "time" - "github.com/nmcclain/asn1-ber" + "4a.si/asn1-ber" ) const ( @@ -7,7 +7,7 @@ package ldap import ( "strings" "fmt" - "github.com/nmcclain/asn1-ber" + "4a.si/asn1-ber" ) const ( @@ -3,7 +3,7 @@ package ldap import ( "log" - "github.com/nmcclain/asn1-ber" + "4a.si/asn1-ber" ) // debbuging type @@ -10,7 +10,7 @@ import ( "strings" "unicode/utf8" - ber "github.com/nmcclain/asn1-ber" + ber "4a.si/asn1-ber" ) const ( diff --git a/filter_test.go b/filter_test.go index 5244c8a..68d2c57 100644 --- a/filter_test.go +++ b/filter_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - ber "github.com/nmcclain/asn1-ber" + ber "4a.si/asn1-ber" ) type compileTest struct { @@ -2,4 +2,4 @@ module 4a.si/ldap go 1.22.3 -require github.com/nmcclain/asn1-ber v0.0.0-20170104154839-2661553a0484 +require 4a.si/asn1-ber v0.0.0-20241009195854-ae3d4e156655 @@ -1,2 +1,2 @@ -github.com/nmcclain/asn1-ber v0.0.0-20170104154839-2661553a0484 h1:D9EvfGQvlkKaDr2CRKN++7HbSXbefUNDrPq60T+g24s= -github.com/nmcclain/asn1-ber v0.0.0-20170104154839-2661553a0484/go.mod h1:O1EljZ+oHprtxDDPHiMWVo/5dBT6PlvWX5PSwj80aBA= +4a.si/asn1-ber v0.0.0-20241009195854-ae3d4e156655 h1:LxpFwnVQdMMXw4CEsa5R3FbIGQ79BAJln1HbTb4VjZk= +4a.si/asn1-ber v0.0.0-20241009195854-ae3d4e156655/go.mod h1:/TTM4IrcaxxGBptmpM4U6be4qHNe+pSO4f6Itb/g9vw= @@ -9,7 +9,7 @@ import ( "fmt" "io/ioutil" - "github.com/nmcclain/asn1-ber" + "4a.si/asn1-ber" ) // LDAP Application Codes @@ -33,7 +33,7 @@ import ( "errors" "log" - "github.com/nmcclain/asn1-ber" + "4a.si/asn1-ber" ) const ( @@ -64,7 +64,7 @@ import ( "fmt" "strings" - "github.com/nmcclain/asn1-ber" + "4a.si/asn1-ber" ) const ( @@ -8,7 +8,7 @@ import ( "strings" "sync" - "github.com/nmcclain/asn1-ber" + "4a.si/asn1-ber" ) type Binder interface { diff --git a/server_bind.go b/server_bind.go index 5a80bf5..6b4accf 100644 --- a/server_bind.go +++ b/server_bind.go @@ -1,7 +1,7 @@ package ldap import ( - "github.com/nmcclain/asn1-ber" + "4a.si/asn1-ber" "log" "net" ) diff --git a/server_modify.go b/server_modify.go index ca68e40..6ac618e 100644 --- a/server_modify.go +++ b/server_modify.go @@ -4,7 +4,7 @@ import ( "log" "net" - "github.com/nmcclain/asn1-ber" + "4a.si/asn1-ber" ) func HandleAddRequest(req *ber.Packet, boundDN string, fns map[string]Adder, conn net.Conn) (resultCode LDAPResultCode) { diff --git a/server_search.go b/server_search.go index 12a6caf..91f3094 100644 --- a/server_search.go +++ b/server_search.go @@ -6,7 +6,7 @@ import ( "net" "strings" - ber "github.com/nmcclain/asn1-ber" + ber "4a.si/asn1-ber" ) func HandleSearchRequest(req *ber.Packet, controls *[]Control, messageID uint64, boundDN string, server *Server, conn net.Conn) (resultErr error) { |