1 /* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 * or http://www.opensolaris.org/os/licensing. 10 * See the License for the specific language governing permissions 11 * and limitations under the License. 12 * 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21 /* 22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23 * Use is subject to license terms. 24 */ 25 26 #ifndef _SMBSRV_LMERR_H 27 #define _SMBSRV_LMERR_H 28 29 #pragma ident "%Z%%M% %I% %E% SMI" 30 31 /* 32 * This file contains the LAN Manager network error definitions. All 33 * network error codes are relative to NERR_BASE (2100), assigned by 34 * Microsoft, to avoid conflicts with system and redirector error 35 * codes. It should be safe to mix NERR error codes with the Win32 36 * error codes defined in nterror.h. 37 * 38 * This file defines error codes in the range 2100 - 2999. NERR values 39 * must not exceed MAX_NERR (2999); values above this are used by other 40 * services. 41 * 42 * The range 2750-2799 has been allocated to the IBM LAN Server. 43 * The range 2900-2999 has been reserved for Microsoft OEMs. 44 * 45 * See lmcons.h for information on the full LANMAN error code range. 46 * 47 * See msdn.microsoft.com for additional information on the meaning 48 * of each error code. 49 */ 50 51 #ifdef __cplusplus 52 extern "C" { 53 #endif 54 55 #define NERR_Success 0 56 57 #define NERR_BASE 2100 58 59 /* UNUSED BASE+0 */ 60 /* UNUSED BASE+1 */ 61 #define NERR_NetNotStarted (NERR_BASE+2) 62 #define NERR_UnknownServer (NERR_BASE+3) 63 #define NERR_ShareMem (NERR_BASE+4) 64 65 #define NERR_NoNetworkResource (NERR_BASE+5) 66 #define NERR_RemoteOnly (NERR_BASE+6) 67 #define NERR_DevNotRedirected (NERR_BASE+7) 68 /* NERR_BASE+8 is used for ERROR_CONNECTED_OTHER_PASSWORD */ 69 /* UNUSED BASE+9 */ 70 /* UNUSED BASE+10 */ 71 /* UNUSED BASE+11 */ 72 /* UNUSED BASE+12 */ 73 /* UNUSED BASE+13 */ 74 #define NERR_ServerNotStarted (NERR_BASE+14) 75 #define NERR_ItemNotFound (NERR_BASE+15) 76 #define NERR_UnknownDevDir (NERR_BASE+16) 77 #define NERR_RedirectedPath (NERR_BASE+17) 78 #define NERR_DuplicateShare (NERR_BASE+18) 79 #define NERR_NoRoom (NERR_BASE+19) 80 /* UNUSED BASE+20 */ 81 #define NERR_TooManyItems (NERR_BASE+21) 82 #define NERR_InvalidMaxUsers (NERR_BASE+22) 83 #define NERR_BufTooSmall (NERR_BASE+23) 84 /* UNUSED BASE+24 */ 85 /* UNUSED BASE+25 */ 86 /* UNUSED BASE+26 */ 87 #define NERR_RemoteErr (NERR_BASE+27) 88 /* UNUSED BASE+28 */ 89 /* UNUSED BASE+29 */ 90 /* UNUSED BASE+30 */ 91 #define NERR_LanmanIniError (NERR_BASE+31) 92 /* UNUSED BASE+32 */ 93 /* UNUSED BASE+33 */ 94 /* UNUSED BASE+34 */ 95 /* UNUSED BASE+35 */ 96 #define NERR_NetworkError (NERR_BASE+36) 97 #define NERR_WkstaInconsistentState (NERR_BASE+37) 98 #define NERR_WkstaNotStarted (NERR_BASE+38) 99 #define NERR_BrowserNotStarted (NERR_BASE+39) 100 #define NERR_InternalError (NERR_BASE+40) 101 #define NERR_BadTransactConfig (NERR_BASE+41) 102 #define NERR_InvalidAPI (NERR_BASE+42) 103 #define NERR_BadEventName (NERR_BASE+43) 104 #define NERR_DupNameReboot (NERR_BASE+44) 105 106 /* 107 * Config API related 108 * Error codes from BASE+45 to BASE+49 109 */ 110 /* UNUSED BASE+45 */ 111 #define NERR_CfgCompNotFound (NERR_BASE+46) 112 #define NERR_CfgParamNotFound (NERR_BASE+47) 113 #define NERR_LineTooLong (NERR_BASE+49) 114 115 /* 116 * Spooler API related 117 * Error codes from BASE+50 to BASE+79 118 */ 119 #define NERR_QNotFound (NERR_BASE+50) 120 #define NERR_JobNotFound (NERR_BASE+51) 121 #define NERR_DestNotFound (NERR_BASE+52) 122 #define NERR_DestExists (NERR_BASE+53) 123 #define NERR_QExists (NERR_BASE+54) 124 #define NERR_QNoRoom (NERR_BASE+55) 125 #define NERR_JobNoRoom (NERR_BASE+56) 126 #define NERR_DestNoRoom (NERR_BASE+57) 127 #define NERR_DestIdle (NERR_BASE+58) 128 #define NERR_DestInvalidOp (NERR_BASE+59) 129 #define NERR_ProcNoRespond (NERR_BASE+60) 130 #define NERR_SpoolerNotLoaded (NERR_BASE+61) 131 #define NERR_DestInvalidState (NERR_BASE+62) 132 #define NERR_QInvalidState (NERR_BASE+63) 133 #define NERR_JobInvalidState (NERR_BASE+64) 134 #define NERR_SpoolNoMemory (NERR_BASE+65) 135 #define NERR_DriverNotFound (NERR_BASE+66) 136 #define NERR_DataTypeInvalid (NERR_BASE+67) 137 #define NERR_ProcNotFound (NERR_BASE+68) 138 139 /* 140 * Service API related 141 * Error codes from BASE+80 to BASE+99 142 */ 143 #define NERR_ServiceTableLocked (NERR_BASE+80) 144 #define NERR_ServiceTableFull (NERR_BASE+81) 145 #define NERR_ServiceInstalled (NERR_BASE+82) 146 #define NERR_ServiceEntryLocked (NERR_BASE+83) 147 #define NERR_ServiceNotInstalled (NERR_BASE+84) 148 #define NERR_BadServiceName (NERR_BASE+85) 149 #define NERR_ServiceCtlTimeout (NERR_BASE+86) 150 #define NERR_ServiceCtlBusy (NERR_BASE+87) 151 #define NERR_BadServiceProgName (NERR_BASE+88) 152 #define NERR_ServiceNotCtrl (NERR_BASE+89) 153 #define NERR_ServiceKillProc (NERR_BASE+90) 154 #define NERR_ServiceCtlNotValid (NERR_BASE+91) 155 #define NERR_NotInDispatchTbl (NERR_BASE+92) 156 #define NERR_BadControlRecv (NERR_BASE+93) 157 #define NERR_ServiceNotStarting (NERR_BASE+94) 158 159 /* 160 * Wksta and Logon API related 161 * Error codes from BASE+100 to BASE+118 162 */ 163 #define NERR_AlreadyLoggedOn (NERR_BASE+100) 164 #define NERR_NotLoggedOn (NERR_BASE+101) 165 #define NERR_BadUsername (NERR_BASE+102) 166 #define NERR_BadPassword (NERR_BASE+103) 167 #define NERR_UnableToAddName_W (NERR_BASE+104) 168 #define NERR_UnableToAddName_F (NERR_BASE+105) 169 #define NERR_UnableToDelName_W (NERR_BASE+106) 170 #define NERR_UnableToDelName_F (NERR_BASE+107) 171 /* UNUSED BASE+108 */ 172 #define NERR_LogonsPaused (NERR_BASE+109) 173 #define NERR_LogonServerConflict (NERR_BASE+110) 174 #define NERR_LogonNoUserPath (NERR_BASE+111) 175 #define NERR_LogonScriptError (NERR_BASE+112) 176 /* UNUSED BASE+113 */ 177 #define NERR_StandaloneLogon (NERR_BASE+114) 178 #define NERR_LogonServerNotFound (NERR_BASE+115) 179 #define NERR_LogonDomainExists (NERR_BASE+116) 180 #define NERR_NonValidatedLogon (NERR_BASE+117) 181 182 /* 183 * ACF API related (access, user, group) 184 * Error codes from BASE+119 to BASE+149 185 */ 186 #define NERR_ACFNotFound (NERR_BASE+119) 187 #define NERR_GroupNotFound (NERR_BASE+120) 188 #define NERR_UserNotFound (NERR_BASE+121) 189 #define NERR_ResourceNotFound (NERR_BASE+122) 190 #define NERR_GroupExists (NERR_BASE+123) 191 #define NERR_UserExists (NERR_BASE+124) 192 #define NERR_ResourceExists (NERR_BASE+125) 193 #define NERR_NotPrimary (NERR_BASE+126) 194 #define NERR_ACFNotLoaded (NERR_BASE+127) 195 #define NERR_ACFNoRoom (NERR_BASE+128) 196 #define NERR_ACFFileIOFail (NERR_BASE+129) 197 #define NERR_ACFTooManyLists (NERR_BASE+130) 198 #define NERR_UserLogon (NERR_BASE+131) 199 #define NERR_ACFNoParent (NERR_BASE+132) 200 #define NERR_CanNotGrowSegment (NERR_BASE+133) 201 #define NERR_SpeGroupOp (NERR_BASE+134) 202 #define NERR_NotInCache (NERR_BASE+135) 203 #define NERR_UserInGroup (NERR_BASE+136) 204 #define NERR_UserNotInGroup (NERR_BASE+137) 205 #define NERR_AccountUndefined (NERR_BASE+138) 206 #define NERR_AccountExpired (NERR_BASE+139) 207 #define NERR_InvalidWorkstation (NERR_BASE+140) 208 #define NERR_InvalidLogonHours (NERR_BASE+141) 209 #define NERR_PasswordExpired (NERR_BASE+142) 210 #define NERR_PasswordCantChange (NERR_BASE+143) 211 #define NERR_PasswordHistConflict (NERR_BASE+144) 212 #define NERR_PasswordTooShort (NERR_BASE+145) 213 #define NERR_PasswordTooRecent (NERR_BASE+146) 214 #define NERR_InvalidDatabase (NERR_BASE+147) 215 #define NERR_DatabaseUpToDate (NERR_BASE+148) 216 #define NERR_SyncRequired (NERR_BASE+149) 217 218 /* 219 * Use API related 220 * Error codes from BASE+150 to BASE+169 221 */ 222 #define NERR_UseNotFound (NERR_BASE+150) 223 #define NERR_BadAsgType (NERR_BASE+151) 224 #define NERR_DeviceIsShared (NERR_BASE+152) 225 226 /* 227 * Message Server related 228 * Error codes BASE+170 to BASE+209 229 */ 230 #define NERR_NoComputerName (NERR_BASE+170) 231 #define NERR_MsgAlreadyStarted (NERR_BASE+171) 232 #define NERR_MsgInitFailed (NERR_BASE+172) 233 #define NERR_NameNotFound (NERR_BASE+173) 234 #define NERR_AlreadyForwarded (NERR_BASE+174) 235 #define NERR_AddForwarded (NERR_BASE+175) 236 #define NERR_AlreadyExists (NERR_BASE+176) 237 #define NERR_TooManyNames (NERR_BASE+177) 238 #define NERR_DelComputerName (NERR_BASE+178) 239 #define NERR_LocalForward (NERR_BASE+179) 240 #define NERR_GrpMsgProcessor (NERR_BASE+180) 241 #define NERR_PausedRemote (NERR_BASE+181) 242 #define NERR_BadReceive (NERR_BASE+182) 243 #define NERR_NameInUse (NERR_BASE+183) 244 #define NERR_MsgNotStarted (NERR_BASE+184) 245 #define NERR_NotLocalName (NERR_BASE+185) 246 #define NERR_NoForwardName (NERR_BASE+186) 247 #define NERR_RemoteFull (NERR_BASE+187) 248 #define NERR_NameNotForwarded (NERR_BASE+188) 249 #define NERR_TruncatedBroadcast (NERR_BASE+189) 250 #define NERR_InvalidDevice (NERR_BASE+194) 251 #define NERR_WriteFault (NERR_BASE+195) 252 /* UNUSED BASE+196 */ 253 #define NERR_DuplicateName (NERR_BASE+197) 254 #define NERR_DeleteLater (NERR_BASE+198) 255 #define NERR_IncompleteDel (NERR_BASE+199) 256 #define NERR_MultipleNets (NERR_BASE+200) 257 258 /* 259 * Server API related 260 * Error codes BASE+210 to BASE+229 261 */ 262 #define NERR_NetNameNotFound (NERR_BASE+210) 263 #define NERR_DeviceNotShared (NERR_BASE+211) 264 #define NERR_ClientNameNotFound (NERR_BASE+212) 265 #define NERR_FileIdNotFound (NERR_BASE+214) 266 #define NERR_ExecFailure (NERR_BASE+215) 267 #define NERR_TmpFile (NERR_BASE+216) 268 #define NERR_TooMuchData (NERR_BASE+217) 269 #define NERR_DeviceShareConflict (NERR_BASE+218) 270 #define NERR_BrowserTableIncomplete (NERR_BASE+219) 271 #define NERR_NotLocalDomain (NERR_BASE+220) 272 #define NERR_IsDfsShare (NERR_BASE+221) 273 274 /* 275 * CharDev API related 276 * Error codes BASE+230 to BASE+249 277 */ 278 /* UNUSED BASE+230 */ 279 #define NERR_DevInvalidOpCode (NERR_BASE+231) 280 #define NERR_DevNotFound (NERR_BASE+232) 281 #define NERR_DevNotOpen (NERR_BASE+233) 282 #define NERR_BadQueueDevString (NERR_BASE+234) 283 #define NERR_BadQueuePriority (NERR_BASE+235) 284 #define NERR_NoCommDevs (NERR_BASE+237) 285 #define NERR_QueueNotFound (NERR_BASE+238) 286 #define NERR_BadDevString (NERR_BASE+240) 287 #define NERR_BadDev (NERR_BASE+241) 288 #define NERR_InUseBySpooler (NERR_BASE+242) 289 #define NERR_CommDevInUse (NERR_BASE+243) 290 291 /* 292 * NetICanonicalize and NetIType and NetIMakeLMFileName 293 * NetIListCanon and NetINameCheck 294 * Error codes BASE+250 to BASE+269 295 */ 296 #define NERR_InvalidComputer (NERR_BASE+251) 297 /* UNUSED BASE+252 */ 298 /* UNUSED BASE+253 */ 299 #define NERR_MaxLenExceeded (NERR_BASE+254) 300 /* UNUSED BASE+255 */ 301 #define NERR_BadComponent (NERR_BASE+256) 302 #define NERR_CantType (NERR_BASE+257) 303 /* UNUSED BASE+258 */ 304 /* UNUSED BASE+259 */ 305 #define NERR_TooManyEntries (NERR_BASE+262) 306 307 /* 308 * NetProfile 309 * Error codes BASE+270 to BASE+276 310 */ 311 #define NERR_ProfileFileTooBig (NERR_BASE+270) 312 #define NERR_ProfileOffset (NERR_BASE+271) 313 #define NERR_ProfileCleanup (NERR_BASE+272) 314 #define NERR_ProfileUnknownCmd (NERR_BASE+273) 315 #define NERR_ProfileLoadErr (NERR_BASE+274) 316 #define NERR_ProfileSaveErr (NERR_BASE+275) 317 318 /* 319 * NetAudit and NetErrorLog 320 * Error codes BASE+277 to BASE+279 321 */ 322 #define NERR_LogOverflow (NERR_BASE+277) 323 #define NERR_LogFileChanged (NERR_BASE+278) 324 #define NERR_LogFileCorrupt (NERR_BASE+279) 325 326 /* 327 * NetRemote 328 * Error codes BASE+280 to BASE+299 329 */ 330 #define NERR_SourceIsDir (NERR_BASE+280) 331 #define NERR_BadSource (NERR_BASE+281) 332 #define NERR_BadDest (NERR_BASE+282) 333 #define NERR_DifferentServers (NERR_BASE+283) 334 /* UNUSED BASE+284 */ 335 #define NERR_RunSrvPaused (NERR_BASE+285) 336 /* UNUSED BASE+286 */ 337 /* UNUSED BASE+287 */ 338 /* UNUSED BASE+288 */ 339 #define NERR_ErrCommRunSrv (NERR_BASE+289) 340 /* UNUSED BASE+290 */ 341 #define NERR_ErrorExecingGhost (NERR_BASE+291) 342 #define NERR_ShareNotFound (NERR_BASE+292) 343 /* UNUSED BASE+293 */ 344 /* UNUSED BASE+294 */ 345 346 347 /* 348 * NetWksta.sys (redir) returned error codes. 349 * NERR_BASE + (300-329) 350 */ 351 #define NERR_InvalidLana (NERR_BASE+300) 352 #define NERR_OpenFiles (NERR_BASE+301) 353 #define NERR_ActiveConns (NERR_BASE+302) 354 #define NERR_BadPasswordCore (NERR_BASE+303) 355 #define NERR_DevInUse (NERR_BASE+304) 356 #define NERR_LocalDrive (NERR_BASE+305) 357 358 /* 359 * Alert error codes. 360 * NERR_BASE + (330-339) 361 */ 362 #define NERR_AlertExists (NERR_BASE+330) 363 #define NERR_TooManyAlerts (NERR_BASE+331) 364 #define NERR_NoSuchAlert (NERR_BASE+332) 365 #define NERR_BadRecipient (NERR_BASE+333) 366 #define NERR_AcctLimitExceeded (NERR_BASE+334) 367 368 /* 369 * Additional Error and Audit log codes. 370 * NERR_BASE +(340-343) 371 */ 372 #define NERR_InvalidLogSeek (NERR_BASE+340) 373 /* UNUSED BASE+341 */ 374 /* UNUSED BASE+342 */ 375 /* UNUSED BASE+343 */ 376 377 /* 378 * Additional UAS and NETLOGON codes 379 * NERR_BASE +(350-359) 380 */ 381 #define NERR_BadUasConfig (NERR_BASE+350) 382 #define NERR_InvalidUASOp (NERR_BASE+351) 383 #define NERR_LastAdmin (NERR_BASE+352) 384 #define NERR_DCNotFound (NERR_BASE+353) 385 #define NERR_LogonTrackingError (NERR_BASE+354) 386 #define NERR_NetlogonNotStarted (NERR_BASE+355) 387 #define NERR_CanNotGrowUASFile (NERR_BASE+356) 388 #define NERR_TimeDiffAtDC (NERR_BASE+357) 389 #define NERR_PasswordMismatch (NERR_BASE+358) 390 391 /* 392 * Server Integration error codes. 393 * NERR_BASE +(360-369) 394 */ 395 #define NERR_NoSuchServer (NERR_BASE+360) 396 #define NERR_NoSuchSession (NERR_BASE+361) 397 #define NERR_NoSuchConnection (NERR_BASE+362) 398 #define NERR_TooManyServers (NERR_BASE+363) 399 #define NERR_TooManySessions (NERR_BASE+364) 400 #define NERR_TooManyConnections (NERR_BASE+365) 401 #define NERR_TooManyFiles (NERR_BASE+366) 402 #define NERR_NoAlternateServers (NERR_BASE+367) 403 /* UNUSED BASE+368 */ 404 /* UNUSED BASE+369 */ 405 #define NERR_TryDownLevel (NERR_BASE+370) 406 407 /* 408 * UPS error codes. 409 * NERR_BASE + (380-384) 410 */ 411 #define NERR_UPSDriverNotStarted (NERR_BASE+380) 412 #define NERR_UPSInvalidConfig (NERR_BASE+381) 413 #define NERR_UPSInvalidCommPort (NERR_BASE+382) 414 #define NERR_UPSSignalAsserted (NERR_BASE+383) 415 #define NERR_UPSShutdownFailed (NERR_BASE+384) 416 417 /* 418 * Remoteboot error codes. 419 * NERR_BASE + (400-419) 420 * Error codes 400 - 405 are used by RPLBOOT.SYS. 421 * Error codes 403, 407 - 416 are used by RPLLOADR.COM, 422 * Error code 417 is the alerter message of REMOTEBOOT (RPLSERVR.EXE). 423 * Error code 418 is for when REMOTEBOOT can't start 424 * Error code 419 is for a disallowed 2nd rpl connection 425 */ 426 #define NERR_BadDosRetCode (NERR_BASE+400) 427 #define NERR_ProgNeedsExtraMem (NERR_BASE+401) 428 #define NERR_BadDosFunction (NERR_BASE+402) 429 #define NERR_RemoteBootFailed (NERR_BASE+403) 430 #define NERR_BadFileCheckSum (NERR_BASE+404) 431 #define NERR_NoRplBootSystem (NERR_BASE+405) 432 #define NERR_RplLoadrNetBiosErr (NERR_BASE+406) 433 #define NERR_RplLoadrDiskErr (NERR_BASE+407) 434 #define NERR_ImageParamErr (NERR_BASE+408) 435 #define NERR_TooManyImageParams (NERR_BASE+409) 436 #define NERR_NonDosFloppyUsed (NERR_BASE+410) 437 #define NERR_RplBootRestart (NERR_BASE+411) 438 #define NERR_RplSrvrCallFailed (NERR_BASE+412) 439 #define NERR_CantConnectRplSrvr (NERR_BASE+413) 440 #define NERR_CantOpenImageFile (NERR_BASE+414) 441 #define NERR_CallingRplSrvr (NERR_BASE+415) 442 #define NERR_StartingRplBoot (NERR_BASE+416) 443 #define NERR_RplBootServiceTerm (NERR_BASE+417) 444 #define NERR_RplBootStartFailed (NERR_BASE+418) 445 #define NERR_RPL_CONNECTED (NERR_BASE+419) 446 447 /* 448 * FTADMIN API error codes 449 * NERR_BASE + (425-434) 450 * (Currently not used in NT) 451 */ 452 453 /* 454 * Browser service API error codes 455 * NERR_BASE + (450-475) 456 */ 457 #define NERR_BrowserConfiguredToNotRun (NERR_BASE+450) 458 459 /* 460 * Additional Remoteboot error codes. 461 * NERR_BASE + (510-550) 462 */ 463 #define NERR_RplNoAdaptersStarted (NERR_BASE+510) 464 #define NERR_RplBadRegistry (NERR_BASE+511) 465 #define NERR_RplBadDatabase (NERR_BASE+512) 466 #define NERR_RplRplfilesShare (NERR_BASE+513) 467 #define NERR_RplNotRplServer (NERR_BASE+514) 468 #define NERR_RplCannotEnum (NERR_BASE+515) 469 #define NERR_RplWkstaInfoCorrupted (NERR_BASE+516) 470 #define NERR_RplWkstaNotFound (NERR_BASE+517) 471 #define NERR_RplWkstaNameUnavailable (NERR_BASE+518) 472 #define NERR_RplProfileInfoCorrupted (NERR_BASE+519) 473 #define NERR_RplProfileNotFound (NERR_BASE+520) 474 #define NERR_RplProfileNameUnavailable (NERR_BASE+521) 475 #define NERR_RplProfileNotEmpty (NERR_BASE+522) 476 #define NERR_RplConfigInfoCorrupted (NERR_BASE+523) 477 #define NERR_RplConfigNotFound (NERR_BASE+524) 478 #define NERR_RplAdapterInfoCorrupted (NERR_BASE+525) 479 #define NERR_RplInternal (NERR_BASE+526) 480 #define NERR_RplVendorInfoCorrupted (NERR_BASE+527) 481 #define NERR_RplBootInfoCorrupted (NERR_BASE+528) 482 #define NERR_RplWkstaNeedsUserAcct (NERR_BASE+529) 483 #define NERR_RplNeedsRPLUSERAcct (NERR_BASE+530) 484 #define NERR_RplBootNotFound (NERR_BASE+531) 485 #define NERR_RplIncompatibleProfile (NERR_BASE+532) 486 #define NERR_RplAdapterNameUnavailable (NERR_BASE+533) 487 #define NERR_RplConfigNotEmpty (NERR_BASE+534) 488 #define NERR_RplBootInUse (NERR_BASE+535) 489 #define NERR_RplBackupDatabase (NERR_BASE+536) 490 #define NERR_RplAdapterNotFound (NERR_BASE+537) 491 #define NERR_RplVendorNotFound (NERR_BASE+538) 492 #define NERR_RplVendorNameUnavailable (NERR_BASE+539) 493 #define NERR_RplBootNameUnavailable (NERR_BASE+540) 494 #define NERR_RplConfigNameUnavailable (NERR_BASE+541) 495 496 /* 497 * Dfs API error codes. 498 * NERR_BASE + (560-590) 499 */ 500 #define NERR_DfsInternalCorruption (NERR_BASE+560) 501 #define NERR_DfsVolumeDataCorrupt (NERR_BASE+561) 502 #define NERR_DfsNoSuchVolume (NERR_BASE+562) 503 #define NERR_DfsVolumeAlreadyExists (NERR_BASE+563) 504 #define NERR_DfsAlreadyShared (NERR_BASE+564) 505 #define NERR_DfsNoSuchShare (NERR_BASE+565) 506 #define NERR_DfsNotALeafVolume (NERR_BASE+566) 507 #define NERR_DfsLeafVolume (NERR_BASE+567) 508 #define NERR_DfsVolumeHasMultipleServers (NERR_BASE+568) 509 #define NERR_DfsCantCreateJunctionPoint (NERR_BASE+569) 510 #define NERR_DfsServerNotDfsAware (NERR_BASE+570) 511 #define NERR_DfsBadRenamePath (NERR_BASE+571) 512 #define NERR_DfsVolumeIsOffline (NERR_BASE+572) 513 #define NERR_DfsNoSuchServer (NERR_BASE+573) 514 #define NERR_DfsCyclicalName (NERR_BASE+574) 515 #define NERR_DfsNotSupportedInServerDfs (NERR_BASE+575) 516 #define NERR_DfsInternalError (NERR_BASE+590) 517 518 /* 519 * Net setup error codes. 520 * NERR_BASE + (591-595) 521 */ 522 #define NERR_SetupAlreadyJoined (NERR_BASE+591) 523 #define NERR_SetupNotJoined (NERR_BASE+592) 524 #define NERR_SetupDomainController (NERR_BASE+593) 525 526 /* 527 * MAX_NERR is the last value in the NERR range. 528 * Do not exceed this value here. 529 */ 530 #define MAX_NERR (NERR_BASE+899) 531 532 #ifdef __cplusplus 533 } 534 #endif 535 536 #endif /* _SMBSRV_LMERR_H */ 537