Samba 2.2 Top Of Tree - Returns wrong error code for disk full condition.

P Ranjit Kumar ranjit at cup.hp.com
Thu Jan 17 10:58:12 GMT 2002


Hi Jeremy,

It works fine now. 

- Ranjit

-----Original Message-----
From: Jeremy Allison [mailto:jra at samba.org]
Sent: Wednesday, January 16, 2002 1:28 PM
To: P Ranjit Kumar
Cc: samba-technical at lists.samba.org
Subject: Re: Samba 2.2 Top Of Tree - Returns wrong error code for disk
full condition.


On Wed, Jan 16, 2002 at 12:30:10PM -0800, P Ranjit Kumar wrote:
> Hi
> 
> I am testing Samba 2.2 Top of tree version and found that it returns
> ERRnoaccess for diskfull or quota exceeded errors.
> 
> I think Samba should check for disk full/quota error before returning and
> return appropriate error code.
> 
> The following fix in smbd/reply.c corrects it.

Actually this is better fixed in the error mapping code, that way
all errno = ENOSPC or EQUOTA will get the correct map.

I've just done this fix and committed it to SAMBA_2_2 and HEAD.
If you could test this and confirm with me I'd appreciate it.

Jeremy.





More information about the samba-technical mailing list