diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-09-17 19:15:46 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-09-27 17:52:13 +0200 |
commit | 24f2974267684b364d0396db2acaa6e8dea1c1ad (patch) | |
tree | c89465ca48003a1565f1b7173a502870e7116abd /apps/user_ldap/lib/Migration/Version1010Date20200630192842.php | |
parent | 62a5d27eb7633eaf046e50f8ada8e2a2b2239f83 (diff) | |
download | nextcloud-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.php | 4 |
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, [ |