mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Adapt max length limit in AbstactMapping to match database
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
8ce4f33e10
commit
f9b0c85933
1 changed files with 2 additions and 2 deletions
|
|
@ -358,9 +358,9 @@ abstract class AbstractMapping {
|
|||
* @return bool
|
||||
*/
|
||||
public function map($fdn, $name, $uuid) {
|
||||
if (mb_strlen($fdn) > 4096) {
|
||||
if (mb_strlen($fdn) > 4000) {
|
||||
\OC::$server->getLogger()->error(
|
||||
'Cannot map, because the DN exceeds 4096 characters: {dn}',
|
||||
'Cannot map, because the DN exceeds 4000 characters: {dn}',
|
||||
[
|
||||
'app' => 'user_ldap',
|
||||
'dn' => $fdn,
|
||||
|
|
|
|||
Loading…
Reference in a new issue