20 Commits (84619a5b9c58ec7f4e3d7faea8c60a187cb61243)

Author SHA1 Message Date
Arthur Schiwon 84619a5b9c
use serverControls directly with LDAP calls, fixes 19127 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Peter Kubica 3ed1d158bc LDAP Password Modify Extended Operation support 7 years ago
Arthur Schiwon deec5a70a0
avoid logging of "Partial search results returned: Sizelimit exceeded at" 7 years ago
Arthur Schiwon 2048872f9e
functions that were checked for are present since PHP 5.4, supported is >=/ 7 years ago
Arthur Schiwon c8851e24a8
throw ServerNotAvailableException when LDAP is caught shutting down 8 years ago
Arthur Schiwon 25439919f8
fix phpdoc return types (no code change) 8 years ago
Arthur Schiwon 9983e05121
LDAP's checkPassword should only catch when a user was not found, fixes #2431 9 years ago
Lukas Reschke 4c5e7d270a
Add tests 9 years ago
root 861c8572c0
restore ldap_password_pr 9 years ago
Jörn Friedrich Dreyer 4d31caa6f8
fix a few minor code smells 9 years ago
Joas Schilling 813f0a0f40
Fix apps/ 9 years ago
Lukas Reschke aba539703c
Update license headers 10 years ago
Joas Schilling 391531851c
Move interface to PSR-4 10 years ago
Joas Schilling 3690ce1b36
Move LDAP to PSR-4 10 years ago
Arthur Schiwon fe2a506e56 remove deprecated ldap_sort 10 years ago
Thomas Müller 682821c71e Happy new year! 10 years ago
Arthur Schiwon a32b002cff always use an LDAP URL when connecting to LDAP 10 years ago
Arthur Schiwon cdb0689334 handle unallowed auth exception on port detection 11 years ago
Arthur Schiwon 5a56393657 throw exception on LDAP error 1, which we usually do not see and is pretty generic. AD uses is for uses not enlisted in the RFC, like on issues with anonymous binds. we also try to guess this case and show a hint. 11 years ago
Arthur Schiwon b9e5309757 catch unallowed anonymous auth attempt and show specific error 11 years ago
Arthur Schiwon b96b0063f6 throw exception when LDAP Connection was lost 11 years ago
Jenkins for ownCloud b585d87d9d Update license headers 11 years ago
Morris Jobke 06aef4e8b1 Revert "Updating license headers" 11 years ago
Jenkins for ownCloud 6a1a4880f0 Updating license headers 11 years ago
Arthur Schiwon 2676e681e9 ldap_ prefix will be added in invokeLDAPMethod(), having it would lead to a unexisting function, fixes #9829 11 years ago
Arthur Schiwon da490bdbbe support for AD primary groups 11 years ago
Morris Jobke dc36d30953 Remove all occurences of @brief and @returns from PHPDoc 12 years ago
Robin McCorkell c4f1de63a8 Fix PHPDoc in /apps 12 years ago
Lukas Reschke fc8be5abc3 Use proper PHPDoc and variable names in the LDAP lib 12 years ago
root 6585bd5a50 "reset" ldap pagedSearch control by setting it to a high value 12 years ago
root 8fcc29ee8b only check ldap_errno if an ldap_* function actually fails 12 years ago
Arthur Schiwon bc17b40650 LDAP: extend LDAP wrapper search method for sizelimit, improves performance in wizard 12 years ago
Jörn Friedrich Dreyer 2a6a9a8cef polish documentation based on scrutinizer patches 12 years ago
root 54e47b4180 correctly propagate the return value of ldap_set_option 12 years ago
Arthur Schiwon 3b1822cf91 LDAP Wizard: add detection, load and save of LDAP objectClasses for filter purposes 12 years ago
Arthur Schiwon 8290929aa6 LDAP Wizard: autodetect base DN 12 years ago
Arthur Schiwon a1aff3e8a1 LDAP: don't throw exceptions in the wrapper, errors are handled in the code. nevertheless, log unexpected errors 12 years ago
Arthur Schiwon d4f92494a2 LDAP: make Access be a dependency to the user and group backend instead of inheriting it. 12 years ago
Arthur Schiwon 6e850e0bee LDAP: establish wrapper interface to allow proper mocking 12 years ago
Arthur Schiwon 52454e39b7 LDAP: move is_resource check to ldap wrapper to make it mockable 12 years ago
Arthur Schiwon d34fbf3a86 LDAP: move PHP LDAP functions calls to an LDAP Wrapper for better isolation and mock testing 13 years ago