-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
limit ldap_dn columns to 4000 #31683
Conversation
aaf4e6a
to
563d4b1
Compare
563d4b1
to
f08f09b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also need to change the check in AbstractMapping::map
And I do not think the migration step for existing data is correct. Incomplete dn in mapping is just broken mapping lines which will appear as remnants for users and ghost for groups.
These lines should be deleted I suppose? Or the migration should just fail and we consider this an invalid previous state.
Realistically the case should not appear as maximum dn length was 255 not long ago and I would not expect anyone using >4000 dn.
Ok so actually maybe it’s good to truncate the lines because it will allow the admin to use the remnant system to clean up users. And they can see what the dn was to know which entry is concerned.
So maybe leave it like this but log which entries have been truncated?
I got confirmation that the first commits unblocks update with Oracle for good. |
f08f09b
to
fd5318a
Compare
fd5318a
to
8d1c149
Compare
I do not understand the checkers failure, was there a composer update or something? |
/rebase |
870f8ab
to
0d4d282
Compare
/rebase |
- enlarging string cols from 255 to more than 4000 fails on default Oracle installations for invalid datatype conversion Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
0d4d282
to
07ab258
Compare
/backport to stable22 |
/backport to stable23 |
fixes #31681, satisfies #31679