aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
Commit message (Collapse)AuthorAgeFilesLines
* Update composer autoloaderCarl Schwan2022-11-222-4/+17
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* [tx-robot] updated from transifexNextcloud bot2022-11-162-2/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-11-152-0/+8
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #35070 from ↵Simon L2022-11-131-0/+27
|\ | | | | | | | | nextcloud/fix/34993/ldap-user-manager-must-not-be-shared [LDAP] always create instance of own user manager
| * [LDAP] always create instance of own user managerArthur Schiwon2022-11-101-0/+27
| | | | | | | | | | | | | | | | - it is config specific and cannot be shared - because the Access instance is bound later, it is not obvious from the constructor Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | [tx-robot] updated from transifexNextcloud bot2022-11-122-0/+4
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | [tx-robot] updated from transifexNextcloud bot2022-11-112-2/+2
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #34702 from nextcloud/fix/clean-ldap-wizard-typingVincent Petry2022-11-042-106/+101
|\ | | | | Clean up LDAP Wizard typing
| * Fix $host var handling to avoid passing null to ldap_connectCôme Chilliet2022-10-251-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Clean up LDAP Wizard typingCôme Chilliet2022-10-202-104/+99
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | [tx-robot] updated from transifexNextcloud bot2022-10-302-4/+4
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | [tx-robot] updated from transifexNextcloud bot2022-10-272-2/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #34691 from nextcloud/profiler/ldap-backtraceCarl Schwan2022-10-252-2/+4
|\ \ | | | | | | Add backtrace to ldap profiler collector
| * | Add backtrace to ldap profiler collectorCarl Schwan2022-10-202-2/+4
| |/ | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Expose mapped user count from LDAP and use that for user limit checkCôme Chilliet2022-10-242-3/+24
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | [tx-robot] updated from transifexNextcloud bot2022-10-232-6/+6
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #33945 from nextcloud/fix/noid/fair-use-ldapSimon L2022-10-218-40/+124
|\ \ | |/ |/| LDAP to not register new users when outside of fair use or over limits
| * [LDAP] throw exception only against prov apiArthur Schiwon2022-10-181-1/+20
| | | | | | | | | | | | | | - unbreaks functionality for end users when on demand mapping takes place Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * LDAP to no register new users when outside of fair use or over limitsArthur Schiwon2022-10-188-40/+105
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #30223 from nextcloud/nested_ldap_groupsCôme Chilliet2022-10-204-224/+243
|\ \ | | | | | | Nested ldap groups
| * | Fix psalmCarl Schwan2022-10-201-1/+4
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Check if cache is present with issetCarl Schwan2022-10-201-1/+1
| | | | | | | | | | | | | | | | | | Otherwise we get false for empty array Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Bring back small fixes by CarlCôme Chilliet2022-10-201-8/+6
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Fix LDAP recursive nested group supportCôme Chilliet2022-10-202-19/+21
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Revert Carl changes on apps/user_ldap/lib/Group_LDAP.phpCarl Schwan2022-10-201-27/+12
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Fix user_ldap testsCarl Schwan2022-10-203-22/+17
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Add back runtime cache for intermediate ldap read resultsCarl Schwan2022-10-201-2/+10
| | | | | | | | | | | | | | | | | | This is a small optimization that save a few LDAP queries Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Only cache base inGroup searchCarl Schwan2022-10-201-8/+15
| | | | | | | | | | | | | | | | | | | | | And not intermediate search for nested groups, this is causing issues othewise with nested groups Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Add missing copyright author in Group_LDAPCôme Chilliet2022-10-201-0/+1
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Removed unused use declarationCôme Chilliet2022-10-201-1/+0
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Fix types in docblocksCôme Chilliet2022-10-201-0/+1
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Add testing of nested group membershipCôme Chilliet2022-10-201-11/+31
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Refactor group membership listing for nested groupsCôme Chilliet2022-10-202-148/+70
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Add tests for nested groupsCôme Chilliet2022-10-201-8/+45
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Small optimisation of _groupMembersCôme Chilliet2022-10-201-2/+7
| | | | | | | | | | | | | | | | | | | | | 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>
| * | Refactor _groupMembers to correctly use cache on intermediate resultsCôme Chilliet2022-10-201-35/+28
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Fix merging list with nullCarl Schwan2022-10-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | Unify a bit the types of the fetcherCarl Schwan2022-10-201-16/+17
| | | | | | | | | | | | | | | | | | | | | 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>
| * | Add more type hintingCarl Schwan2022-10-201-31/+43
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Cache intermediatesArthur Schiwon2022-10-202-1/+13
| | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> Co-authored-by: Carl Schwan <carl@carlschwan.eu>
| * | Refactor code to split common loopArthur Schiwon2022-10-201-37/+15
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | Make it possible to return nested records whem walking over groupsArthur Schiwon2022-10-201-4/+43
| |/ | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Fix autoloadCôme Chilliet2022-10-202-4/+0
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Cleanup typing and improve loggingCôme Chilliet2022-10-203-44/+55
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix ldap_parse_result callCôme Chilliet2022-10-201-4/+13
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Adapt interface to new search signatureCôme Chilliet2022-10-201-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Pass paging information directly to search and get rid of adapterCôme Chilliet2022-10-205-188/+19
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Renamed ambiguous $limit parameter to pageSizeCôme Chilliet2022-10-201-9/+9
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Unfold call to ldap_parse_result. Handle cookie outside of adapter.Côme Chilliet2022-10-204-115/+36
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Do not init a paged search for read operationsCôme Chilliet2022-10-201-19/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>