summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib
Commit message (Collapse)AuthorAgeFilesLines
* backport of #11494Arthur Schiwon2014-10-201-1/+1
| | | | | | | | | | | | | | | | | | | fix retrievel of group members and cache group members fix changed variable name with several backends, more than limit can be returned make performance less bad. Still far from good, but at least it works add one simple cache test adjust group manager tests Conflicts: apps/user_ldap/group_ldap.php apps/user_ldap/lib/access.php apps/user_ldap/tests/group_ldap.php
* Backport of #10527Arthur Schiwon2014-10-092-12/+32
| | | | | | | | | | | | | | | | properly cancel a Paginated Results operation in order to avoid protocol errors, fixes #10526 abandon ongoing paged search before starting a new one abandond paged search only if PHP supports them init a new paged search on read operations to satisfy OpenLDAP make scrutinizer happy, very minor changes Conflicts: apps/user_ldap/lib/access.php apps/user_ldap/lib/ildapwrapper.php
* backport of #9848Jean-Louis Dupond2014-08-111-13/+20
| | | | | | | | | | | | | | | | Fix memberOf detection. Fixes: #9835 Conflicts: apps/user_ldap/lib/wizard.php Fix remarks in #9848 Conflicts: apps/user_ldap/lib/wizard.php Fix initializing in #9848 do not change var names here
* Backport subset of #4179, re-established Oracle compatibility for LDAPArthur Schiwon2014-06-202-3/+4
|
* remove unused vars; increase scrutinizer happinessArthur Schiwon2014-06-161-2/+1
|
* simplify two methods a bit, because they are not used for group search anymoreArthur Schiwon2014-06-161-11/+4
|
* make all this work in an early configuration state in the wizard by marking ↵Arthur Schiwon2014-06-162-1/+15
| | | | the config active and ignoring the validation state.
* Wizard: get really all groups from LDAP by power of Paged SearchArthur Schiwon2014-06-161-5/+55
|
* fix PHPdocArthur Schiwon2014-06-161-2/+2
|
* consolidate requirement checkArthur Schiwon2014-06-161-22/+21
|
* LDAP Wizard: count users and groups with the power of paged searchArthur Schiwon2014-06-161-26/+30
|
* add method to count groups on LDAPArthur Schiwon2014-06-161-0/+12
|
* fix PHPdocArthur Schiwon2014-06-161-2/+3
|
* set result entry identifier earlier, i.e. before a continue for the same ↵Arthur Schiwon2014-05-161-2/+2
| | | | level can happen. otherwise will always get the same value and we end up in an infinite loop
* add additional comments, PHPdoc and check whether it's really applicableArthur Schiwon2014-04-161-3/+12
|
* LDAP: cache display names immediately on retrieval, saves tens of unecessary ↵Arthur Schiwon2014-04-161-0/+6
| | | | queries to LDAP server in the share dialog for example
* Backport of PR #7815, correct LDAP user count on setup with many usersArthur Schiwon2014-04-161-15/+40
| | | | | | | | | | | | | | (occ user:report) LDAP: make sure cache key for paged result cookie matches when limit or offset is null or 0 LDAP: fix user report i.e. count for LDAP servers with really many users initialize variable var count is assigned in the inner loop so it must be checked inside there to be properly used as part of the exit condition of the outer loop Put inner loop into own method, let's see whether it makes scrutinizer happier
* Backport of PR #7837 to stable6Arthur Schiwon2014-04-091-7/+25
| | | | | | | | | | | | | | | | | | | | | LDAP Wizard: when determining objectclasses, we realy do not need to look at every entry. Fixes #7530 Conflicts: apps/user_ldap/lib/wizard.php Fix wildcard handling and check even less DNs per filter, enough will be looked at anyway Use the LDAP wrapper for checking resources, needs for proper testing fix potential infinite loop when the DN of the first entry was already read. add tests for cumulativeSearchOnAttribute make tests work on systems without php5_ldap define var add comment to clearify when a skip in the foreach happens
* Meanwhile, the quota value is stored human-readable in the DBArthur Schiwon2014-04-031-2/+1
|
* more precise php docArthur Schiwon2014-04-021-2/+4
|
* add PHP docsArthur Schiwon2014-04-011-1/+12
|
* LDAP: Read email and quota when mapping user, fixes #7785Arthur Schiwon2014-03-281-0/+46
|
* Use array_key_exists instead of isset, because the latter returns false if ↵Arthur Schiwon2014-03-211-2/+2
| | | | the assigned value is null
* On clone create a new instance of the ConfigurationArthur Schiwon2014-03-211-0/+2
| | | | | To avide effects on the original instance of Connection when the clone is modified, for instance on authentication checks.
* Fix duplicate ipauniqueidRobin McCorkell2014-03-211-1/+1
|
* Add FreeIPA UUID compatibility, fixes #7796Robin McCorkell2014-03-211-2/+2
| | | | Ability to use ipauniqueid for the UUID of a user
* Fixed configkey casing for PostgreSQLVincent Petry2014-03-041-1/+1
| | | | Backport of fd5dec0 from master
* LDAP: improve compilation of filtersArthur Schiwon2014-02-211-0/+11
|
* LDAP: prevent other configuration from being deleted when deleting the first ↵Arthur Schiwon2014-02-201-0/+6
| | | | one which has an empty prefix for historical reasons
* Rephrase and clarify log messageArthur Schiwon2014-02-051-1/+1
|
* Wizard: disable LDAP referrals, fixes #6670Arthur Schiwon2014-02-051-0/+1
|
* throw an info message, when base dn test failedArthur Schiwon2014-02-041-0/+4
|
* LDAP: extend LDAP wrapper search method for sizelimit, improves performance ↵Arthur Schiwon2014-02-042-4/+6
| | | | in wizard
* user workarount to compare CLOB column with CHAR valueJörn Friedrich Dreyer2014-01-211-4/+11
|
* Merge pull request #6408 from owncloud/ldap_fix_tls_detectionThomas Müller2014-01-142-5/+9
|\ | | | | LDAP fix TLS detection
| * typo, grammarArthur Schiwon2014-01-081-1/+1
| |
| * LDAP: only read config from database, if configID is given. Not what we want ↵Arthur Schiwon2013-12-131-1/+2
| | | | | | | | to do when on-the-fly-testing settings from the admin page
| * remove unused variablesArthur Schiwon2013-12-131-2/+2
| |
| * LDAP: fix TLS detectionArthur Schiwon2013-12-131-2/+5
| |
* | LDAP: implement userCount action. This required to (finally) clean up and ↵Arthur Schiwon2014-01-091-27/+118
|/ | | | refactor the search method, which will have a positive performance impact on paged search.
* LDAP: fix method behind save button on advancend and expert tabs, fixes at ↵Arthur Schiwon2013-12-121-5/+6
| | | | least Home Folder setinng
* correctly propagate the return value of ldap_set_optionroot2013-12-061-1/+1
| | | | | | otherwise LDAP_OPT_REFERRALS won't be set to 0 and in turn active directory paging will stop working (Operations error on ldap_control_paged_result_response)
* LDAP Wizard: return correct varArthur Schiwon2013-12-031-1/+1
|
* LDAP: set default value for login filter to empty, otherwise the wizard ↵Arthur Schiwon2013-12-031-1/+1
| | | | signals completed configuration too early when it might be not correct, i.e. login won't work
* LDAP Wizard: don't send ldap_tls change back to the interface as the element ↵Arthur Schiwon2013-12-021-1/+0
| | | | was removed, for it is detected fully automatically. Resolves an JS error and thus an ever-spinning spinner
* Merge pull request #5955 from owncloud/fix5863blizzz2013-11-272-0/+48
|\ | | | | LDAP Wizard: Add raw login filter to corresponding tab for consistency, fix behaviour on raw filter input
| * LDAP Wizard: proper behaviour for raw filter input. remember the editing ↵Arthur Schiwon2013-11-192-0/+48
| | | | | | | | mode and compose filter only when desired.
* | LDAP: username2dn should only return DNs that belong to the current LDAP ↵Arthur Schiwon2013-11-251-1/+3
| | | | | | | | server. Might be not perfect. Easy perfect solution would increase communication with LDAP server. Let's see if it is good enough
* | LDAP: proxy: configurable return to determine when to try the next LDAP ↵Arthur Schiwon2013-11-251-3/+4
| | | | | | | | server and when to return (multi server setup)
* | LDAP: get user photo from LDAP and set it as avatar if availableArthur Schiwon2013-11-221-0/+3
| |