summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Wizard.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into ldapi-unix-socket-supportCôme Chilliet2022-11-221-115/+110
|\ | | | | Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
| * Fix $host var handling to avoid passing null to ldap_connectCôme Chilliet2022-10-251-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Clean up LDAP Wizard typingCôme Chilliet2022-10-201-99/+95
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Avoid double ldap_unbind in Wizard.phpCôme Chilliet2022-10-111-1/+0
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Fix code style with codesnifferCôme Chilliet2022-10-111-18/+18
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Fix typos in apps/ subdirectoryluz paz2022-09-051-2/+2
| | | | | | | | | | | | | | Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/` Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Add ldap-unix-socket support - squashed commits to files Connection.php, ↵Vincent Van Houtte2022-09-091-63/+77
|/ | | | | | Configuration.php, Wizard.php, LDAP.php and view.js Signed-off-by: Vincent Van Houtte <vvh@aplusv.be>
* Remove unused methodJoas Schilling2022-08-221-14/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix plural usage in LDAP wizardJoas Schilling2022-08-221-13/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix assignment of the LDAP Wizard connectionChristoph Wurst2022-03-311-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix PHP 8.1 support for user_ldap applicationCôme Chilliet2021-12-161-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use Psr\Log\LoggerInterface where it can easily be used in user_ldapCôme Chilliet2021-10-141-12/+38
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use query builder instead of OC_DB in user_ldapJoas Schilling2020-11-061-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-12/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* added "zimbraMailForwardingAddress" as a Group-Member association attribute ↵Tobias Perschon2020-08-071-1/+1
| | | | | | | | | | | | | | | to enable the use of Zimbra Distribution Lists as groups in nextcloud when connecting to a zimbra LDAP Signed-off-by: Tobias Perschon <tobias@perschon.at> fix cs:check Signed-off-by: Tobias Perschon <tobias@perschon.at> Update apps/user_ldap/lib/Group_LDAP.php Co-authored-by: blizzz <blizzz@arthur-schiwon.de> Signed-off-by: Tobias Perschon <tobias@perschon.at>
* Add visibility to all constantsChristoph Wurst2020-04-101-9/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all properties and move static keywordChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-130/+128
| | | | | | | | | | | | | | | 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-5/+5
| | | | 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>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-54/+54
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-70/+70
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fixes possible override of uniqueMember by autodetectionArthur Schiwon2019-05-171-3/+3
| | | | | | | | | | | | | * uniqueMember was the default so we did not know whether this setting is desired or the initial value * autodetection of the user-group association attribute runs only when it was not set (as far as we knew) * the default is now empty * thus LDAPProvider might return this value as well (in exceptional cases) * if a group base is given (edge case), use this instead of general base * resolves #12682 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* move log constants to ILoggerArthur Schiwon2018-04-261-8/+9
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* parameter provided to L10N::n() could have been a stringArthur Schiwon2018-04-051-17/+26
| | | | 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
| | | | 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>
* Update license headersMorris Jobke2017-11-061-0/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #5642 from tobru/fix/groupOfUniqueNames_in_WizardMorris Jobke2017-09-051-1/+1
|\ | | | | recognize groupOfUniqueNames as valid LDAP group object
| * recognize groupOfUniqueNames as valid LDAP group objectTobias Brunner2017-07-071-1/+1
| | | | | | | | | | This was already partly done in f88109b but was missed in the fetchGroups function.
* | Merge pull request #5616 from ↵Morris Jobke2017-08-101-16/+3
|\ \ | | | | | | | | | | | | nextcloud/ldap-wizard-remove-LDAPTLS_REQCERT-attempt LDAP Wizard: do not attempt to recognise cert issue by using LDAPTLS_REQCERT
| * | do not attempt to recognise cert issue by using LDAPTLS_REQCERTArthur Schiwon2017-07-211-16/+3
| | | | | | | | | | | | | | | | | | | | | first, it does not work (at least not everywhere/reliably), second if it did it was not reset properly. Removes a bit of complexity. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Fix comparison in the ldap appJoas Schilling2017-08-011-1/+1
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / : Bigversal and LDAPAllan Nordhøy2017-07-141-2/+2
|/
* user_ldap: Add support for gidNumberXuanwo2017-04-251-2/+3
| | | | | | | | | | | | 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>
* Harden emptyVictor Dubiniuk2016-10-131-10/+12
| | | | 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 a few minor code smellsJörn Friedrich Dreyer2016-08-291-1/+0
|
* Merge pull request #349 from nextcloud/ldab-groupOfUniqueNamesblizzz2016-07-261-1/+1
|\ | | | | add groupOfUniqueNames as valid group object class
| * add groupOfUniqueNames as valid group object classRobin Appelman2016-07-081-1/+1
| |
* | Update with robinJoas Schilling2016-07-211-1/+1
| |
* | Fix apps/Joas Schilling2016-07-211-2/+3
|/
* Update license headersLukas Reschke2016-05-261-2/+4
|
* Fix several minor issuesJoas Schilling2016-05-251-2/+3
|