summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Migration/Version1010Date20200630192842.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2021-09-17 19:15:46 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2021-09-27 17:52:13 +0200
commit24f2974267684b364d0396db2acaa6e8dea1c1ad (patch)
treec89465ca48003a1565f1b7173a502870e7116abd /apps/user_ldap/lib/Migration/Version1010Date20200630192842.php
parent62a5d27eb7633eaf046e50f8ada8e2a2b2239f83 (diff)
downloadnextcloud-server-24f2974267684b364d0396db2acaa6e8dea1c1ad.tar.gz
nextcloud-server-24f2974267684b364d0396db2acaa6e8dea1c1ad.zip
ensure that user and group IDs in LDAP's tables are also max 64chars
- limitation by core tables (e.g. sharing), IDs are always 64chars - when longer group IDs were requested they are hashed (does not affect displaynames) Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib/Migration/Version1010Date20200630192842.php')
-rw-r--r--apps/user_ldap/lib/Migration/Version1010Date20200630192842.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/Migration/Version1010Date20200630192842.php b/apps/user_ldap/lib/Migration/Version1010Date20200630192842.php
index 754200405c8..3d9cc40b5b2 100644
--- a/apps/user_ldap/lib/Migration/Version1010Date20200630192842.php
+++ b/apps/user_ldap/lib/Migration/Version1010Date20200630192842.php
@@ -52,7 +52,7 @@ class Version1010Date20200630192842 extends SimpleMigrationStep {
]);
$table->addColumn('owncloud_name', Types::STRING, [
'notnull' => true,
- 'length' => 255,
+ 'length' => 64,
'default' => '',
]);
$table->addColumn('directory_uuid', Types::STRING, [
@@ -73,7 +73,7 @@ class Version1010Date20200630192842 extends SimpleMigrationStep {
]);
$table->addColumn('owncloud_name', Types::STRING, [
'notnull' => true,
- 'length' => 255,
+ 'length' => 64,
'default' => '',
]);
$table->addColumn('directory_uuid', Types::STRING, [