Hallo,
ich wollte die Quota-Kontingente für ein Projekt ändern und habe festgestellt, dass die Änderung keine Wirkung hat. Auch bei Benutzern kann ich das Kontingent nicht ändern. Es hat aber mal funktioniert ![]()
Nun habe ich auf dem Server nachgesehen. Benutzer, die vor einer Weile angelegt habe, haben falsche Quotas:
sophomorix-quota --smbcquotas -i -u aa-beispiel
#### User quota of school default-school: ####
+--------------------------+--------+------+------+------+-------------------+
| user(role:DEFAULT) | share | CALC | USER |CLASS | PROJECTS |
+--------------------------+--------+------+------+------+-------------------+
| aa-beispiel(student:1506)| DEFLT | 1506*| --- | --- | --- |
| smbcquotas in MiB: USED=0 SOFT=-1 HARD=-1 |
+ - - - - + - - + - + - + - + - - - +
| aa-beispiel(student:1006)| GLOBAL | 1006*| --- | --- | --- |
| smbcquotas in MiB: USED=0 SOFT=-1 HARD=-1 |
+ - - - - + - - + - + - + - + - - - +
| aa-beispiel(student:100%)| **CQ** | 1506 | (default-school) |
| aa-beispiel(student:156)| **MQ** | 156 | --- | --- | --- |
+--------------------------+--------+------+------+------+-------------------+
* at end of CALC: quota must be updated **MQ**: MailQuota **CQ**: CloudQuota
Das Setzen der Quotas liefert diese Fehler
root@server:~# sophomorix-quota --set-quota-only
Command line::
Hmmh. do not know what to do with option info
Option verbose is a modifier option
Option json is a modifier option
* forcing info mode
Option combinations successfully checked
OK: SophomorixSchemaVersion 1 matches required Version 1
#### Reading /usr/share/sophomorix/devel/sophomorix.ini ####
#### Distro-check: Ubuntu 18.04 is OK ####
#### Reading /etc/samba/smb.conf ####
#### Reading /usr/lib/linuxmuster-webui/etc/default-ui-permissions.ini ####
#### Parsing: net conf list ####
#### Asking domain passwordsettings from samba ####
#### Reading /etc/linuxmuster/sophomorix/sophomorix.conf ####
#### Reading /etc/linuxmuster/sophomorix/default-school/school.conf ####
#### 1363 user found in AD ####
#### 58 sophomorix adminclasses found in AD ####
#### 51 sophomorix projects/sophomorix-groups found in AD ####
#### Setting Quota/MailQuota of the following users: ####
#### Setting Quota/MailQuota for school default-school: ####
* Share-/Cloudquota of user aa-beispiel:
* SET: default-school to 1506 MiB:
ERROR:
RETURN VALUE: 256
ERROR MESSAGE:
* SET: linuxmuster-global to 1006 MiB:
ERROR:
RETURN VALUE: 256
ERROR MESSAGE:
* OK: sophomorixCloudQuotaCalculated
* Share-/Cloudquota of user abbasyma:
* OK: default-school
* OK: linuxmuster-global
* OK: sophomorixCloudQuotaCalculated
Hat jemand einen Tipp, wo ich suchen kann?
LG Helge
PS: Der Fehler oder ein Ähnlicher wurde schomal berichtet : Fehlermeldung bei Quota in V7 Aber leider ohne Lösung.