lmerr.h revision 148c5f43199ca0b43fc8e3b643aab11cd66ea327
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#ifndef _SMB_LMERR_H
#define _SMB_LMERR_H
/*
* This file contains the LAN Manager network error definitions. All
* network error codes are relative to NERR_BASE (2100), assigned by
* Microsoft, to avoid conflicts with system and redirector error
* codes. It should be safe to mix NERR error codes with the Win32
* error codes defined in nterror.h.
*
* This file defines error codes in the range 2100 - 2999. NERR values
* must not exceed MAX_NERR (2999); values above this are used by other
* services.
*
* The range 2750-2799 has been allocated to the IBM LAN Server.
* The range 2900-2999 has been reserved for Microsoft OEMs.
*
* See lmcons.h for information on the full LANMAN error code range.
*
* See msdn.microsoft.com for additional information on the meaning
* of each error code.
*
* Please preserve this compatibility.
*/
#ifdef __cplusplus
extern "C" {
#endif
#define NERR_Success 0
#define NERR_BASE 2100
/* UNUSED BASE+0 */
/* UNUSED BASE+1 */
/* NERR_BASE+8 is ERROR_CONNECTED_OTHER_PASSWORD */
/* NERR_BASE+9 is ERROR_CONNECTED_OTHER_PASSWORD_DEFAULT */
/* UNUSED BASE+10 */
/* UNUSED BASE+11 */
/* UNUSED BASE+12 */
/* UNUSED BASE+13 */
/* UNUSED BASE+20 */
/* UNUSED BASE+24 */
/* UNUSED BASE+25 */
/* UNUSED BASE+26 */
/* UNUSED BASE+28 */
/* UNUSED BASE+29 */
/* UNUSED BASE+30 */
/* UNUSED BASE+32 */
/* UNUSED BASE+33 */
/* UNUSED BASE+34 */
/* UNUSED BASE+35 */
/*
* Config API related
* Error codes from BASE+45 to BASE+49
*/
/* UNUSED BASE+45 */
/*
* Spooler API related
* Error codes from BASE+50 to BASE+79
*/
/*
* Service API related
* Error codes from BASE+80 to BASE+99
*/
/*
* Wksta and Logon API related
* Error codes from BASE+100 to BASE+118
*/
/* UNUSED BASE+108 */
/* UNUSED BASE+113 */
/*
* ACF API related (access, user, group)
* Error codes from BASE+119 to BASE+149
*/
/*
* Use API related
* Error codes from BASE+150 to BASE+169
*/
/*
* Message Server related
* Error codes BASE+170 to BASE+209
*/
/* UNUSED BASE+196 */
/*
* NERR_BASE+201 is ERROR_OPEN_FILES
* NERR_BASE+202 is ERROR_ACTIVE_CONNECTIONS
* NERR_BASE+204 is ERROR_DEVICE_IN_USE
* (see nterror.h)
*/
/*
* Server API related
* Error codes BASE+210 to BASE+229
*/
/*
* CharDev API related
* Error codes BASE+230 to BASE+249
*/
/* UNUSED BASE+230 */
/*
* NetICanonicalize and NetIType and NetIMakeLMFileName
* NetIListCanon and NetINameCheck
* Error codes BASE+250 to BASE+269
*/
/* UNUSED BASE+252 */
/* UNUSED BASE+253 */
/* UNUSED BASE+255 */
/* UNUSED BASE+258 */
/* UNUSED BASE+259 */
/*
* NetProfile
* Error codes BASE+270 to BASE+276
*/
/*
* NetAudit and NetErrorLog
* Error codes BASE+277 to BASE+279
*/
/*
* NetRemote
* Error codes BASE+280 to BASE+299
*/
/* UNUSED BASE+284 */
/* UNUSED BASE+286 */
/* UNUSED BASE+287 */
/* UNUSED BASE+288 */
/* UNUSED BASE+290 */
/* UNUSED BASE+293 */
/* UNUSED BASE+294 */
/*
* NetWksta.sys (redir) returned error codes.
* NERR_BASE + (300-329)
*/
/*
* Alert error codes.
* NERR_BASE + (330-339)
*/
/*
* Additional Error and Audit log codes.
* NERR_BASE +(340-343)
*/
/* UNUSED BASE+341 */
/* UNUSED BASE+342 */
/* UNUSED BASE+343 */
/*
* Additional UAS and NETLOGON codes
* NERR_BASE +(350-359)
*/
/*
* Server Integration error codes.
* NERR_BASE +(360-369)
*/
/* UNUSED BASE+368 */
/* UNUSED BASE+369 */
/*
* UPS error codes.
* NERR_BASE + (380-384)
*/
/*
* Remoteboot error codes.
* NERR_BASE + (400-419)
* Error codes 400 - 405 are used by RPLBOOT.SYS.
* Error codes 403, 407 - 416 are used by RPLLOADR.COM,
* Error code 417 is the alerter message of REMOTEBOOT (RPLSERVR.EXE).
* Error code 418 is for when REMOTEBOOT can't start
* Error code 419 is for a disallowed 2nd rpl connection
*/
/*
* FTADMIN API error codes
* NERR_BASE + (425-434)
* (Currently not used in NT)
*/
/*
* Browser service API error codes
* NERR_BASE + (450-475)
*/
/*
* Additional Remoteboot error codes.
* NERR_BASE + (510-550)
*/
/*
* Dfs API error codes.
* NERR_BASE + (560-590)
*/
/*
* Net setup error codes.
* NERR_BASE + (591-595)
*/
/*
* MAX_NERR is the last value in the NERR range.
* Do not exceed this value here.
*/
#ifdef __cplusplus
}
#endif
#endif /* _SMB_LMERR_H */