HP3000-L Archives

April 2000, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Anthony Rizzo <[log in to unmask]>
Reply To:
Anthony Rizzo <[log in to unmask]>
Date:
Mon, 24 Apr 2000 15:50:19 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
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.

ATOM RSS1 RSS2