svn commit: samba r9508 - in trunk/source: libsmb smbd
Andrew Bartlett
abartlet at samba.org
Tue Aug 23 09:34:42 GMT 2005
On Tue, 2005-08-23 at 09:21 +0000, vlendec at samba.org wrote:
> Author: vlendec
> Date: 2005-08-23 09:21:05 +0000 (Tue, 23 Aug 2005)
> New Revision: 9508
>
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9508
>
> Log:
> mkdir does return NT_STATUS_NOT_A_DIRECTORY as a 32-bit error code if you try
> to mkdir a:b, and it does return 267 (ERRbaddirectory) if you negotiate DOS
> error codes. Tested with smbclient (no torture test, sorry...)
> Changeset:
> Modified: trunk/source/libsmb/errormap.c
> ===================================================================
> --- trunk/source/libsmb/errormap.c 2005-08-23 08:02:24 UTC (rev 9507)
> +++ trunk/source/libsmb/errormap.c 2005-08-23 09:21:05 UTC (rev 9508)
> @@ -338,7 +338,7 @@
> {ERRDOS, 203, NT_STATUS(0xc0000100)},
> {ERRDOS, 145, NT_STATUS_DIRECTORY_NOT_EMPTY},
> {ERRHRD, ERRgeneral, NT_STATUS_FILE_CORRUPT_ERROR},
> - {ERRDOS, 267, NT_STATUS_NOT_A_DIRECTORY},
> + {ERRDOS, ERRbaddirectory, NT_STATUS_NOT_A_DIRECTORY},
> {ERRHRD, ERRgeneral, NT_STATUS_BAD_LOGON_SESSION_STATE},
> {ERRHRD, ERRgeneral, NT_STATUS_LOGON_SESSION_COLLISION},
> {ERRDOS, 206, NT_STATUS_NAME_TOO_LONG},
Is that a modification to the nt_status -> DOS error table?
This table is automatically generated. We should not modify it by hand
(and if we find we have do, i would prefer the calling function had a
'patch' table it called first).
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc. http://suse.de
Authentication Developer, Samba Team http://samba.org
Student Network Administrator, Hawker College http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20050823/d403d160/attachment.bin
More information about the samba-technical
mailing list