*
* Copyright (c) International Business Machines Corp., 2002,2004
* Author(s): Steve French (sfrench@us.ibm.com)
*
* See Error Codes section of the SNIA CIFS Specification
* for more information
*
*/
#define SUCCESS 0x00
#define ERRDOS 0x01
#define ERRSRV 0x02
#define ERRHRD 0x03
#define ERRCMD 0xFF
#define ERRbadfunc 1
recognize or could not perform a
system call generated by the server,
e.g., set the DIRECTORY attribute on
a data file, invalid seek mode. */
#define ERRbadfile 2
of a file's pathname could not be
found. */
#define ERRbadpath 3
component in a pathname could not be
found. */
#define ERRnofids 4
no file handles available. */
#define ERRnoaccess 5
does not permit the requested
function. This includes the
following conditions: invalid rename
command, write to Fid open for read
only, read on Fid open for write
only, attempt to delete a non-empty
directory */
#define ERRbadfid 6
specified was not recognized by the
server. */
#define ERRbadmcb 7
#define ERRnomem 8
perform the requested function. */
#define ERRbadmem 9
#define ERRbadenv 10
#define ERRbadformat 11
#define ERRbadaccess 12
#define ERRbaddata 13
IOCTL calls within the server). */
#define ERRbaddrive 15
#define ERRremcd 16
to remove the server's current
directory. */
#define ERRdiffdevice 17
volume rename was attempted */
#define ERRnofiles 18
more files matching the specified
criteria. */
#define ERRwriteprot 19
#define ERRgeneral 31
#define ERRbadshare 32
Open conflicts with existing FIDs on
the file. */
#define ERRlock 33
existing lock or specified an
invalid mode, or an Unlock requested
attempted to remove a lock held by
another process. */
#define ERRunsup 50
#define ERRnosuchshare 67
#define ERRfilexists 80
already exists. */
#define ERRinvparm 87
#define ERRdiskfull 112
#define ERRinvname 123
#define ERRinvlevel 124
#define ERRdirnotempty 145
#define ERRnotlocked 158
#define ERRcancelviolation 173
#define ERRalreadyexists 183
#define ERRbadpipe 230
#define ERRpipebusy 231
#define ERRpipeclosing 232
#define ERRnotconnected 233
#define ERRmoredata 234
#define ERReasnotsupported 282
#define ErrQuota 0x200
limit to be exceeded. */
#define ErrNotALink 0x201
pathname that was not a link. */
from STATUS codes to POSIX only */
#define ERRsymlink 0xFFFD
#define ErrTooManyLinks 0xFFFE
#define ERRerror 1
returned under the following
conditions: resource other than disk
space exhausted (e.g. TIDs), first
SMB command was not negotiate,
multiple negotiates attempted, and
internal server error. */
#define ERRbadpw 2
a TreeConnect or Session Setup are
invalid. */
#define ERRbadtype 3
needed */
#define ERRaccess 4
necessary access rights within the
specified context for requested
function. */
#define ERRinvtid 5
invalid. */
#define ERRinvnetname 6
connect. */
#define ERRinvdevice 7
made to non-printer connection or
non-printer request made to printer
connection. */
#define ERRqfull 49
by open print file. */
#define ERRqtoobig 50
#define ERRqeof 51
#define ERRinvpfid 52
#define ERRsmbcmd 64
command received. */
#define ERRsrverror 65
error, e.g., system file
unavailable. */
#define ERRbadBID 66
#define ERRfilespecs 67
contained an invalid combination of
values. */
#define ERRbadLink 68
#define ERRbadpermits 69
a file or directory are not a valid
combination. */
#define ERRbadPID 70
#define ERRsetattrmode 71
#define ERRpaused 81
#define ERRmsgoff 82
#define ERRnoroom 83
#define ERRrmuns 87
#define ERRtimeout 88
#define ERRnoresource 89
*/
#define ERRtoomanyuids 90
*/
#define ERRbaduid 91
*/
#define ERRusempx 250
#define ERRusestd 251
or mpx */
#define ERR_NOTIFY_ENUM_DIR 1024
#define ERRnoSuchUser 2238
#define ERRaccountexpired 2239
#define ERRbadclient 2240
#define ERRbadLogonTime 2241
#define ERRpasswordExpired 2242
#define ERRnetlogonNotStarted 2455
#define ERRnosupport 0xFFFF