From: Jeremy Allison on
On Thu, Nov 12, 2009 at 11:47:59AM -0800, dave mathis wrote:
> Recently after installing Amanda backup I discovered that the
> smbclient du command doesn't really work correctly.
>
> If recurse in on, du starts at '/', with recurse off and
> no arg, 0 is returned.
>
> If the mask '*' is passed, only files without a dot in the
> filename are considered. With '*.*' all files are considered
> and du sums only the files in the current directory, no sub-
> directories are summed.
> Behavior is the same if mask is set independently.
>
> Incorrect behavior exists in smbclient 3.2.4, 3.2.7, 3.3.4 and
> 3.4.3
> CORRECT behavior exists in 3.0.36 with 3.4.3 libraries and support.
>
> There are release notes that this issue existed some time ago and
> was resolved. Doesn't seem so in my case.
>
>
> SuSE 11.1, samba 3.2.7 as PDC, a few windows clients and a few
> other SuSE clients.
>
> Anyone else seen du behaving badly?

I just experimented with du in the 3.0.x tree and in
current master, and can't see any difference between
them (except master is faster, probably due to the new
async code).

Can you log a bug with *explicit* instructions to
reproduce the problems you see please ?

Thanks,

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: dave mathis on

Hi Jeremy,

I set up a bugzilla account but the password hasn't arrived 12 hours later.
And yes, I checked the address and it appears to be correct.
Bugzilla even tells me there is an account with the expected name.

I have script output that shows my problem with smbclient du.
I can send that to you, or anyone else.

dave


Jeremy Allison wrote:
> On Thu, Nov 12, 2009 at 11:47:59AM -0800, dave mathis wrote:
>> Recently after installing Amanda backup I discovered that the
>> smbclient du command doesn't really work correctly.
>>
>> If recurse in on, du starts at '/', with recurse off and
>> no arg, 0 is returned.
>>
>> If the mask '*' is passed, only files without a dot in the
>> filename are considered. With '*.*' all files are considered
>> and du sums only the files in the current directory, no sub-
>> directories are summed.
>> Behavior is the same if mask is set independently.
>>
>> Incorrect behavior exists in smbclient 3.2.4, 3.2.7, 3.3.4 and
>> 3.4.3
>> CORRECT behavior exists in 3.0.36 with 3.4.3 libraries and support.
>>
>> There are release notes that this issue existed some time ago and
>> was resolved. Doesn't seem so in my case.
>>
>>
>> SuSE 11.1, samba 3.2.7 as PDC, a few windows clients and a few
>> other SuSE clients.
>>
>> Anyone else seen du behaving badly?
>
> I just experimented with du in the 3.0.x tree and in
> current master, and can't see any difference between
> them (except master is faster, probably due to the new
> async code).
>
> Can you log a bug with *explicit* instructions to
> reproduce the problems you see please ?
>
> Thanks,
>
> Jeremy.

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Jeremy Allison on
On Fri, Nov 13, 2009 at 07:12:52AM -0800, dave mathis wrote:
>
> Hi Jeremy,
>
> I set up a bugzilla account but the password hasn't arrived 12 hours later.
> And yes, I checked the address and it appears to be correct.
> Bugzilla even tells me there is an account with the expected name.
>
> I have script output that shows my problem with smbclient du.
> I can send that to you, or anyone else.

Sure send it to me, but please do add it to a bugzilla
bug as well - otherwise we've no good way of tracking
the bug and preventing regressions.

Thanks !

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba