summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4512 from nextcloud/fix-translations-2Morris Jobke2017-04-262-2/+14
|\ | | | | Fix translations
| * Use correct plural form and add special strings for tomorrow and todayJoas Schilling2017-04-262-2/+14
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix usersInGroup retrievalArthur Schiwon2017-04-251-14/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix method name due to changes in masterArthur Schiwon2017-04-251-1/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge branch 'master' of https://github.com/Xuanwo/server into Xuanwo-master2Arthur Schiwon2017-04-254-6/+196
|\ \ | |/ |/|
| * user_ldap: Add support for gidNumberXuanwo2017-04-254-6/+196
| | | | | | | | | | | | | | | | | | | | | | | | This patch is based on the work of @dleeuw (https://github.com/dleeuw) (See https://github.com/nextcloud/server/issues/2640#issuecomment-269615883 for more details). The difference is user & group data will be written into cache to have better performance, and functions splited from primaryGroupID series to make them more readable. Fixed https://github.com/nextcloud/server/issues/2640 Signed-off-by: Xuanwo <xuanwo@yunify.com>
* | Merge pull request #1023 from GitHubUser4234/ldap_password_renew_prblizzz2017-04-2416-37/+484
|\ \ | | | | | | Handle password expiry in user_ldap
| * | unit test adjustmentRoger Szabo2017-04-071-2/+2
| | | | | | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
| * | blizzz comments 03.04.2017 with cachingRoger Szabo2017-04-061-2/+7
| | | | | | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
| * | blizzz comments 03.04.2017Roger Szabo2017-04-064-22/+25
| | | | | | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
| * | remove redundant tabsRoger Szabo2017-03-311-4/+4
| | | | | | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
| * | restore ldap_password_renew_prRoger Szabo2017-03-3115-36/+475
| | | | | | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
* | | Adjust existing bruteforce protection codeLukas Reschke2017-04-141-3/+0
| | | | | | | | | | | | | | | | | | | | | - Moves code to annotation - Adds the `throttle()` call on the responses on existing annotations Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Change LDAP method namesMorris Jobke2017-04-123-15/+15
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Update comments to NextcloudMorris Jobke2017-04-1112-51/+51
|/ / | | | | | | | | | | | | * based on PR by @Ardinis * see #4311 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #4143 from nextcloud/ldap-downstream-64Roeland Jago Douma2017-03-301-7/+53
|\ \ | | | | | | Correctly apply quota
| * | Add comments in the updateQuota method to explain the behaviorJuan Pablo Villafáñez2017-03-291-0/+14
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | Check if the user exists before trying to set the quotaJuan Pablo Villafáñez2017-03-291-4/+9
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | Correctly apply quotaJuan Pablo Villafáñez2017-03-291-6/+33
| |/ | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #4141 from nextcloud/ldap-downstream-9Morris Jobke2017-03-291-0/+5
|\ \ | | | | | | Convert the group limit to match the same behaviour as the user search
| * | Convert the group limit to match the same behaviour as the user searchJuan Pablo Villafáñez2017-03-291-0/+5
| |/ | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #3329 from andreas-p/ldap_no-memberof-with-memberuidRoeland Jago Douma2017-03-291-1/+3
|\ \ | |/ |/| Ldap no memberof with memberuid
| * Don't try to use memberof on posixgroups, since it doesn't supportAndreas Pflug2017-01-311-1/+3
| | | | | | | | | | memberUid attributes. Signed-off-by: Andreas Pflug <dev@admin4.org>
* | Remove legacy class OC_Group and OC_UserMorris Jobke2017-03-091-2/+2
| | | | | | | | | | | | * basically a straight replacement of the wrapped code at the calling code parts Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Background jobs can take 4k of characters only. We find a good batch size.Arthur Schiwon2017-02-173-9/+20
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Add repair stepsArthur Schiwon2017-02-178-0/+266
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | add integration test for uuid attr detectionArthur Schiwon2017-02-171-0/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Fix determining the UUID attribute, default of the override is nullArthur Schiwon2017-02-171-1/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #3421 from espro/freeipa-uuid-fixMorris Jobke2017-02-151-1/+1
|\ \ | | | | | | Update uuidAttributes list to include FreeIPA's ipauniqueid
| * | Update uuidAttributes list to include FreeIPA's ipauniqueidBrent Bloxam2017-02-101-1/+1
| |/ | | | | | | Signed-off-by: Brent Bloxam <brent.bloxam@gmail.com>
* / LDAP's checkPassword should only catch when a user was not found, fixes #2431Arthur Schiwon2017-01-303-36/+85
|/ | | | | | Also fixes error processing after ldap_search, due to different return format Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #3264 from nextcloud/ldap-deny-long-dnsMorris Jobke2017-01-262-0/+14
|\ | | | | Gracefully deny users or groups with too long DNs
| * Gracefully deny users or groups with too long DNsArthur Schiwon2017-01-252-0/+14
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #3162 from nextcloud/ldap-ocsMorris Jobke2017-01-254-19/+359
|\ \ | | | | | | Part 1 of LDAP Backend OCS Api
| * | fix deletion for configIDs < s10Arthur Schiwon2017-01-201-14/+12
| | | | | | | | | | | | | | | | | | | | | Also move ensureConfigIDExists checks into try, it might throw DB related exceptions Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | LDAP PUT command now supports setting multiple keys at onceArthur Schiwon2017-01-201-14/+16
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | LDAP OCS Api for show configArthur Schiwon2017-01-191-0/+94
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | test against OCS v2 insteadArthur Schiwon2017-01-191-12/+4
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | add LDAP OCS Api for modifying a configurationArthur Schiwon2017-01-191-5/+64
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | fix and extend behat testsArthur Schiwon2017-01-191-2/+2
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | LDAP OCS Api for delete configArthur Schiwon2017-01-181-0/+51
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | LDAP OCS Api for create configArthur Schiwon2017-01-184-19/+163
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Add icon to admin page sidebar for LDAPMorris Jobke2017-01-241-1/+1
| |/ |/| | | | | | | | | * follow up to nextcloud/server#3151 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Add the icons for shipped appsJoas Schilling2017-01-191-3/+18
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* remove frequent, unimportant log messageArthur Schiwon2016-12-191-5/+0
| | | | | | Fixes #2585 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust: sanitizeDN resides in HelperArthur Schiwon2016-12-051-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Extract lowercase conversion out of the loopJuan Pablo Villafáñez2016-12-051-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* range support for LDAP read operationsArthur Schiwon2016-12-051-22/+121
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* log exception about user not present on LDAP on login only if loglevel is ↵Arthur Schiwon2016-11-291-8/+11
| | | | | | set to debug Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add testsLukas Reschke2016-11-233-1/+5
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>