Compare commits

...

2 Commits

Author SHA1 Message Date
Chris F Ravenscroft bbb9f4a25e Merge branch 'master' into chore/rewire-ldap-packages 2023-12-10 15:22:10 -08:00
Chris F Ravenscroft 0c0d742ea9 chore: reweure ldap packages 2023-12-10 15:13:23 -08:00
11 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -8,8 +8,8 @@ require (
github.com/arl/statsviz v0.6.0
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815
github.com/fsnotify/fsnotify v1.6.0
github.com/glauth/ldap v0.0.0-20231210225823-b9bf4d1baf6e
github.com/jinzhu/copier v0.4.0
github.com/nmcclain/ldap v0.0.0-20210720162743-7f8d1e44eeba
github.com/pquerna/otp v1.4.0
github.com/prometheus/client_golang v1.17.0
github.com/prometheus/client_model v0.5.0
+2
View File
@@ -19,6 +19,8 @@ github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815 h1:bWDMxwH3px2JBh
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE=
github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY=
github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw=
github.com/glauth/ldap v0.0.0-20231210225823-b9bf4d1baf6e h1:ohe1O2DUo198delHsQvA8O+CgAPP8wv1SmSxLPlO9ao=
github.com/glauth/ldap v0.0.0-20231210225823-b9bf4d1baf6e/go.mod h1:EHMcFuVSIs0huelHOhaGtj9IKMB/Dmxo+jDheipjtYA=
github.com/go-asn1-ber/asn1-ber v1.5.4 h1:vXT6d/FNDiELJnLb6hGNa309LMsrCoYFvpwHDF0+Y1A=
github.com/go-asn1-ber/asn1-ber v1.5.4/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0=
github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
+1 -1
View File
@@ -1,6 +1,6 @@
package monitoring
import "github.com/nmcclain/ldap"
import "github.com/glauth/ldap"
type MonitorInterface interface {
SetResponseTimeMetric(map[string]string, float64) error
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/nmcclain/ldap"
"github.com/glauth/ldap"
"github.com/rs/zerolog"
"go.uber.org/mock/gomock"
)
+1 -1
View File
@@ -14,7 +14,7 @@ import (
"github.com/glauth/glauth/v2/internal/monitoring"
"github.com/glauth/glauth/v2/pkg/config"
"github.com/glauth/glauth/v2/pkg/stats"
"github.com/nmcclain/ldap"
"github.com/glauth/ldap"
)
type configHandler struct {
+1 -1
View File
@@ -2,7 +2,7 @@ package handler
import (
"github.com/glauth/glauth/v2/pkg/config"
"github.com/nmcclain/ldap"
"github.com/glauth/ldap"
)
type HelperMaker interface {
+1 -1
View File
@@ -19,7 +19,7 @@ import (
"github.com/glauth/glauth/v2/internal/monitoring"
"github.com/glauth/glauth/v2/pkg/config"
"github.com/glauth/glauth/v2/pkg/stats"
"github.com/nmcclain/ldap"
"github.com/glauth/ldap"
"github.com/pquerna/otp/totp"
)
+1 -1
View File
@@ -17,7 +17,7 @@ import (
"github.com/GeertJohan/yubigo"
"github.com/glauth/glauth/v2/pkg/config"
"github.com/glauth/glauth/v2/pkg/stats"
"github.com/nmcclain/ldap"
"github.com/glauth/ldap"
"github.com/pquerna/otp/totp"
"golang.org/x/crypto/bcrypt"
)
+1 -1
View File
@@ -18,7 +18,7 @@ import (
"github.com/glauth/glauth/v2/internal/monitoring"
"github.com/glauth/glauth/v2/pkg/config"
"github.com/glauth/glauth/v2/pkg/stats"
"github.com/nmcclain/ldap"
"github.com/glauth/ldap"
msgraph "github.com/yaegashi/msgraph.go/v1.0"
)
+1 -1
View File
@@ -18,7 +18,7 @@ import (
"github.com/glauth/glauth/v2/pkg/config"
"github.com/glauth/glauth/v2/pkg/handler"
"github.com/glauth/glauth/v2/pkg/stats"
"github.com/nmcclain/ldap"
"github.com/glauth/ldap"
)
var configattributematcher = regexp.MustCompile(`(?i)\((?P<attribute>[a-zA-Z0-9]+)\s*=\s*(?P<value>.*)\)`)
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/glauth/glauth/v2/internal/monitoring"
"github.com/glauth/glauth/v2/pkg/config"
"github.com/glauth/glauth/v2/pkg/handler"
"github.com/nmcclain/ldap"
"github.com/glauth/ldap"
)
type LdapSvc struct {