From 0676793cf23941e107e1d5d90f8c81b0790bcdfa Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Tue, 12 May 2026 22:27:39 +0000 Subject: [PATCH] update go mod, found new issue with starttls (likely ldap side issue) --- app/main.go | 2 +- go.mod | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/app/main.go b/app/main.go index d22ef43..a372b11 100644 --- a/app/main.go +++ b/app/main.go @@ -582,7 +582,7 @@ func GetRealmsFromPVE(config *common.Config) map[string]Realm { ldapconfig := common.LDAPConfig{ BaseDN: realm.BaseDN, LdapURL: fmt.Sprintf("ldap://%s", realm.Server1), - StartTLS: realm.Mode == "ldap+starttls", + StartTLS: false, // todo fix startlts } realms[realm.Realm] = Realm{ Type: realm.Type, diff --git a/go.mod b/go.mod index 135621b..9cbc8be 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/gin-contrib/sessions v1.1.0 github.com/gin-gonic/gin v1.12.0 github.com/go-ldap/ldap/v3 v3.4.13 - github.com/luthermonson/go-proxmox v0.4.1 + github.com/luthermonson/go-proxmox v0.5.0 github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d proxmoxaas-common-lib v0.0.0 ) @@ -14,13 +14,13 @@ require ( replace proxmoxaas-common-lib => ./proxmoxaas-common-lib require ( - github.com/Azure/go-ntlmssp v0.1.0 // indirect + github.com/Azure/go-ntlmssp v0.1.1 // indirect github.com/buger/goterm v1.0.4 // indirect github.com/bytedance/gopkg v0.1.4 // indirect - github.com/bytedance/sonic v1.15.0 // indirect + github.com/bytedance/sonic v1.15.1 // indirect github.com/bytedance/sonic/loader v0.5.1 // indirect - github.com/cloudwego/base64x v0.1.6 // indirect - github.com/diskfs/go-diskfs v1.9.1 // indirect + github.com/cloudwego/base64x v0.1.7 // indirect + github.com/diskfs/go-diskfs v1.9.2 // indirect github.com/djherbis/times v1.6.0 // indirect github.com/gabriel-vasile/mimetype v1.4.13 // indirect github.com/gin-contrib/sse v1.1.1 // indirect @@ -39,20 +39,20 @@ require ( github.com/json-iterator/go v1.1.12 // indirect github.com/klauspost/cpuid/v2 v2.3.0 // indirect github.com/leodido/go-urn v1.4.0 // indirect - github.com/magefile/mage v1.17.1 // indirect - github.com/mattn/go-isatty v0.0.21 // indirect + github.com/magefile/mage v1.17.2 // indirect + github.com/mattn/go-isatty v0.0.22 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/pelletier/go-toml/v2 v2.3.0 // indirect + github.com/pelletier/go-toml/v2 v2.3.1 // indirect github.com/quic-go/qpack v0.6.0 // indirect - github.com/quic-go/quic-go v0.59.0 // indirect + github.com/quic-go/quic-go v0.59.1 // indirect github.com/twitchyliquid64/golang-asm v0.15.1 // indirect github.com/ugorji/go/codec v1.3.1 // indirect - go.mongodb.org/mongo-driver/v2 v2.5.1 // indirect - golang.org/x/arch v0.26.0 // indirect - golang.org/x/crypto v0.50.0 // indirect - golang.org/x/net v0.53.0 // indirect - golang.org/x/sys v0.43.0 // indirect - golang.org/x/text v0.36.0 // indirect + go.mongodb.org/mongo-driver/v2 v2.6.0 // indirect + golang.org/x/arch v0.27.0 // indirect + golang.org/x/crypto v0.51.0 // indirect + golang.org/x/net v0.54.0 // indirect + golang.org/x/sys v0.44.0 // indirect + golang.org/x/text v0.37.0 // indirect google.golang.org/protobuf v1.36.11 // indirect )