Skip to content

Commit 31df256

Browse files
committed
Release 3.19.3.0
2 parents 04214df + b76fd0c commit 31df256

File tree

283 files changed

+15257
-19426
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

283 files changed

+15257
-19426
lines changed

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,11 @@
5555
*.rc binary
5656
*.docx binary
5757
*.pfx binary
58+
*.jar binary
5859

5960
#Images (Binary)
6061
*.png binary
6162
*.jpg binary
6263
*.bmp binary
6364
*.pdf binary
64-
*.jpeg binary
65+
*.jpeg binary

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,8 @@ TestSuites/MS-ADOD/src/Deploy/TestSuiteBinFiles.wxs
8080
TestSuites/RDP/Server/src/Deploy/Batch.wxs
8181
TestSuites/RDP/Server/src/Deploy/Bin.wxs
8282
TestSuites/RDP/Server/src/Deploy/DOCS_FILES.wxs
83-
TestSuites/RDP/Server/src/Deploy/Scripts.wxs
83+
TestSuites/RDP/Server/src/Deploy/Scripts.wxs
84+
TestSuites/RDP/Client/src/Deploy/CommonBatch.wxs
85+
TestSuites/MS-SMBD/src/Deploy/Batch.wxs
86+
TestSuites/MS-SMBD/src/Deploy/Bin.wxs
87+
TestSuites/MS-SMBD/src/Deploy/CommonBatch.wxs

AssemblyInfo/SharedAssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
using System.Reflection;
55

66
[assembly: AssemblyCompany("Microsoft")]
7-
[assembly: AssemblyVersion("3.19.1.0")]
7+
[assembly: AssemblyVersion("3.19.3.0")]

AssemblyInfo/resource.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#define _BLDVER_H_
1111
#define COMPANY_NAME "Microsoft"
12-
#define BUILD_VERSION "3.19.1.0"
13-
#define INET_VER 3,19,1,0
12+
#define BUILD_VERSION "3.19.3.0"
13+
#define INET_VER 3,19,3,0
1414

1515
#endif

CommonScripts/PromoteDomainController.ps1

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,20 @@
66
#-----------------------------------------------------------------------------
77
# Function: PromoteDomainController
88
# Usage : Install ADDS feature on the server and promote it to DC.
9-
# Params : [string]$DomainName: The name of the domain.
10-
# [string]$AdminPwd : The password of the Administrator.
9+
# Params : [string]$DomainName : The name of the domain.
10+
# [string]$AdminUser : The name of the admin user.
11+
# [string]$AdminPwd : The password of the Administrator.
12+
# [boolean]$IsPrimary : indicator if its a primary domain.
13+
# [string]$ForestMode : ForestMode of the domain.
1114
# Remark : A reboot is needed after promoting to DC.
1215
#-----------------------------------------------------------------------------
1316
Param
1417
(
1518
[Parameter(Mandatory=$true)]
1619
[ValidateNotNullOrEmpty()]
1720
[string]$DomainName,
21+
22+
[string]$AdminUser="Administrator",
1823

1924
[Parameter(Mandatory=$true)]
2025
[ValidateNotNullOrEmpty()]
@@ -65,7 +70,7 @@ try
6570
}
6671
else
6772
{
68-
$cred = New-Object System.Management.Automation.PSCredential "$domainName\Administrator", $SecurePwd -ErrorAction Stop
73+
$cred = New-Object System.Management.Automation.PSCredential "$domainName\$AdminUser", $SecurePwd -ErrorAction Stop
6974
Install-ADDSDomainController -DomainName $domainName `
7075
-Credential $cred `
7176
-InstallDNS `

CommonScripts/RestartAndRun.ps1

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ catch
7373

7474
# Show prompt
7575
Write-Host "The computer is going to restart..." -ForegroundColor Yellow
76-
if($AutoRestart -eq $false) { Pause } # Waiting for key stoke
77-
else { sleep 3 } # Auto restart
78-
79-
# Restart
80-
Restart-Computer -Force
76+
if($AutoRestart -eq $true) {
77+
sleep 3
78+
# Auto restart
79+
# Restart
80+
Restart-Computer -Force
81+
}

ProtoSDK/Common/Common.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
<Compile Include="ChannelHelper.cs" />
117117
<Compile Include="DtypAutoGeneratedTypesExtension.cs" />
118118
<Compile Include="EndianUtility.cs" />
119+
<Compile Include="HRESULT.cs" />
119120
<Compile Include="IpUtility.cs" />
120121
<Compile Include="NativeMethods.cs" />
121122
<Compile Include="PduMarshaler.cs" />

ProtoSDK/Common/HRESULT.cs

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
using System;
5+
6+
namespace Microsoft.Protocols.TestTools.StackSdk
7+
{
8+
/// <summary>
9+
/// The HRESULT numbering space is vendor-extensible.
10+
/// Vendors can supply their own values for this field, as long as the C bit (0x20000000) is set, indicating it is a customer code.
11+
/// </summary>
12+
[Flags]
13+
public enum HRESULT : UInt32
14+
{
15+
/// <summary>
16+
/// S (1 bit): Severity. If set, indicates a failure result. If clear, indicates a success result.
17+
/// </summary>
18+
S = 0x8000000,
19+
20+
/// <summary>
21+
/// R (1 bit): Reserved. If the N bit is clear, this bit MUST be set to 0. If the N bit is set, this bit is defined by the NTSTATUS numbering space.
22+
/// </summary>
23+
R = 0x4000000,
24+
25+
/// <summary>
26+
/// C (1 bit): Customer. This bit specifies if the value is customer-defined or Microsoft-defined. The bit is set for customer-defined values and clear for Microsoft-defined values.
27+
/// </summary>
28+
C = 0x2000000,
29+
30+
/// <summary>
31+
/// N (1 bit): If set, indicates that the error code is an NTSTATUS value, except that this bit is set.
32+
N = 0x1000000,
33+
34+
/// <summary>
35+
/// X (1 bit): Reserved. SHOULD be set to 0.
36+
X = 0x0800000
37+
38+
}
39+
}

ProtoSDK/MS-PAC/Pac.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@
8080
<Compile Include="Message\PacSignatureData.cs" />
8181
<Compile Include="Message\PacType.cs" />
8282
<Compile Include="Ndr\MidlTypeFormatString.cs" />
83-
<Compile Include="Pickle\PickleError.cs" />
84-
<Compile Include="Pickle\PickleException.cs" />
85-
<Compile Include="Pickle\PickleMarshaller.cs" />
86-
<Compile Include="Pickle\PickleNativeMethods.cs" />
8783
<Compile Include="Types.cs" />
8884
<Compile Include="PacUtility.cs" />
8985
<Compile Include="Message\S4uDelegationInfo.cs" />
@@ -107,6 +103,10 @@
107103
<Project>{75544419-3F4E-4308-A676-165F45C1462E}</Project>
108104
<Name>Messages</Name>
109105
</ProjectReference>
106+
<ProjectReference Include="..\MS-RPCE\Rpce.csproj">
107+
<Project>{A5814E1E-D79C-49A9-A8EA-BA8ED6E0EB39}</Project>
108+
<Name>Rpce</Name>
109+
</ProjectReference>
110110
</ItemGroup>
111111
<ItemGroup>
112112
<Folder Include="Asn\" />

ProtoSDK/MS-PAC/PacUtility.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
// Copyright (c) Microsoft. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
using System;
5-
using System.IO;
6-
using System.Runtime.InteropServices;
7-
8-
using Microsoft.Protocols.TestTools.StackSdk;
94
using Microsoft.Protocols.TestTools.StackSdk.Dtyp;
105
using Microsoft.Protocols.TestTools.StackSdk.Messages;
11-
using Microsoft.Protocols.TestTools.StackSdk.Messages.Runtime.Marshaling;
6+
using Microsoft.Protocols.TestTools.StackSdk.Networking.Rpce;
7+
using System;
8+
using System.IO;
129

1310
namespace Microsoft.Protocols.TestTools.StackSdk.Security.Pac
1411
{

0 commit comments

Comments
 (0)