Revision Summary Date Revision History Revision Comments 3/2/2007 1.0 New Version 1.0 release 4/3/2007 1.1 Minor Version 1.1 release 5/11/2007 1.2 Minor Version 1.2 release 6/1/2007 1.2.1 Editorial Changed language and formatting in the technical content. 7/3/2007 2.0 Major Updated and revised the technical content. 8/10/2007 2.0.1 Editorial Changed language and formatting in the technical content. 9/28/2007 2.0.2 Editorial Changed language and formatting in the technical content. 10/23/2007 3.0 Converted document to unified format. 1/25/2008 4.0 Major Updated and revised the technical content. 3/14/2008 5.0 Major Updated and revised the technical content. 6/20/2008 6.0 Major Updated and revised the technical content. 7/25/2008 7.0 Updated and revised the technical content.
8/29/2008 8.0 Major Technical clarifications. 10/24/2008 8.0.1 Editorial Changed language and formatting in the technical content. 12/5/2008 9.0 Major Updated and revised the technical content. 1/16/2009 10.0 Major Updated and revised the technical content. 2/27/2009 11.0 Major Updated and revised the technical content. 4/10/2009 12.0 Major Updated and revised the technical content. 5/22/2009 12.0.1 Editorial Changed language and formatting in the technical content. 7/2/2009 12.0.2 Editorial Changed language and formatting in the technical content. 8/14/2009 13.0 Updated and revised the technical content. 9/25/2009 14.0 Major Updated and revised the technical content. 11/6/2009 15.0 Major Updated and revised the technical content. 12/18/2009 16.0 Major Updated and revised the
technical content. 1/29/2010 17.0 Major Updated and revised the technical content. 3/12/2010 18.0 Major Updated and revised the technical content. 4/23/2010 19.0 Updated and revised the technical content. 6/4/2010 20.0 Major Updated and revised the technical content. 7/16/2010 21.0 Major Updated and revised the technical content. 8/27/2010 21.1 Minor Clarified the meaning of the technical content. 10/8/2010 21.1 None No changes to the meaning, language, or formatting of the technical content. 11/19/2010 21.1 None No changes to the meaning, language, or formatting of the technical content. 1/7/2011 21.1 None No changes to the meaning, language, or formatting of the technical content. 2/11/2011 21.1 None No changes to the meaning, language, or formatting of
the technical content. 3/25/2011 21.1 None No changes to the meaning, language, or formatting of the technical content. 5/6/2011 21.1 None No changes to the meaning, language, or formatting of the technical content. 6/17/2011 21.2 Minor Clarified the meaning of the technical content. 9/23/2011 21.2 None No changes to the meaning, language, or formatting of the technical content. 12/16/2011 22.0 Major Updated and revised the technical content. 3/30/2012 23.0 Major Updated and revised the technical content. 7/12/2012 24.0 Major Updated and revised the technical content. 10/25/2012 25.0 Major Updated and revised the technical content. 1/31/2013 26.0 Major Updated and revised the technical content. 8/8/2013 27.0 Major Updated and revised the technical content.
11/14/2013 27.0 None No changes to the meaning, language, or formatting of the technical content. 2/13/2014 27.0 None No changes to the meaning, language, or formatting of the technical content. 5/15/2014 27.0 None No changes to the meaning, language, or formatting of the technical content. 6/30/2015 28.0 Major Significantly changed the technical content. 10/16/2015 28.0 None No changes to the meaning, language, or formatting of the technical content. 7/14/2016 28.0 None No changes to the meaning, language, or formatting of the technical content.
SV_TYPE_SERVER_UNIX, SV_TYPE_XENIX_SERVER 0x00000800 Unix or Xenix server SV_TYPE_NT 0x00001000 Windows NT operating system, Windows 2000 operating system, Windows XP operating system, Windows Server 2003 operating system, Windows Vista operating system, Windows 7 operating system, Windows 8 operating system, Windows Server 2008 operating system, Windows Server 2008 R2 operating system, or Windows Server 2012 operating system SV_TYPE_WFW 0x00002000 Server running Windows for Workgroups SV_TYPE_SERVER_MFPN 0x00004000 Microsoft File and Print for NetWare SV_TYPE_SERVER_NT 0x00008000 Windows 2000 Server operating system, Windows Server 2003, or a server that is not a domain controller SV_TYPE_POTENTIAL_BROWSER 0x00010000 Server that can run the browser service SV_TYPE_BACKUP_BROWSER 0x00020000 Server running a browser service as backup SV_TYPE_MASTER_BROWSER 0x00040000 Server running the master browser service SV_TYPE_DOMAIN_MASTER 0x00080000 Server running the domain master browser SV_TYPE_WINDOWS 0x00400000 Windows 95 operating system, Microsoft Windows 98 operating system, or Windows Millennium Edition operating system SV_TYPE_DFS 0x00800000 Root of a DFS tree SV_TYPE_CLUSTER_NT 0x01000000 Server clusters available in the domain SV_TYPE_TERMINALSERVER 0x02000000 Terminal server SV_TYPE_CLUSTER_VS_NT 0x04000000 Cluster virtual servers available in the domain SV_TYPE_DCE 0x10000000 IBM DSS (Directory and Security Services) or equivalent SV_TYPE_ALTERNATE_XPORT 0x20000000 Return list for alternate transport<10> SV_TYPE_LOCAL_LIST_ONLY Servers maintained by the browser
SV_TYPE_DOMAIN_CTRL 0x00000008 Primary domain controller SV_TYPE_DOMAIN_BAKCTRL 0x00000010 Backup domain controller SV_TYPE_TIME_SOURCE 0x00000020 Server is available as a time source for network time synchronization SV_TYPE_AFP 0x00000040 Apple File Protocol server SV_TYPE_NOVELL 0x00000080 Novell server SV_TYPE_DOMAIN_MEMBER 0x00000100 LAN Manager 2.x domain member SV_TYPE_PRINTQ_SERVER 0x00000200 Server sharing queue SV_TYPE_DIALIN_SERVER 0x00000400 Server running dial-in service SV_TYPE_SERVER_UNIX, SV_TYPE_XENIX_SERVER 0x00000800 Unix or server SV_TYPE_NT 0x00001000 Windows NT, Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows 8, or Windows Server 2012 SV_TYPE_WFW 0x00002000 Server running Windows for Workgroups SV_TYPE_SERVER_MFPN 0x00004000 Microsoft File and Print for NetWare SV_TYPE_SERVER_NT 0x00008000 Windows 2000 Server, Windows Server 2003, or a server that is not a domain controller SV_TYPE_POTENTIAL_BROWSER 0x00010000 Server that can run the browser service SV_TYPE_BACKUP_BROWSER 0x00020000 Server running a browser service as backup SV_TYPE_MASTER_BROWSER 0x00040000 Server running the master browser service SV_TYPE_DOMAIN_MASTER 0x00080000 Server running the domain master browser SV_TYPE_WINDOWS 0x00400000 Windows 95, Windows 98, or Windows Millennium Edition
0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 JobID InfoLevel BufferSize ParamNum (2 bytes): A 16-bit unsigned integer that contains the of the job to modify. InfoLevel (2 bytes): A 16-bit unsigned integer that specifies the information level for the NetPrintJobSetInfoRequest. This MUST be set to 0x0001 or 0x0003.<28> BufferSize (2 A 16-bit unsigned integer that represents the size of the RAPInData structure. ParamNum (2 A 16-bit unsigned integer from the following table that specifies what aspect of the print job is being modified. Value Meaning JobNum 0x0001 A 16-bit integer. UserName 0x0002 A null-terminated ASCII string. NotifyName 0x0003 A null-terminated ASCII string. DataType 0x0004 A null-terminated ASCII string. ParametersString 0x0005 A null-terminated ASCII string. JobPosition 0x0006 A 16-bit integer. JobStatus 0x0007 A 16-bit integer. JobStatusStr 0x0008 A null-terminated string. TimeSubmitted 0x0009 A 32-bit integer. JobSize 0x000A A 32-bit integer. JobComment 0x000B A null-terminated string. RAPInData Note that the Data field of the SMB_COM_TRANSACTION request, RAPInData, is a variable-length field that MUST be present and set according to section 2.5.1.
... ... ... RAPOpcode (2 bytes): MUST be set to 0x0085. For more information, see section . ParamDesc (11 MUST be set to "zzWb38WrLh". For more information, see section 2.5.1. DataDesc (3 bytes): If the InfoLevel (below) is set to 0x0001, this MUST be set to "WDW". For more information, see section 2.5.1. RAPParams (42 bytes): The RAPParams structure MUST have the following format. 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 Reserved InfoLevel WkstaUserLogoffBuffer (38 bytes) ... ... ... Reserved (2 bytes): An unused, null-terminated ASCII string. SHOULD be set to zero when sent and MUST be ignored on receipt. InfoLevel (2 bytes): A 16-bit unsigned integer that specifies the information level for the NetWkstaUserLogoffRequest. WkstaUserLogoffBuffer (38 bytes): The buffer contains a . RAP NetWkstaUserLogoffResponse The RAPOutParams structure for the is as follows.<57><58> 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 TotalBytesAvailable TotalBytesAvailable (2 bytes): A 16-bit unsigned integer that represents the number of bytes required to hold the server information requested. If the InfoLevel field value specified in the message is 1, and the response is not an error, the RAPOutData field of the SMB_COM_TRANSACTION response MUST be filled with a structure. RAP Workstation Structures NetWkstaInfo10 Data Structure
... PWCanChange ... PWMustChange ... Computer ... Domain ... ScriptPath ... Reserved1 ... Code (2 bytes): Code specifies the result and can have the following values. Value Meaning NERR_Success 0 No errors encountered. ERROR_ACCESS_DENIED 5 User has insufficient privilege. NERR_LogonScriptError 2212 An error occurred while loading or running the logon script. NERR_StandaloneLogon 2214 The was not validated by any server. NERR_NonValidatedLogon 2217 The logon server is running an older software version and cannot validate the logon. NERR_InvalidWorkstation 2240 The user is not allowed to log on from this computer. NERR_InvalidLogonHours 2241 The user is not allowed to log on at this time. NERR_PasswordExpired 2242 Administrator privilege. EffName (21 bytes): MUST be a null-terminated ASCII string that specifies the account to which the user was logged on. Pad1 (1 byte): Aligns the next data structure element to a word boundary. SHOULD be set to zero when sent and MUST be ignored on receipt. Priv (2 bytes): A 16-bit, unsigned integer that specifies the user's privilege level. The possible values are as follows. Value Meaning USER_PRIV_GUEST 0 Guest privilege
Index A Abstract data model 86 88 12 C 12 129 Client 86 86 86 88 88 88 88 88 86 Commands 21 36 server ( 21, 89) 30 73 59 D Data model - abstract 86 88 E Examples 118 116 114 F 12 G 89 8 H Higher-layer triggered events 86 89 I 120 120 120 13 9 Initialization 86 89 8 L events 88 113 M Message processing 88 89 Messages 16 13 21 36 16 19 18 server commands ( 21, 89) 30 14 19 13 73 73 13 59 N NetPrintJobContinue command ( 44, 104) 118 NetPrintJobDelete command ( 45, 103) NetPrintJobGetInfo command ( 42, 99) NetPrintJobPause command ( 44, 103) 40 98 NetPrintQEnum command ( 36, 93) NetPrintQGetInfo command ( 38, 97) NetRemoteTOD command ( 73, 105) 30 NetServerEnum2 command ( 22, 105) 116 NetServerEnum3 command ( 26, 110) 92 22 89 114 32 33 33 34 35 61
62 62 63 68 69 64 NetUserPasswordSet2 command ( 59, 108) 75 78 77 83 78 83 76 79 77 80 75 9 O Other local events 88 113 9 P 120 120 11 11 36 52 54 PrintQueue0 packet ( 46, 46) 52 121 86 R 26 21 22 46 46 84 29 33 44 45 45 45 42 43 44 44 40 42 36 37 38 40 73 73 22 25 26 29 21 29 29 30 31 60 61 52 56 46 49 16 18 73 8 9 9 10 S 120 120 120 Sequencing rules 88 89 Server 88 commands ( 21, 89) 89 89 113 89 113 89 113 89 30 12 14 73 13 T 73 73 Timer events 88 113 Timers 86 89 129 13 13 Triggered events - higher-layer 86