Author Topic: User quota not working for users before Upgrade from Zentyal 2.0 to 2.2  (Read 3585 times)

master

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
I upgraded today from Zentyal 2.0 to 2.2. Everything worked fine except for 'User quota'. Using the migration tool.
After the upgrade 'User quota' parameter were reset to 0 to all existing users. And it seems not possible to change it. When you try to change the value and then click on the change button it resets back to 0.
But when you create a new users the 'User quota' is working fine!.

Is there a solution or a workaround on how to change User quota on old users (users before the upgrade)?
Do I need to create all users again?

When I try to change the quota I see this in the syslog file:
"slapd[3871]: entry failed schema check: attribute 'quota' not allowed"

So does that mean the attribute quota needs to be defined for all users in LDAP?
Is that a new function to handle quotas?

Thanks in advance!

Kind regards,
/Master
« Last Edit: October 29, 2011, 06:22:16 pm by master »

exekias

  • Zentyal Staff
  • Zen Warrior
  • *****
  • Posts: 196
  • Karma: +21/-0
    • View Profile
    • The Big Bug Theory
Re: User quota not working for users before Upgrade from Zentyal 2.0 to 2.2
« Reply #1 on: October 31, 2011, 04:24:37 pm »
Hi master,

I have just committed a script that fixes your problem, It will also fix any future migrations, you can apply it by downloading and executing this script as root:

http://trac.zentyal.org/export/23575/trunk/extra/migrate-2.0-to-2.2/post-upgrade/005_fix_quotas

thank you for your feedback! We really appreciate it

Best regards