bump libregraph/idm to lastest master

This commit is contained in:
Ralf Haferkamp
2024-04-10 15:21:34 +02:00
committed by Ralf Haferkamp
parent 2b076ca79d
commit 8c203a144f
7 changed files with 23 additions and 19 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ require (
github.com/jinzhu/now v1.1.5 github.com/jinzhu/now v1.1.5
github.com/justinas/alice v1.2.0 github.com/justinas/alice v1.2.0
github.com/leonelquinteros/gotext v1.5.3-0.20230317130943-71a59c05b2c1 github.com/leonelquinteros/gotext v1.5.3-0.20230317130943-71a59c05b2c1
github.com/libregraph/idm v0.4.1-0.20231213140724-56a222fb4215 github.com/libregraph/idm v0.4.1-0.20240410123343-a51b459380d0
github.com/libregraph/lico v0.61.3-0.20240322112242-72cf9221d3a7 github.com/libregraph/lico v0.61.3-0.20240322112242-72cf9221d3a7
github.com/mitchellh/mapstructure v1.5.0 github.com/mitchellh/mapstructure v1.5.0
github.com/mna/pigeon v1.2.1 github.com/mna/pigeon v1.2.1
+2 -2
View File
@@ -1634,8 +1634,8 @@ github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ=
github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI= github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI=
github.com/leonelquinteros/gotext v1.5.3-0.20230317130943-71a59c05b2c1 h1:k56sFOOJ0CYuQtGoRSeAMhP1R692+iNH+S1dC/CEz0w= github.com/leonelquinteros/gotext v1.5.3-0.20230317130943-71a59c05b2c1 h1:k56sFOOJ0CYuQtGoRSeAMhP1R692+iNH+S1dC/CEz0w=
github.com/leonelquinteros/gotext v1.5.3-0.20230317130943-71a59c05b2c1/go.mod h1:AT4NpQrOmyj1L/+hLja6aR0lk81yYYL4ePnj2kp7d6M= github.com/leonelquinteros/gotext v1.5.3-0.20230317130943-71a59c05b2c1/go.mod h1:AT4NpQrOmyj1L/+hLja6aR0lk81yYYL4ePnj2kp7d6M=
github.com/libregraph/idm v0.4.1-0.20231213140724-56a222fb4215 h1:Yw/I6l/0S/zDq2Hnibvwy8cVLpMaBwDe0aUSv/FNU6U= github.com/libregraph/idm v0.4.1-0.20240410123343-a51b459380d0 h1:NC6JoX08mr2WOVyplqbLUFFZuGJQHc/Xzsbtcpz0aqA=
github.com/libregraph/idm v0.4.1-0.20231213140724-56a222fb4215/go.mod h1:h/B7mB5OqrsrobydErMGewHxonYDKjGOaJsFabXyRo8= github.com/libregraph/idm v0.4.1-0.20240410123343-a51b459380d0/go.mod h1:taEqhdiG7u1aXxPNAi1+IQUpxDP0JpoDGrwhfpmHlhs=
github.com/libregraph/lico v0.61.3-0.20240322112242-72cf9221d3a7 h1:fcPgiBu7DGyGeokE0Qk+S+GW/3n+QWu1dIjw0TqadhI= github.com/libregraph/lico v0.61.3-0.20240322112242-72cf9221d3a7 h1:fcPgiBu7DGyGeokE0Qk+S+GW/3n+QWu1dIjw0TqadhI=
github.com/libregraph/lico v0.61.3-0.20240322112242-72cf9221d3a7/go.mod h1:TgZGBAYzVRQSRdBC8PgGQKjYhtXuTr6UCM3ZZyGTleQ= github.com/libregraph/lico v0.61.3-0.20240322112242-72cf9221d3a7/go.mod h1:TgZGBAYzVRQSRdBC8PgGQKjYhtXuTr6UCM3ZZyGTleQ=
github.com/libregraph/oidc-go v1.0.0 h1:l2tE/EwLyLXVy0B5BuVKgIFX9pNpz/5J3x5IBw0KEhc= github.com/libregraph/oidc-go v1.0.0 h1:l2tE/EwLyLXVy0B5BuVKgIFX9pNpz/5J3x5IBw0KEhc=
-3
View File
@@ -40,7 +40,6 @@ linters:
disable-all: true disable-all: true
enable: enable:
- bodyclose - bodyclose
- deadcode
- dupl - dupl
- errcheck - errcheck
- exportloopref - exportloopref
@@ -60,13 +59,11 @@ linters:
- nakedret - nakedret
- revive - revive
- staticcheck - staticcheck
- structcheck
- stylecheck - stylecheck
- typecheck - typecheck
- unconvert - unconvert
- unparam - unparam
- unused - unused
- varcheck
# don't enable: # don't enable:
# - depguard - until https://github.com/OpenPeeDeeP/depguard/issues/7 gets fixed # - depguard - until https://github.com/OpenPeeDeeP/depguard/issues/7 gets fixed
+11 -3
View File
@@ -141,9 +141,17 @@ func parseSearchRequest(boundDN string, req *ber.Packet, controls *[]ldap.Contro
} }
attributes = append(attributes, a) attributes = append(attributes, a)
} }
searchReq := &ldap.SearchRequest{baseObject, scope, searchReq := &ldap.SearchRequest{
derefAliases, sizeLimit, timeLimit, BaseDN: baseObject,
typesOnly, filter, attributes, *controls} Scope: scope,
DerefAliases: derefAliases,
SizeLimit: sizeLimit,
TimeLimit: timeLimit,
TypesOnly: typesOnly,
Filter: filter,
Attributes: attributes,
Controls: *controls,
}
return searchReq, nil return searchReq, nil
} }
-1
View File
@@ -210,7 +210,6 @@ listener:
return nil return nil
} }
//
func (server *Server) handleConnection(conn net.Conn) { func (server *Server) handleConnection(conn net.Conn) {
boundDN := "" // "" == anonymous boundDN := "" // "" == anonymous
+7 -7
View File
@@ -6,16 +6,16 @@
// Package ldbbolt provides the lower-level Database functions for managing LDAP Entries // Package ldbbolt provides the lower-level Database functions for managing LDAP Entries
// in a BoltDB database. Some implementation details: // in a BoltDB database. Some implementation details:
// //
// The database is currently separated in these three buckets // # The database is currently separated in these three buckets
// //
// - id2entry: This bucket contains the GOB encoded ldap.Entry instances keyed // - id2entry: This bucket contains the GOB encoded ldap.Entry instances keyed
// by a unique 64bit ID // by a unique 64bit ID
// //
// - dn2id: This bucket is used as an index to lookup the ID of an entry by its DN. The DN // - dn2id: This bucket is used as an index to lookup the ID of an entry by its DN. The DN
// is used in an normalized (case-folded) form here. // is used in an normalized (case-folded) form here.
// //
// - id2children: This bucket uses the entry-ids as and index and the values contain a list // - id2children: This bucket uses the entry-ids as and index and the values contain a list
// of the entry ids of its direct childdren // of the entry ids of its direct childdren
// //
// Additional buckets will likely be added in the future to create efficient search indexes // Additional buckets will likely be added in the future to create efficient search indexes
package ldbbolt package ldbbolt
+2 -2
View File
@@ -1260,8 +1260,8 @@ github.com/leodido/go-urn/scim/schema
## explicit; go 1.13 ## explicit; go 1.13
github.com/leonelquinteros/gotext github.com/leonelquinteros/gotext
github.com/leonelquinteros/gotext/plurals github.com/leonelquinteros/gotext/plurals
# github.com/libregraph/idm v0.4.1-0.20231213140724-56a222fb4215 # github.com/libregraph/idm v0.4.1-0.20240410123343-a51b459380d0
## explicit; go 1.18 ## explicit; go 1.21
github.com/libregraph/idm github.com/libregraph/idm
github.com/libregraph/idm/pkg/ldapdn github.com/libregraph/idm/pkg/ldapdn
github.com/libregraph/idm/pkg/ldapentry github.com/libregraph/idm/pkg/ldapentry