Univention Bugzilla – Bug 31234
[Samba 4] xfs quotas will not work on UCS-3.1-1
Last modified: 2013-05-22 16:18:26 CEST
The same for Samba 4: +++ This bug was initially created as a clone of Bug #31210 +++ (In reply to comment #3) > I've talked to CH and after some more tests I was able to reproduce it. Thanks > for the clarification. > > I've installed a UCS 3.1-1 amd64 with Samba 4 and various xfs partitions. I've > enabled the file system quota via the UMC module: > https://<server>/univention-management-console/?module=quota > > After that I created a share and linked a quota policy with the share. > > In Windows XP SP3 the file system shows the double side and the reserved file > system is only a few bytes. > > The same occurred with a Samba 3 Memberserver as member in the S4 domain. I > think it is also the same with a Samba 3 Memberserver in a S3 domain. > > After reading Bug #29650 carefully I must say the problem is not new. But the > priority has not been recognized correctly. > > The patch from the samba bugzilla solved the problem for Samba 3. For Samba 4 > the problem is still available but a part of the patch is applied. > > We should adjust and apply the patches for Samba 3 and Samba 4. The patches > uses xfs/xqm.h from xfslibs-dev and not the old linux/dqblk_xfs.h. The tests > should be very carefully and combined with the upcoming errata for > univention-quota: Bug #24357 + Bug #30636.
A build dependency to xfslibs-dev has been added and Samba 4 has been rebuild. I've also added a simple test case to ucs-test which tests the quota on ext2, ext3, ext4 and xfs. The test compares the smbcquota and the repquota output. This test does not check if it is still possible to upload files on an exceeded partition. This has to be checked manually. For the QA: due to Bug #30636 the current univention-quota test package does not work. You should use an old version.
YAML: 2013-05-02-samba4.yaml
Verified: * quota-test of ucs-test -s samba -E dangerous: OK (tested on i386+amd64) * samba4-Version matches Advisory * Package also built with xfslibs-dev (xfs/xpm.h) for ucs3.1-2: root@master10:~# apt-cache policy samba4 samba4: Installiert: 4.0.3-1.376.201304300818 Kandidat: 4.0.3-1.377.201305061354 Versionstabelle: 4.0.3-1.377.201305061354 0 500 http://192.168.0.10/build2/ ucs_3.1-0-ucs3.1-2/i386/ Packages *** 4.0.3-1.376.201304300818 0 500 http://192.168.0.10/build2/ ucs_3.1-0-errata3.1-1/i386/ Packages
http://errata.univention.de/ucs/3.1/110.html