summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Connection.php
Commit message (Collapse)AuthorAgeFilesLines
* Only bind if configuration for the first server is availableJulius Härtl2018-07-131-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* allow admin to disable fetching of avatars as well as a specific attributeArthur Schiwon2018-07-051-0/+10
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #10034 from nextcloud/fix/noid/ldap-silence-quota-logmsgsblizzz2018-06-281-0/+3
|\ | | | | lower log level for quota manipulation cases
| * lower log level for quota manipulation casesArthur Schiwon2018-06-281-0/+3
| | | | | | | | | | | | and simplify the forest of ifs a little bit Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | LDAP backup server should not be queried when auth failsArthur Schiwon2018-06-271-8/+4
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* unbound cloned connection fixRoger Szabo2018-04-271-0/+3
| | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
* move log constants to ILoggerArthur Schiwon2018-04-261-33/+45
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* use hash algo that's robust against collisionsArthur Schiwon2018-03-021-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* track the state of the bind resultArthur Schiwon2018-02-221-2/+29
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use type casting instead of *val() methodMorris Jobke2018-01-261-3/+3
| | | | | | It should be up to 6x faster Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* don't show recurring msg when pages result was turned offArthur Schiwon2017-12-211-1/+1
| | | | | | and only as debug level otherwise. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* don't use deprecated method for requesting memcacheArthur Schiwon2017-12-181-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* move LDAP user attributes "sync" to background (except for ajax jobs)Arthur Schiwon2017-11-091-2/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #5568 from nextcloud/ldap-agent-credentials-safeLukas Reschke2017-11-091-1/+1
|\ | | | | Ldap agent credentials save
| * Fix regression: undesired writes to the DBArthur Schiwon2017-10-271-1/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Update license headersMorris Jobke2017-11-061-1/+5
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | avoid unnecessary recursionArthur Schiwon2017-10-251-1/+1
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* and add missing whitespaces to log outoutArthur Schiwon2017-09-281-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* LDAP: Simplify conditions in establishConnectionJarkko Lehtoranta2017-07-231-9/+6
| | | | Signed-off-by: Jarkko Lehtoranta <devel@jlranta.com>
* LDAP: Use imported exception in Connection classJarkko Lehtoranta2017-07-231-4/+4
| | | | Signed-off-by: Jarkko Lehtoranta <devel@jlranta.com>
* LDAP: Clean-up doConnectJarkko Lehtoranta2017-07-231-11/+14
| | | | Signed-off-by: Jarkko Lehtoranta <devel@jlranta.com>
* LDAP: Throw an exception if disabling LDAP referrals failsJarkko Lehtoranta2017-07-231-0/+2
| | | | Signed-off-by: Jarkko Lehtoranta <devel@jlranta.com>
* LDAP: Throw an exception if Start TLS failsJarkko Lehtoranta2017-07-231-1/+3
| | | | | | | This ensures that only a secure connection to the LDAP server will be used, if Start TLS has been enabled. Signed-off-by: Jarkko Lehtoranta <devel@jlranta.com>
* LDAP: Remove unnecessary "recursion" fixJarkko Lehtoranta2017-07-231-7/+0
| | | | | | | This reverts commit 86d72b9a61f5e8a9b57c6f0bb431eb6722aa12a3 "LDAP: fix possible recursion". Signed-off-by: Jarkko Lehtoranta <devel@jlranta.com>
* LDAP: Don't handle invalid credentials as a connection errorJarkko Lehtoranta2017-07-231-2/+9
| | | | Signed-off-by: Jarkko Lehtoranta <devel@jlranta.com>
* LDAP: Connect to backup server only if it exists + handle errorsJarkko Lehtoranta2017-07-231-3/+7
| | | | Signed-off-by: Jarkko Lehtoranta <devel@jlranta.com>
* user_ldap: Add support for gidNumberXuanwo2017-04-251-0/+6
| | | | | | | | | | | | This patch is based on the work of @dleeuw (https://github.com/dleeuw) (See https://github.com/nextcloud/server/issues/2640#issuecomment-269615883 for more details). The difference is user & group data will be written into cache to have better performance, and functions splited from primaryGroupID series to make them more readable. Fixed https://github.com/nextcloud/server/issues/2640 Signed-off-by: Xuanwo <xuanwo@yunify.com>
* add integration test for uuid attr detectionArthur Schiwon2017-02-171-0/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update uuidAttributes list to include FreeIPA's ipauniqueidBrent Bloxam2017-02-101-1/+1
| | | | Signed-off-by: Brent Bloxam <brent.bloxam@gmail.com>
* remove frequent, unimportant log messageArthur Schiwon2016-12-191-5/+0
| | | | | | Fixes #2585 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add testsLukas Reschke2016-11-231-0/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Harden emptyVictor Dubiniuk2016-10-131-5/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* DI IConfig into ldap helperRoeland Jago Douma2016-10-101-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix phpdocRoeland Jago Douma2016-08-291-1/+1
|
* fix a few minor code smellsJörn Friedrich Dreyer2016-08-291-0/+2
|
* New LDAPProvider for user_ldaproot2016-07-221-1/+5
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-211-2/+3
|
* Update license headersLukas Reschke2016-05-261-2/+3
|
* Move Connection to PSR-4Joas Schilling2016-05-251-0/+610