From ab556b0b88d295177832f62eeaaae0256948bbde Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Thu, 14 Jul 2022 12:20:06 +0200 Subject: [PATCH] Bump libregraph/idm to include latest fixes Fixes: #3631, #4078 Partial: #4039 --- changelog/unreleased/bump-libregraph-idm.md | 11 +++++++++++ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 changelog/unreleased/bump-libregraph-idm.md diff --git a/changelog/unreleased/bump-libregraph-idm.md b/changelog/unreleased/bump-libregraph-idm.md new file mode 100644 index 00000000000..4a75e66f64b --- /dev/null +++ b/changelog/unreleased/bump-libregraph-idm.md @@ -0,0 +1,11 @@ +Bugfix: Fix DN parsing issues and sizelimit handling in libregraph/idm + +We fixed a couple on issues in libregraph/idm related to correctly parsing +LDAP DNs for usernames contain characters that require escaping. + +Also libregraph/idm was not properly returning "Size limit exceeded" errors +when the result set exceeded the requested size. + +https://github.com/owncloud/ocis/issues/3631 +https://github.com/owncloud/ocis/issues/4039 +https://github.com/owncloud/ocis/issues/4078 diff --git a/go.mod b/go.mod index c686a05f5f4..1d1d168f122 100644 --- a/go.mod +++ b/go.mod @@ -39,7 +39,7 @@ require ( github.com/gorilla/mux v1.8.0 github.com/grpc-ecosystem/grpc-gateway/v2 v2.10.3 github.com/justinas/alice v1.2.0 - github.com/libregraph/idm v0.3.1-0.20220713065559-45c5c6bd5a58 + github.com/libregraph/idm v0.3.1-0.20220714094919-c0f30ff05beb github.com/libregraph/lico v0.54.1-0.20220325072321-31efc3995d63 github.com/mitchellh/mapstructure v1.5.0 github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 diff --git a/go.sum b/go.sum index 9e176d08bd9..5f9951c3ee9 100644 --- a/go.sum +++ b/go.sum @@ -830,8 +830,8 @@ github.com/labbsr0x/goh v1.0.1/go.mod h1:8K2UhVoaWXcCU7Lxoa2omWnC8gyW8px7/lmO61c github.com/labstack/echo/v4 v4.1.11/go.mod h1:i541M3Fj6f76NZtHSj7TXnyM8n2gaodfvfxNnFqi74g= github.com/labstack/gommon v0.3.0/go.mod h1:MULnywXg0yavhxWKc+lOruYdAhDwPK9wf0OL7NoOu+k= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= -github.com/libregraph/idm v0.3.1-0.20220713065559-45c5c6bd5a58 h1:yfsJAGARhiX3WcZDHgj5uImb/4qBDQo9HAf+hNRYK94= -github.com/libregraph/idm v0.3.1-0.20220713065559-45c5c6bd5a58/go.mod h1:ggVmYkaK5fu680QOnxkuyCRW5Wl5qzaYXgIiieNBOJE= +github.com/libregraph/idm v0.3.1-0.20220714094919-c0f30ff05beb h1:kY+TjOyeXQ5kTzp66+c5C0sf5o9eLkYbxBPbB3iRQVk= +github.com/libregraph/idm v0.3.1-0.20220714094919-c0f30ff05beb/go.mod h1:ggVmYkaK5fu680QOnxkuyCRW5Wl5qzaYXgIiieNBOJE= github.com/libregraph/lico v0.54.1-0.20220325072321-31efc3995d63 h1:oPqyRePmq+59YF1tAur7WXuM/z/epRd+HGGyPPx2Vv8= github.com/libregraph/lico v0.54.1-0.20220325072321-31efc3995d63/go.mod h1:KZ4X+bEbOQMSV6iPysZEqVO/Pa5Mvo7xhhcLwUNPjmw= github.com/linode/linodego v0.25.3/go.mod h1:GSBKPpjoQfxEfryoCRcgkuUOCuVtGHWhzI8OMdycNTE=