dfree behaviour [Was: Re: Broken "dfree command" in Samba 2.0.5a]

Cliff Green green at UMDNJ.EDU
Wed Dec 22 15:28:21 GMT 1999

On Wed, 22 Dec 1999, David Lee enscribed thusly:

DL>On Tue, 21 Dec 1999, Colin Dean wrote:
DL>> Summary:
DL>> The "dfree command" option in smb.conf is ignored by Samba 2.0.5a,
DL>> despite being documented in "man smb.conf".
DL>> Details:
DL>> [...]


DL>Also, as Samba becomes increasingly pre-packaged (RPM etc.), it becomes
DL>increasingly valuable to remove compile-time options, so that a maximally
DL>flexible binary can be produced.  So in the case of "--with-quotas", the
DL>default should now be to include it, using a parameter to enable it.

The only problem with this is that --with-quotas is now broken (as of
2.0.6) on an unknown number of platforms.  There's been a small discussion
on comp.protocols.smb to the effect that on Digital Unix 4.0d and HPUX
10.20, lib/util_sec.c needs to be edited to allow quotas to function
(removing the line: "set_effective_uid(saved_euid);"  from function
restore_re_uid).  The problem is, although this works, none of the
participants of that discussion are sure if this introduces another
(security) problem.

Any comments?

Cliff Green				green at umdnj.edu
Academic Computing Service			  UMDNJ

More information about the samba-technical mailing list