-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested ldap groups #30223
Nested ldap groups #30223
Commits on Oct 20, 2022
-
Make it possible to return nested records whem walking over groups
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Configuration menu - View commit details
-
Copy full SHA for 1e4ac22 - Browse repository at this point
Copy the full SHA 1e4ac22View commit details -
Refactor code to split common loop
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Configuration menu - View commit details
-
Copy full SHA for ad2fdbe - Browse repository at this point
Copy the full SHA ad2fdbeView commit details -
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Configuration menu - View commit details
-
Copy full SHA for 5647093 - Browse repository at this point
Copy the full SHA 5647093View commit details -
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Configuration menu - View commit details
-
Copy full SHA for 0fd7a51 - Browse repository at this point
Copy the full SHA 0fd7a51View commit details -
Unify a bit the types of the fetcher
Now it will only accept a string as parameter instead of either a string (DN) or a array (complete record). Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Configuration menu - View commit details
-
Copy full SHA for 49aa352 - Browse repository at this point
Copy the full SHA 49aa352View commit details -
This fixes some cases observed with the debugger where we end up merging a non empty list with null. The result is then null and the looping over the items would then end. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Configuration menu - View commit details
-
Copy full SHA for 6522f8a - Browse repository at this point
Copy the full SHA 6522f8aView commit details -
Refactor _groupMembers to correctly use cache on intermediate results
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for d07f43d - Browse repository at this point
Copy the full SHA d07f43dView commit details -
Small optimisation of _groupMembers
This will not change the result as users are check to be existing afterwards but avoids this check when we know it’s a group. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 8b19cfc - Browse repository at this point
Copy the full SHA 8b19cfcView commit details -
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 02ccce1 - Browse repository at this point
Copy the full SHA 02ccce1View commit details -
Refactor group membership listing for nested groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 6ed0d0b - Browse repository at this point
Copy the full SHA 6ed0d0bView commit details -
Add testing of nested group membership
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 7437673 - Browse repository at this point
Copy the full SHA 7437673View commit details -
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 150e6ad - Browse repository at this point
Copy the full SHA 150e6adView commit details -
Removed unused use declaration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 69f9e9f - Browse repository at this point
Copy the full SHA 69f9e9fView commit details -
Add missing copyright author in Group_LDAP
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 604b5ac - Browse repository at this point
Copy the full SHA 604b5acView commit details -
Only cache base inGroup search
And not intermediate search for nested groups, this is causing issues othewise with nested groups Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Configuration menu - View commit details
-
Copy full SHA for 33be3f7 - Browse repository at this point
Copy the full SHA 33be3f7View commit details -
Add back runtime cache for intermediate ldap read results
This is a small optimization that save a few LDAP queries Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Configuration menu - View commit details
-
Copy full SHA for e0fbd39 - Browse repository at this point
Copy the full SHA e0fbd39View commit details -
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Configuration menu - View commit details
-
Copy full SHA for 1b12a08 - Browse repository at this point
Copy the full SHA 1b12a08View commit details -
Revert Carl changes on apps/user_ldap/lib/Group_LDAP.php
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Configuration menu - View commit details
-
Copy full SHA for be5338e - Browse repository at this point
Copy the full SHA be5338eView commit details -
Fix LDAP recursive nested group support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 746a5fb - Browse repository at this point
Copy the full SHA 746a5fbView commit details -
Bring back small fixes by Carl
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 1a6a6c9 - Browse repository at this point
Copy the full SHA 1a6a6c9View commit details -
Check if cache is present with isset
Otherwise we get false for empty array Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Configuration menu - View commit details
-
Copy full SHA for 60ec5e6 - Browse repository at this point
Copy the full SHA 60ec5e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99a7529 - Browse repository at this point
Copy the full SHA 99a7529View commit details