Subject: | |
From: | |
Reply To: | |
Date: | Mon, 24 Apr 2000 16:51:33 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
What are the "various changes" in these 3 versions?
Does one of those changes include fixing the fact that when copying a file,
Samba sets the date/time stamp
for the destination copy to today's date/time?
Bill Grefe
[log in to unmask]
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf
Of Anthony Rizzo
Sent: Monday, April 24, 2000 3:50 PM
To: [log in to unmask]
Subject: Replacing dfree with fake free space in Samba
The HP officially released version of Samba is 0.7c. There are several
problems in this release when using non-guest shares (guest ok = no). One
problem is that the statfs() routine returns 0 bytes free. There are three
unsupported versions of Samba/iX, namely 0.7j, 0.8a, and 0.8b, that contain
various changes with one of these changes to return a fake 1GB bytes free
for non-guest shares. To enable this 1GB bytes free to be returned, the
dfree command must be disabled in the Samba configuration file smb.conf.
This is easily accomplished by putting a # in front of the line "dfree
command = /usr/local/samba/lib/myfree" in smb.conf thus turning this line
into a comment. One additional bonus is that the 1GB bytes free is
returned with no delay. When the dfree command was called for guest
shares, it took a long time to execute because it launched the shell and
ran discfree. The reason a non zero bytes free is important is that
several programs such as Dr. Watson use this size to determine if there is
sufficient space for file build operations. They abort or will not build a
file when 0 bytes free is returned. Thanks goes to Lars Appel for adding
this fake free spaces option and pointing out that the dfree command needs
to be disabled for this to work.
|
|
|