summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/LDAP.php
Commit message (Collapse)AuthorAgeFilesLines
* PHP-CS-Fixer greenRoeland Jago Douma2020-04-161-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* use serverControls directly with LDAP calls, fixes 19127Arthur Schiwon2020-04-141-18/+47
| | | | | | | | - adapters for PHP API version to Support PHP < 7.3 - switch to pass only one base per search - cookie logic is moved from Access to API adapters Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-11/+11
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use elseif instead of else ifChristoph Wurst2020-04-101-8/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* LDAP Password Modify Extended Operation supportPeter Kubica2019-03-191-0/+11
| | | | Signed-off-by: Peter Kubica <peter@kubica.ch>
* avoid logging of "Partial search results returned: Sizelimit exceeded at"Arthur Schiwon2018-11-071-1/+17
| | | | | | | LDAP servers respond with that even if a limit was passed with the request. Having this statement logged causes a lot of confusion. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* functions that were checked for are present since PHP 5.4, supported is >=/Arthur Schiwon2018-10-251-10/+0
| | | | | | | * so the check from older days is really not necessary anymore * resolves #10923 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* throw ServerNotAvailableException when LDAP is caught shutting downArthur Schiwon2018-01-021-7/+10
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix phpdoc return types (no code change)Arthur Schiwon2017-07-211-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* LDAP's checkPassword should only catch when a user was not found, fixes #2431Arthur Schiwon2017-01-301-28/+82
| | | | | | Also fixes error processing after ldap_search, due to different return format Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add testsLukas Reschke2016-11-231-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* restore ldap_password_prroot2016-11-231-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de> remove notification part Signed-off-by: Roger Szabo <roger.szabo@web.de> blizzz comments Signed-off-by: Roger Szabo <roger.szabo@web.de> morris comment Signed-off-by: Roger Szabo <roger.szabo@web.de> improved error message for changing password Signed-off-by: Roger Szabo <roger.szabo@web.de> blizz comments 20161013 Signed-off-by: Roger Szabo <roger.szabo@web.de> Signed-off-by: Roger Szabo <roger.szabo@web.de> Adjust HintException usage Signed-off-by: Roger Szabo <roger.szabo@web.de> Signed-off-by: Roger Szabo <roger.szabo@web.de>
* fix a few minor code smellsJörn Friedrich Dreyer2016-08-291-0/+1
|
* Fix apps/Joas Schilling2016-07-211-2/+3
|
* Update license headersLukas Reschke2016-05-261-2/+3
|
* Move interface to PSR-4Joas Schilling2016-05-251-1/+0
|
* Move LDAP to PSR-4Joas Schilling2016-05-251-0/+302