mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 07:08:34 -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
52b57eb753
commit
6c7ba01dfe
1 changed files with 2 additions and 2 deletions
|
|
@ -355,9 +355,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