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

Jeremy Allison jra at samba.org
Wed Jan 16 13:34:03 GMT 2002


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