summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib
Commit message (Collapse)AuthorAgeFilesLines
* [stable8.2] check if renamed user is still valid by reapplying the ld… ↵Thomas Müller2016-08-101-1/+1
| | | | | | | | | | (#25394) * [stable8.2] check if renamed user is still valid by reapplying the ldap filter (#25338) * Add missing filter during cleanup * Fix another missing check
* LDAP: do not attempt to process user records without display name, fixes ↵Arthur Schiwon2016-05-091-0/+8
| | | | fatal error
* Merge pull request #24243 from owncloud/stable8.2-backport-24052blizzz2016-04-263-25/+9
|\ | | | | [stable8.2] Fix LDAP race conditions
| * Fix LDAP race conditionsMorris Jobke2016-04-253-25/+9
| | | | | | | | | | | | | | | | * getFromCache is wrapped in isCached * inbetween the two calls the cache entry hits it's TTL * getFromCache returns null * this fix only checkes if the returned value is null and return only non-null values
* | on clone Connection, do not take over the existing LDAP resourceArthur Schiwon2016-04-252-11/+3
|/ | | | | | | For one, it solves potential conflicts when using the resource. For the other, one on the login check (the only place where a clone happens currently) we do not need to rebind after confirming the user's login was successful.
* Merge pull request #23402 from owncloud/backport-23282-stable8.2Vincent Petry2016-04-201-2/+12
|\ | | | | [stable8.2] fix writing to cache when fallback server should be used immediately
| * fix writing to cache when fallback server should be used immediatelyArthur Schiwon2016-03-181-2/+12
| |
* | Avatar must be saved after login is done and external storages set up ↵Arthur Schiwon2016-03-211-1/+16
|/ | | | properly, fixes #21555
* take the first result of that array, if present. Fixes 2nd display name to ↵Arthur Schiwon2016-02-261-2/+2
| | | | be 'Array', if cache is configured and enabled.
* Merge pull request #22040 from owncloud/stable8.2-backport-21999Thomas Müller2016-02-111-1/+1
|\ | | | | [stable8.2] [user_ldap] properly decode cached objects
| * [user_ldap] properly decode cached objectsMorris Jobke2016-02-011-1/+1
| | | | | | | | * fixes #21896
* | Make LDAP more robust to exceptions and log them properlyMorris Jobke2016-02-101-1/+1
| |
* | Backport of LDAP second display nameArthur Schiwon2016-02-095-12/+41
|/ | | | From c1871f5787cd48eb1e116f7f62bc4d4a50a0a04b
* always use an LDAP URL when connecting to LDAPArthur Schiwon2016-01-113-18/+12
|
* throw NoUserException in getHome when the requested user does not exist anymoreArthur Schiwon2015-12-142-1/+106
| | | | look for DN changes before marking a user as deleted
* Backport of #20093 and #20124Arthur Schiwon2015-11-102-4/+4
| | | | | | | | | | | #20093 LDAP fix quota and case #20124 remove uselessly used parameter, read all user attributes also when looking up users in groups fix update quota with known value fix attribute casing to ensure array keys work remove uselessly used parameter, read all user attributes also when looking up users in groups
* LDAP: attempt to connect to backup server again, if main server is not ↵Arthur Schiwon2015-11-061-20/+31
| | | | available. Fixes #18701
* Merge pull request #20245 from owncloud/backport-20192-stable8.2Vincent Petry2015-11-052-0/+12
|\ | | | | [backport] [stable8.2] if a user that is flag as deleted shows up again, remove that flag. F…
| * if a user that is flag as deleted shows up again, remove that flag. Fixes #20090Arthur Schiwon2015-11-022-0/+12
| |
* | add port to host only, if an URL is used instead of a plain hostnameArthur Schiwon2015-11-041-3/+7
| |
* | add method to count users by loginname and use it for diagnose test, fixes ↵Arthur Schiwon2015-11-022-2/+16
|/ | | | #20151
* Remove arbitrary expression in emptyLukas Reschke2015-10-141-2/+3
| | | | | | Those are only allowed in PHP 5.5, thus making our code incompatible with PHP 5.4 Fixes https://github.com/owncloud/core/issues/19793
* Merge pull request #19635 from owncloud/fix-ldap-value-limitationThomas Müller2015-10-133-43/+50
|\ | | | | allow an attribute to return more than one value
| * adjust fetchList with a single requested attribute accordinglyArthur Schiwon2015-10-091-1/+3
| |
| * treat dn as any other attribute when building the search() return arrayArthur Schiwon2015-10-081-3/+3
| |
| * adjust handling changed return array structure from search() and fetchList()Arthur Schiwon2015-10-083-12/+32
| |
| * allow an attribute to return more than one valueArthur Schiwon2015-10-072-29/+14
| |
* | Merge pull request #19489 from owncloud/fix-18297Thomas Müller2015-10-072-1/+25
|\ \ | |/ |/| fix possible infinite loop when reading groups in the wizard
| * fix possible infinite loop when reading groups in the wizardArthur Schiwon2015-10-052-1/+25
| |
* | Merge pull request #19597 from owncloud/update-license-headersThomas Müller2015-10-062-0/+2
|\ \ | | | | | | update licence headers via script
| * | update licence headers via scriptMorris Jobke2015-10-052-0/+2
| |/
* | trim by default, add unit testsArthur Schiwon2015-10-051-16/+34
| |
* | Spaces -> Tabs, Update PHP-Doc and function logicLennart Rosam2015-10-051-12/+27
| |
* | Remove whitespace from base-DNsLennart Rosam2015-10-051-6/+12
|/
* LDAP Wizard: do not be picky about credentials when only looking for the portArthur Schiwon2015-10-031-4/+5
|
* memberOf resembles a DN as well and is actively usedArthur Schiwon2015-09-281-1/+3
|
* do not throw exception when no attribute is specifiedArthur Schiwon2015-09-231-1/+4
|
* read all relevant user attributes on login and user search, in one query. ↵Arthur Schiwon2015-09-233-28/+218
| | | | saves us some.
* Use "json_encode" and "json_decode" instead of unserializeLukas Reschke2015-09-022-4/+4
|
* Merge pull request #18244 from owncloud/fix-issue-17677blizzz2015-08-241-3/+0
|\ | | | | Fix 17677 - Remove LDAP case sensitive checkbox
| * Fix 17677Lennart Rosam2015-08-121-3/+0
| |
* | Merge pull request #14401 from owncloud/ux-s2s-ldapThomas Müller2015-08-191-0/+31
|\ \ | |/ |/| allow login names to be used for s2s with LDAP users
| * allow login names to be used for s2s with LDAP usersArthur Schiwon2015-04-131-0/+31
| |
* | Merge pull request #17923 from owncloud/fix-17921blizzz2015-07-291-8/+0
|\ \ | | | | | | Remove Log info when no group filter is set, fixes #17921
| * | remove unused varblizzz2015-07-291-2/+0
| | |
| * | Remove Log info when no group filter is set, fixes #17921blizzz2015-07-281-6/+0
| | | | | | | | | The log message is superfluous and too noisy. If an admin decides not to use groups, he does not need to be reminded about it on almost every request.
* | | fix uncaught exception on not permitted file types when setting avatar, ↵Arthur Schiwon2015-07-271-1/+7
|/ / | | | | | | fixes #17232
* | Merge pull request #17526 from owncloud/fix-17516Morris Jobke2015-07-271-0/+11
|\ \ | | | | | | LDAP: when checking group for matching filter, also take base DN into…
| * | LDAP: when checking group for matching filter, also take base DN into ↵Arthur Schiwon2015-07-091-0/+11
| | | | | | | | | | | | consideration. Fixes #17516
* | | fix runtime caching in ldap's user manager, fixes #17631Arthur Schiwon2015-07-171-2/+2
| | |