summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #29240 from nextcloud/work/admin-delegation-implementationCarl Schwan2021-10-152-6/+19
|\ | | | | Add support for Delegation Settings for more apps
| * Add support for Delegation Settings for more appsCarl Schwan2021-10-152-6/+19
| | | | | | | | | | | | | | | | | | * This adds support for the sharing, groupware, theming and user_ldap app * This adds some code who disapeared during a rebase in the initial delegation PR (provisioning_api) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Use Psr\Log\LoggerInterface where it can easily be used in user_ldapCôme Chilliet2021-10-145-78/+136
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix two mistakes in previous migration to LoggerInterface in ↵Côme Chilliet2021-10-141-1/+1
| | | | | | | | | | | | OCA\User_LDAP\Access Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Use Psr\Log\LoggerInterface in OCA\User_LDAP\AccessCôme Chilliet2021-10-124-32/+55
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Avoid PHP errors when the LDAP attribute is not foundCôme Chilliet2021-10-121-1/+5
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #28876 from nextcloud/fix/28653/ldap-long-user-group-idsblizzz2021-09-243-3/+159
|\ | | | | ensure that user and group IDs in LDAP's tables are also max 64chars
| * ensure that user and group IDs in LDAP's tables are also max 64charsArthur Schiwon2021-09-243-3/+159
| | | | | | | | | | | | | | | | - limitation by core tables (e.g. sharing), IDs are always 64chars - when longer group IDs were requested they are hashed (does not affect displaynames) Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix caching of objectsid searchesArthur Schiwon2021-09-211-4/+5
|/ | | | | | | - store result when no name could be retrieved, too - cached value is not an array, was treated wrongly Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* use specific email getter where necessaryArthur Schiwon2021-09-091-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Migrate HintException to OCPGary Kim2021-06-302-3/+3
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* unset ldap provider when disabling user_ldapArthur Schiwon2021-06-301-0/+52
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* LDAP: determine shares of offline users only when neededArthur Schiwon2021-06-281-7/+3
| | | | | | | | - determine shares may via Sharing code result in user exists checks - this may result in an infinite loop when user exists was called before - the info is really only required at one occ command Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #27515 from ↵Christoph Wurst2021-06-161-13/+23
|\ | | | | | | | | nextcloud/enh/noid/read-multi-value-user-attribute Add method to read multi-value attributes from ldap
| * Add method to read multi-value attributes from ldap.Daniel Kesselberg2021-06-161-13/+23
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Add return type for writeToCacheDaniel Kesselberg2021-06-151-4/+2
|/ | | | | | writeToCache does not return a string. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Convert command option defaults to stringsChristoph Wurst2021-06-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0469-118/+47
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* l10n: Spelling unificationValdnet2021-05-211-2/+2
| | | | | Spelling unification in Transifex. Signed-off-by: Valdnet 47037905+Valdnet@users.noreply.github.com
* do not try to search after the last pageArthur Schiwon2021-04-272-3/+47
| | | | | | | - saves an LDAP requests in these cases - prevents a Protocol Error logged on < 7.3 API (for backports) Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* removes PagedResults adapter for PHP < 7.3Arthur Schiwon2021-04-262-135/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Move over notification to new registrationRoeland Jago Douma2021-04-161-2/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #25326 from nextcloud/ldap-factory-no-ldapMorris Jobke2021-03-311-0/+4
|\ | | | | make ILDAPProviderFactory usable when there is no ldap setup
| * make ILDAPProviderFactory usable when there is no ldap setupRobin Appelman2021-03-311-0/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add json, yaml output options to ldap:show-configJohannes Leuker2021-03-311-15/+41
|/ | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* Merge pull request #26161 from ↵Joas Schilling2021-03-172-7/+7
|\ | | | | | | | | nextcloud/bugfix/noid/improve-matching-of-phonebook-searches Improve search results when only phonebook-matches can we autocompleted
| * Fix parameter types in docsJoas Schilling2021-03-172-7/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | adds ldap user:reset commandArthur Schiwon2021-03-172-3/+129
|/ | | | | | | | - allows to delete data of existing LDAP users, which otherwise is safe guarded - ensures that the user is not being deleted on LDAP through a plugin Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #25660 from hosting-de/feature/add-backend-list-groupsRoeland Jago Douma2021-03-051-1/+11
|\ | | | | Show group backends in occ group:list --info and group:info
| * Show group backends in occ group:list --info and group:infoJohannes Leuker2021-03-011-1/+11
| | | | | | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* | Merge pull request #25860 from nextcloud/fix/noid/ldap-bind-expiredblizzz2021-03-021-3/+6
|\ \ | | | | | | do not die after LDAP auth failed with expired acc
| * | do not die after LDAP auth failed with expired accArthur Schiwon2021-03-011-3/+6
| | | | | | | | | | | | | | | | | | - some servers return error code 53 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | fix detecting cyclic group membershipsArthur Schiwon2021-02-231-10/+21
|/ / | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-182-3/+3
| | | | | | | | | | | | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Some psalm OfflineUser fixesRoeland Jago Douma2021-02-151-8/+8
|/ | | | | | For #25641 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #25101 from nextcloud/fix/noid/ldap-known-groupsChristoph Wurst2021-01-291-1/+1
|\ | | | | LDAP: make actually use of batch read known groups
| * really use known groupsArthur Schiwon2021-01-121-1/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix parameter provided as string not arrayArthur Schiwon2021-01-281-1/+3
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #25128 from nextcloud/ldapprovider-get-propertyblizzz2021-01-221-11/+42
|\ \ | | | | | | extend ILDAPProvider to allow reading arbitrairy ldap attributes for users
| * | extend ILDAPProvider to allow reading arbitrairy ldap attributes for usersRobin Appelman2021-01-191-11/+42
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | silence log messageArthur Schiwon2021-01-211-1/+1
|/ / | | | | | | | | | | | | - this appears too often (in some configurations) when qualifying group members which do not meet the criteria Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #25036 from nextcloud/fix/noid/limitied-allowed-items-db-in_2blizzz2021-01-141-6/+47
|\ \ | |/ |/| respect DB restrictions on number of arguments in statements and queries
| * silence psalm false positiveArthur Schiwon2021-01-131-0/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * respect DB limits limit per statement and queryArthur Schiwon2021-01-111-6/+45
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Migrate internal classes to the OCP db col typesChristoph Wurst2021-01-121-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-25/+43
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Revert "(LDAP) respect DB limits of arguments in an IN statement"Roeland Jago Douma2021-01-081-17/+5
|
* respect DB limits of arguments in a IN listArthur Schiwon2021-01-071-5/+17
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headersChristoph Wurst2020-12-303-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #22916 from J0WI/unifiy-links-to-php.netRoeland Jago Douma2020-12-223-3/+3
|\ | | | | Unify links to php.net