Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove unused use statement | Arthur Schiwon | 2019-03-06 | 1 | -1/+0 |
| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | fix nested group retrieval also for 2 other cases | Arthur Schiwon | 2019-03-05 | 3 | -84/+111 |
| | | | | | | and also consolidate logic in one method Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | Fixed unit test: groupsMatchFilter will not be called multiple times anymore. | Roland Tapken | 2019-03-05 | 1 | -1/+1 |
| | | | | Signed-off-by: Roland Tapken <roland@bitarbeiter.net> | ||||
* | Reduce queries to LDAP by caching nested groups | Roland Tapken | 2019-03-05 | 1 | -6/+18 |
| | | | | | | | Nested groups are now cached in a CappedMemoryCache object to reduce queries to the LDAP backend. Signed-off-by: Roland Tapken <roland@bitarbeiter.net> | ||||
* | user_ldap: really resolve nested groups | Roland Tapken | 2019-03-05 | 1 | -14/+19 |
| | | | | | | | | | | | The previous patch fixed the problem only for one level of indirection because groupsMatchFilter() had been applied on each recursive call (and thus there would be no second level if the first level fails the check). This new implementation replaces the recursive call with a stack that iterates all nested groups before filtering with groupsMatchFilter(). Signed-off-by: Roland Tapken <roland@bitarbeiter.net> | ||||
* | user_ldap: Filter groups after nexted groups | Roland Tapken | 2019-03-05 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently groupsMatchFilter is called before nested groups are resolved. This basicly breaks this feature since it is not possible to inherit membership in a group from another group. Minimal example: Group filter: (&(objectClass=group),(cn=nextcloud)) Nested groups: enabled cn=nextcloud,ou=Nextcloud,ou=groups,dn=company,dn=local objectClass: group cn=IT,ou=groups,dn=company,dn=local objectClass: group memberOf: cn=nextcloud,ou=Nextcloud,ou=groups,dn=company,dn=local cn=John Doe,ou=users,dn=company,dn=local objectClass: person memberOf: cn=IT,ou=groups,dn=company,dn=local Since 'cn=IT,ou=groups,dn=company,dn=local' doesn't match the group filter, John wouldn't be a member of group 'nextcloud'. This patch fixes this by filtering the groups after all nested groups have been collected. If nested groups is disabled the result will be the same as without this patch. Signed-off-by: Roland Tapken <roland@bitarbeiter.net> | ||||
* | Fix tests | Julius Härtl | 2019-03-01 | 1 | -4/+6 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-03-01 | 4 | -30/+32 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-02-28 | 2 | -0/+2 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-02-27 | 2 | -0/+2 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-02-26 | 12 | -0/+12 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-02-25 | 22 | -22/+0 |
| | |||||
* | Fixed grammar | rakekniven | 2019-02-22 | 1 | -1/+1 |
| | | | | | Reported at Transifex. Signed-off-by: Mark Ziegler <mark.ziegler@rakekniven.de> | ||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-02-21 | 2 | -0/+10 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-02-19 | 4 | -8/+16 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-02-18 | 6 | -0/+10 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-02-17 | 12 | -2/+24 |
| | |||||
* | add GUI option to set the $home placeholder | Arthur Schiwon | 2019-02-14 | 2 | -1/+15 |
| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | add LDAP ConfigHandler for external storages and "$home" var | Arthur Schiwon | 2019-02-14 | 12 | -3/+230 |
| | | | | | | | | * handler registered upon OCA\\Files_External::loadAdditionalBackends event as user_ldap is loaded before files_external * new configuration field "ldapExtStorageHomeAttribute" (not in GUI yet) Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | ensure attribute names are lower cased | Arthur Schiwon | 2019-02-14 | 2 | -15/+19 |
| | | | | | | | otherwise they will be skipped when the results is being formatted and the lower-cased result keys do not match. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-02-14 | 2 | -46/+46 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-02-08 | 2 | -4/+4 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-02-06 | 4 | -12/+12 |
| | |||||
* | Comment fix. | Filis Futsarov | 2019-01-30 | 1 | -1/+1 |
| | |||||
* | iterate over bases instead of doing parallel search | Arthur Schiwon | 2019-01-28 | 1 | -5/+28 |
| | | | | | | | parallel search is not compatible with paged search, but the letter is usually always applied. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-01-26 | 2 | -4/+4 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-01-24 | 2 | -2/+2 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-01-23 | 2 | -0/+2 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-01-16 | 4 | -8/+8 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-01-15 | 2 | -98/+98 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-01-14 | 2 | -36/+36 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-01-13 | 2 | -2/+2 |
| | |||||
* | Npmize (vendor) scripts | Christoph Wurst | 2019-01-09 | 1 | -3/+0 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2019-01-05 | 2 | -4/+4 |
| | |||||
* | Merge pull request #13138 from ↵ | Morris Jobke | 2019-01-04 | 4 | -32/+184 |
|\ | | | | | | | | | nextcloud/enhancement/noid/ldap-remnants-detected-field register and show when an LDAP user was detected as unavailable/deleted | ||||
| * | ensure db is pristine before starting the tests | Arthur Schiwon | 2019-01-04 | 1 | -0/+3 |
| | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
| * | LDAP: extend remnants output with "detected on" field | Arthur Schiwon | 2018-12-21 | 3 | -26/+57 |
| | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
| * | add tests for the DUI | Arthur Schiwon | 2018-12-21 | 2 | -6/+124 |
| | | | | | | | | | | | | as they are interact with the DB they are more integraiton than unit tests Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | | [tx-robot] updated from transifex | Nextcloud bot | 2019-01-04 | 2 | -110/+110 |
| | | |||||
* | | [tx-robot] updated from transifex | Nextcloud bot | 2018-12-31 | 2 | -6/+6 |
| | | |||||
* | | [tx-robot] updated from transifex | Nextcloud bot | 2018-12-28 | 2 | -0/+24 |
| | | |||||
* | | [tx-robot] updated from transifex | Nextcloud bot | 2018-12-27 | 2 | -10/+10 |
| | | |||||
* | | [tx-robot] updated from transifex | Nextcloud bot | 2018-12-24 | 2 | -2/+34 |
|/ | |||||
* | do not forgot to store the second displayname portion | Arthur Schiwon | 2018-12-20 | 1 | -1/+1 |
| | | | | | | otherwise it causes a chain reaction of system addressbook updates Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2018-12-19 | 2 | -4/+4 |
| | |||||
* | [tx-robot] updated from transifex | Nextcloud bot | 2018-12-18 | 2 | -0/+2 |
| | |||||
* | Merge pull request #12693 from nextcloud/fix/11474/fix-first-ldap-login | blizzz | 2018-12-17 | 4 | -15/+49 |
|\ | | | | | fix exception on LDAP mapping during login | ||||
| * | LDAP clear cache on config modification also when done via API or CLI | Arthur Schiwon | 2018-12-17 | 3 | -1/+19 |
| | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
| * | cache users as existing after mapping | Arthur Schiwon | 2018-11-27 | 1 | -14/+30 |
| | | | | | | | | | | | | | | | | | | during login they might be cached as non-existing and cause an Exception in the long run reduces some duplication, too Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | | [tx-robot] updated from transifex | Nextcloud bot | 2018-12-14 | 2 | -0/+6 |
| | |