samba .20 and quotas

Thomas Bork tombork at web.de
Mon Oct 10 18:37:00 GMT 2005


Ingo Steuwer wrote:

> this Bug or a similar one seems to be still present in 3.0.20a (Backtrace is 
> attached).
> What I did:
> - take 3.0.20 or patch 3.0.20 with the provided diff to 3.0.20a
> - set up a machine with kernel 2.4.31 and XFS as root-filesystem with enabled 
> quota
> - connect a share to WinXP SP1 and enter quota-administration
> The same backtrace occurs each time if quota-administration is entered, quotas 
> are shown or tried to change. Changes are not possible, the shown users are 
> complete but the values are wrong.

I would be very proud to see the tab "Quota" on a mapped network drive 
at all ;)

What I did:
- Build samba 3.0.20a (--with-quotas).
- Set up a machine with 2.4.26-1 and ext3 as root fs with enabled quota.
   vmeis # mount | grep quota
   /dev/hda3 on / type ext3 (rw,usrquota,grpquota,errors=remount-ro)
- Connect the share 'public' (path /public) to WinXP-SP2 drive Z:.

If I choose properties of Z:, I have only the tabs "General" and 
"Security" (in german "Allgemein" and "Sicherheit") - no tab "Quota" (in 
german "Kontingent").

Quotas are working. If I set up a userquota for the user 'tb' and 
working on the XP client as 'tb', the quotas are shown:

vmeis # df /dev/hda3
Dateisystem          1K-Blöcke   Benutzt Verfügbar Ben% Eingehängt auf
/dev/hda3              5004636   2952304   1798104  63% /
vmeis # quota -u tb
Disk quotas for user tb (uid 2001):
      Filesystem  blocks   quota   limit   grace   files   quota   limit 
   grace
       /dev/hda3  321748  512000  614400            8333       0       0

Z:\>dir
  Datenträger in Laufwerk Z: ist public
  Volumeseriennummer: 0540-0882

  Verzeichnis von Z:\
[...]
               65 Datei(en)     83.277.269 Bytes
               10 Verzeichnis(se),    194.818.048 Bytes frei


der tom


More information about the samba-technical mailing list