Release of 2.0.7 due soon.

Norbert Püschel Pueschel.Norbert at Walzbarren-VAW.ne.uunet.de
Fri Apr 7 05:58:57 GMT 2000



Jeremy Allison schrieb:
> 
> Hi all,
> 
>         2.0.7 looks ready to roll, code-wise. The remaining things
> are to check the utmp pre3 patch to see if it works (I
> still need feedback on that) and for the binary package
> maintainers to fix the packaging scripts.
> 

There is a long standing bug in Solaris quota handling: If the soft
quota is zero,
you need to check the hard quota instead. This bug may affect other
systems as well.

Here is the patch:

*** quotas.c.orig       Fri Apr  7 07:47:24 2000
--- quotas.c    Fri Apr  7 07:53:13 2000
***************
*** 367,373 ****
--- 367,378 ----
      return(False);
    }

+   /* If softlimit is zero, set it equal to hardlimit.
+    */

+   if (D.dqb_bsoftlimit==0)
+     D.dqb_bsoftlimit = D.dqb_bhardlimit;
+
    /* Use softlimit to determine disk space. A user exceeding the quota
is told
     * that there's no space left. Writes might actually work for a bit
if the
     * hardlimit is set higher than softlimit. Effectively the disk
becomes

Bye,
  N. Pueschel
-- 
Norbert Pueschel            Koblenzer Str. 122
Dipl.-Inf.                  D-41415 Neuss
EDV-Projekte                Telefon: 02131/382-512
Geschaeftsfeld Walzbarren   Telefax: 02131/382-694


More information about the samba-technical mailing list