You've already forked linux-packaging-mono
Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
parent
1190d13a04
commit
6bdd276d05
82
external/corefx/src/System.DirectoryServices.Protocols/System.DirectoryServices.Protocols.sln
vendored
Normal file
82
external/corefx/src/System.DirectoryServices.Protocols/System.DirectoryServices.Protocols.sln
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25123.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.DirectoryServices.Protocols", "src\System.DirectoryServices.Protocols.csproj", "{879C23DC-D828-4DFB-8E92-ABBC11B71035}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{E37A8E5B-B822-436D-84FD-99EE46C0733F}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
ref\project.lock.json = ref\project.lock.json
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.DirectoryServices.Protocols", "ref\System.DirectoryServices.Protocols.csproj", "{2F7F1E21-0277-436B-85B8-E8FFA902FA66}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{AD3CFC4E-B3AE-4931-B631-C39216ABD115}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
src\System.DirectoryServices.Protocols.builds = src\System.DirectoryServices.Protocols.builds
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
net46_Debug|Any CPU = net46_Debug|Any CPU
|
||||
net46_Release|Any CPU = net46_Release|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Unix_Debug|Any CPU = Unix_Debug|Any CPU
|
||||
Unix_Release|Any CPU = Unix_Release|Any CPU
|
||||
Windows_Debug|Any CPU = Windows_Debug|Any CPU
|
||||
Windows_netcore50_Debug|Any CPU = Windows_netcore50_Debug|Any CPU
|
||||
Windows_netcore50_Release|Any CPU = Windows_netcore50_Release|Any CPU
|
||||
Windows_Release|Any CPU = Windows_Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Debug|Any CPU.ActiveCfg = Windows_Debug|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Debug|Any CPU.Build.0 = Windows_Debug|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.net46_Debug|Any CPU.ActiveCfg = Windows_Release|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.net46_Debug|Any CPU.Build.0 = Windows_Release|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.net46_Release|Any CPU.ActiveCfg = Windows_Release|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.net46_Release|Any CPU.Build.0 = Windows_Release|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Release|Any CPU.ActiveCfg = Windows_Release|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Release|Any CPU.Build.0 = Windows_Release|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Unix_Debug|Any CPU.ActiveCfg = Windows_Release|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Unix_Debug|Any CPU.Build.0 = Windows_Release|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Unix_Release|Any CPU.ActiveCfg = Windows_Release|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Unix_Release|Any CPU.Build.0 = Windows_Release|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Windows_Debug|Any CPU.ActiveCfg = Windows_Debug|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Windows_Debug|Any CPU.Build.0 = Windows_Debug|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Windows_netcore50_Debug|Any CPU.ActiveCfg = Windows_Release|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Windows_netcore50_Debug|Any CPU.Build.0 = Windows_Release|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Windows_netcore50_Release|Any CPU.ActiveCfg = Windows_Release|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Windows_netcore50_Release|Any CPU.Build.0 = Windows_Release|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Windows_Release|Any CPU.ActiveCfg = Windows_Release|Any CPU
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035}.Windows_Release|Any CPU.Build.0 = Windows_Release|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.net46_Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.net46_Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.net46_Release|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.net46_Release|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Release|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Release|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Unix_Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Unix_Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Unix_Release|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Unix_Release|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Windows_Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Windows_Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Windows_netcore50_Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Windows_netcore50_Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Windows_netcore50_Release|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Windows_netcore50_Release|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Windows_Release|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66}.Windows_Release|Any CPU.Build.0 = Debug|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{879C23DC-D828-4DFB-8E92-ABBC11B71035} = {AD3CFC4E-B3AE-4931-B631-C39216ABD115}
|
||||
{2F7F1E21-0277-436B-85B8-E8FFA902FA66} = {E37A8E5B-B822-436D-84FD-99EE46C0733F}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
7
external/corefx/src/System.DirectoryServices.Protocols/dir.props
vendored
Normal file
7
external/corefx/src/System.DirectoryServices.Protocols/dir.props
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\dir.props" />
|
||||
<PropertyGroup>
|
||||
<AssemblyVersion>4.1.0.0</AssemblyVersion>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<ItemGroup>
|
||||
<!--
|
||||
<Project Include="System.DirectoryServices.Protocols.pkgproj"/>
|
||||
-->
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
|
||||
</Project>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ref\System.DirectoryServices.Protocols.csproj">
|
||||
<SupportedFramework>netcoreapp2.0;$(AllXamarinFrameworks)</SupportedFramework>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\src\System.DirectoryServices.Protocols.builds" />
|
||||
<InboxOnTargetFramework Include="MonoAndroid10" />
|
||||
<InboxOnTargetFramework Include="MonoTouch10" />
|
||||
<InboxOnTargetFramework Include="xamarinios10" />
|
||||
<InboxOnTargetFramework Include="xamarinmac20" />
|
||||
<InboxOnTargetFramework Include="xamarintvos10" />
|
||||
<InboxOnTargetFramework Include="xamarinwatchos10" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
8
external/corefx/src/System.DirectoryServices.Protocols/ref/Configurations.props
vendored
Normal file
8
external/corefx/src/System.DirectoryServices.Protocols/ref/Configurations.props
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<BuildConfigurations>
|
||||
;
|
||||
</BuildConfigurations>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,8 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
// ------------------------------------------------------------------------------
|
||||
// Changes to this file must follow the http://aka.ms/api-review process.
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<ItemGroup>
|
||||
<Compile Include="System.DirectoryServices.Protocols.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
9
external/corefx/src/System.DirectoryServices.Protocols/src/Configurations.props
vendored
Normal file
9
external/corefx/src/System.DirectoryServices.Protocols/src/Configurations.props
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<BuildConfigurations>
|
||||
<!-- Empty build configurations as this project is not currently building for any vertical -->
|
||||
;
|
||||
</BuildConfigurations>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,132 @@
|
||||
|
||||
; Resources for System.DirectoryServices component
|
||||
; Copyright (c) 2000 Microsoft Corporation
|
||||
|
||||
; Exceptions messages
|
||||
|
||||
DsmlNonHttpUri=The URI that is supplied must be either "http" or "https".
|
||||
NoNegativeTime=A negative value is not permitted for the time limit.
|
||||
NoNegativeSizeLimit=A negative value is not permitted for the size limit.
|
||||
InvalidDocument=The DSML document could not be parsed.
|
||||
MissingSessionId=The server failed to return a session identifier.
|
||||
MissingResponse=The server failed to return a DirectoryResponse.
|
||||
ErrorResponse=An ErrorResponse DSML element was returned.
|
||||
BadControl=The server returned an invalid DSML control.
|
||||
NullDirectoryAttribute=A null reference cannot be added to DirectoryAttribute or DirectoryAttributeModification objects.
|
||||
NullDirectoryAttributeCollection=A null reference cannot be added to DirectoryAttributeCollection or DirectoryAttributeModificationCollection objects.
|
||||
WhiteSpaceServerName=Server names cannot contain a space character.
|
||||
DirectoryAttributeConversion=A DirectoryAttribute value can only be converted between byte array and string.
|
||||
WrongNumValuesCompare=Only one value can be specified for the compare operation.
|
||||
WrongAssertionCompare=The assertion is null and is invalid for the compare operation.
|
||||
DefaultOperationsError=An unspecified operation error occurred.
|
||||
BadSearchLDAPFilter=The LDAP filter string is invalid.
|
||||
ReadOnlyProperty=The property is read-only.
|
||||
MissingOperationResponseResultCode=The operation response is missing the result code.
|
||||
MissingSearchResultEntryDN=The distinguished name is missing in the SearchResultEntry of the search response.
|
||||
MissingSearchResultEntryAttributeName=The search result is missing the attribute name.
|
||||
BadOperationResponseResultCode=The server returned an unknown result code "{0}".
|
||||
MissingErrorResponseType=The error response is missing the type attribute.
|
||||
ErrorResponseInvalidValue=The error response contains an invalid type attribute "{0}".
|
||||
NotSupportOnDsmlErrRes=This property is not supported on a DsmlErrorResponse.
|
||||
BadBase64Value=The value is invalid base-64-encoded data.
|
||||
WrongAuthType=The DsmlSoapHttpConnection does not support "{0}" authentication type.
|
||||
SessionInUse=An active session already exists for this connection.
|
||||
ReadOnlyDocument=The document is read-only.
|
||||
NotWellFormedResponse=The response from the server is not a well-formed DSML document.
|
||||
NoCurrentSession=No active session exists for this connection.
|
||||
UnknownResponseElement=The server returned an unknown response element.
|
||||
InvalidClientCertificates=ClientCertificates can contain only zero or one certificate.
|
||||
InvalidAuthCredential=The user name and password must be null when the authentication type is anonymous.
|
||||
InvalidLdapSearchRequestFilter=The LDAP connection only accepts SearchRequest objects that have string type filters.
|
||||
PartialResultsNotSupported=Retrieval of partial results set is supported only by the SearchRequest object.
|
||||
BerConverterNotMatch=The "format" string argument and the passed in "value" argument do not match.
|
||||
BerConverterUndefineChar=The "format" string contains an invalid character.
|
||||
BerConversionError=An error occurred during the BER conversion.
|
||||
TLSStopFailure=The Stop TLS operation failed.
|
||||
NoPartialResults=The LDAP connection cannot retrieve a partial result set.
|
||||
|
||||
DefaultLdapError=The LDAP server returned an unknown error.
|
||||
LDAP_PARTIAL_RESULTS=Only partial results and referrals were received.
|
||||
LDAP_IS_LEAF=The object is a leaf.
|
||||
LDAP_SORT_CONTROL_MISSING=The search requires a SORT control.
|
||||
LDAP_OFFSET_RANGE_ERROR=The search results exceed the specified offset range.
|
||||
LDAP_RESULTS_TOO_LARGE=The returned results are too large.
|
||||
LDAP_SERVER_DOWN=The LDAP server is unavailable.
|
||||
LDAP_LOCAL_ERROR=A local error occurred.
|
||||
LDAP_ENCODING_ERROR=An encoding error occurred.
|
||||
LDAP_DECODING_ERROR=A decoding error occurred.
|
||||
LDAP_TIMEOUT=The operation was aborted because the client side timeout limit was exceeded.
|
||||
LDAP_AUTH_UNKNOWN=An unknown authentication error occurred.
|
||||
LDAP_FILTER_ERROR=The search filter is invalid.
|
||||
LDAP_USER_CANCELLED=The user cancelled the operation.
|
||||
LDAP_PARAM_ERROR=A bad parameter was passed to a routine.
|
||||
LDAP_NO_MEMORY=There is not enough memory to perform the task.
|
||||
LDAP_CONNECT_ERROR=The connection cannot be established.
|
||||
LDAP_NOT_SUPPORTED=The feature is not supported.
|
||||
LDAP_NO_RESULTS_RETURNED=No results were returned.
|
||||
LDAP_CONTROL_NOT_FOUND=The specified control was not found.
|
||||
LDAP_MORE_RESULTS_TO_RETURN=More results will be returned.
|
||||
LDAP_CLIENT_LOOP=A client loop was detected.
|
||||
LDAP_REFERRAL_LIMIT_EXCEEDED=The referral limit has been exceeded.
|
||||
LDAP_INVALID_CREDENTIALS=The supplied credential is invalid.
|
||||
LDAP_SUCCESS=The call completed successfully.
|
||||
NoSessionIDReturned=The server failed to return a session identifier.
|
||||
LDAP_OPERATIONS_ERROR=An operation error occurred.
|
||||
LDAP_PROTOCOL_ERROR=A protocol error occurred.
|
||||
LDAP_TIMELIMIT_EXCEEDED=The time limit set by the server-side time limit parameter was exceeded.
|
||||
LDAP_SIZELIMIT_EXCEEDED=The size limit was exceeded
|
||||
LDAP_COMPARE_FALSE=The attribute and known values do not match.
|
||||
LDAP_COMPARE_TRUE=The attribute and known values match.
|
||||
LDAP_AUTH_METHOD_NOT_SUPPORTED=The authentication method is not supported.
|
||||
LDAP_STRONG_AUTH_REQUIRED=Strong authentication is required for this operation.
|
||||
LDAP_REFERRAL=A referral was returned from the server.
|
||||
LDAP_ADMIN_LIMIT_EXCEEDED=The administration limit on the server was exceeded.
|
||||
LDAP_UNAVAILABLE_CRIT_EXTENSION=The server does not support the control. The control is critical.
|
||||
LDAP_CONFIDENTIALITY_REQUIRED=Confidentiality is required for this operation.
|
||||
LDAP_SASL_BIND_IN_PROGRESS=A SASL bind is in progress.
|
||||
LDAP_NO_SUCH_ATTRIBUTE=The requested attribute does not exist.
|
||||
LDAP_UNDEFINED_TYPE=The type is not defined.
|
||||
LDAP_INAPPROPRIATE_MATCHING=The matching rule does not apply to the specified attribute type.
|
||||
LDAP_CONSTRAINT_VIOLATION=A value in the request is invalid.
|
||||
LDAP_ATTRIBUTE_OR_VALUE_EXISTS=The attribute exists or the value has been assigned.
|
||||
LDAP_INVALID_SYNTAX=The syntax is invalid.
|
||||
LDAP_NO_SUCH_OBJECT=The object does not exist.
|
||||
LDAP_ALIAS_PROBLEM=The alias is invalid.
|
||||
LDAP_INVALID_DN_SYNTAX=The distinguished name contains invalid syntax.
|
||||
LDAP_ALIAS_DEREF_PROBLEM=An error occurred when dereferencing the alias.
|
||||
LDAP_INAPPROPRIATE_AUTH=The authentication that was provided was not appropriate.
|
||||
LDAP_INSUFFICIENT_RIGHTS=The user has insufficient access rights.
|
||||
LDAP_BUSY=The server is busy.
|
||||
LDAP_UNAVAILABLE=The server is unavailable.
|
||||
LDAP_UNWILLING_TO_PERFORM=The server cannot handle directory requests.
|
||||
LDAP_LOOP_DETECT=The chain of referrals has looped back to a referring server.
|
||||
LDAP_NAMING_VIOLATION=A naming violation occurred.
|
||||
LDAP_OBJECT_CLASS_VIOLATION=An object class violation occurred.
|
||||
LDAP_NOT_ALLOWED_ON_NONLEAF=This operation is not allowed on a non-leaf object.
|
||||
LDAP_NOT_ALLOWED_ON_RDN=This operation is not allowed on a relative distinguished name.
|
||||
LDAP_ALREADY_EXISTS=The object exists.
|
||||
LDAP_NO_OBJECT_CLASS_MODS=The request is attempting to modify an object class that cannot be modified.
|
||||
LDAP_AFFECTS_MULTIPLE_DSAS=Multiple directory service agents are affected.
|
||||
LDAP_VIRTUAL_LIST_VIEW_ERROR=An error occurred when attempting to perform a requested Virtual List View operation.
|
||||
LDAP_OTHER=An unknown error occurred.
|
||||
LDAP_SEND_TIMEOUT=The operation was aborted because the send timeout limit was exceeded.
|
||||
InvalidAsyncResult=The async result is invalid.
|
||||
|
||||
ValidDirectoryAttributeType=The "value" parameter must be a string or byte[] type.
|
||||
ValidFilterType=The "filter" parameter must be a string or DsmlDocument type.
|
||||
ValidValuesType=The "values" parameter must be a string[], byte[][], or Uri[] type.
|
||||
ValidValueType=The value must be a string, byte[], or Uri type.
|
||||
SupportedPlatforms=System.DirectoryServices.Protocols namespace is only supported on Windows 2000 and later operating systems.
|
||||
TLSNotSupported=Transport layer security is not supported on Windows 2000.
|
||||
InvalidValueType=The specified parameter should be a "{0}" type.
|
||||
ValidValue=The value must be greater than or equal to 0.
|
||||
ContainNullControl=The collection cannot contain a null DirectoryControl object.
|
||||
InvalidFilterType=The filter type "{0}" is invalid.
|
||||
NotReturnedAsyncResult=The value "{0}" is not the return value from BeginSendRequest.
|
||||
DsmlAuthRequestNotSupported=LdapConnection object does not support DsmlAuthRequest.
|
||||
CallBackIsNull=Callback function can not be null when partial result processing is in ReturnPartialResultsAndNotifyCallback mode.
|
||||
NullValueArray=The array should not contain null reference.
|
||||
NonCLSException=A non-CLSCompliant exception is thrown.
|
||||
ConcurrentBindNotSupport=Fast concurrent bind is only supported on Windows 2003 and later operating systems.
|
||||
TimespanExceedMax=The value exceeds the maximum allowed.
|
||||
InvliadRequestType=The specified request is not supported.
|
||||
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition="'$(Configuration)'=='' AND '$(TargetGroup)' == ''">Windows_Debug</Configuration>
|
||||
</PropertyGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{879C23DC-D828-4DFB-8E92-ABBC11B71035}</ProjectGuid>
|
||||
<AssemblyName>System.DirectoryServices.Protocols</AssemblyName>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<NoWarn>$(NoWarn);0649</NoWarn>
|
||||
<GeneratePlatformNotSupportedAssembly Condition="'$(TargetsUnix)' == 'true'">true</GeneratePlatformNotSupportedAssembly>
|
||||
</PropertyGroup>
|
||||
<!-- Help VS understand available configurations -->
|
||||
<ItemGroup>
|
||||
<Compile Include="System\DirectoryServices\Protocols\externdll.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\AuthTypes.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\BerConverter.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\DereferenceAlias.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\DirectoryAttribute.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\DirectoryAttributeOperation.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\DirectoryConnection.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\DirectoryControl.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\DirectoryException.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\DirectoryIdentifier.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\DirectoryOperation.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\DirectoryRequest.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\DirectoryResponse.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\PartialResultsCollection.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\ReferralChasingOption.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\ResultCode.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\SearchResults.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\common\SearchScope.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\dsml\adreqresp2.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\dsml\DsmlAsyncResult.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\dsml\DsmlConstants.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\dsml\DsmlDirectoryIdentifier.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\dsml\DsmlDocument.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\dsml\DsmlDocumentProcessing.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\dsml\DsmlException.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\dsml\dsmlfilterwriter.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\dsml\DsmlSoapConnection.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\dsml\DsmlSoapHttpConnection.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\dsml\filterparser.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\dsml\utils.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\ldap\LdapAsyncResult.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\ldap\LdapConnection.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\ldap\LdapDirectoryIdentifier.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\ldap\LdapException.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\ldap\LdapPartialResultsProcessor.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\ldap\LdapSessionOptions.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\ldap\SafeHandles.cs" />
|
||||
<Compile Include="System\DirectoryServices\Protocols\ldap\Wldap32UnsafeMethods.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="project.json" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
@@ -0,0 +1,83 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace System
|
||||
{
|
||||
internal static class ExternDll
|
||||
{
|
||||
#if FEATURE_PAL && !SILVERLIGHT
|
||||
|
||||
#if !PLATFORM_UNIX
|
||||
internal const String DLLPREFIX = "";
|
||||
internal const String DLLSUFFIX = ".dll";
|
||||
#else // !PLATFORM_UNIX
|
||||
#if __APPLE__
|
||||
internal const String DLLPREFIX = "lib";
|
||||
internal const String DLLSUFFIX = ".dylib";
|
||||
#elif _AIX
|
||||
internal const String DLLPREFIX = "lib";
|
||||
internal const String DLLSUFFIX = ".a";
|
||||
#elif __hppa__ || IA64
|
||||
internal const String DLLPREFIX = "lib";
|
||||
internal const String DLLSUFFIX = ".sl";
|
||||
#else
|
||||
internal const String DLLPREFIX = "lib";
|
||||
internal const String DLLSUFFIX = ".so";
|
||||
#endif
|
||||
#endif // !PLATFORM_UNIX
|
||||
|
||||
public const string Kernel32 = DLLPREFIX + "rotor_pal" + DLLSUFFIX;
|
||||
public const string User32 = DLLPREFIX + "rotor_pal" + DLLSUFFIX;
|
||||
public const string Mscoree = DLLPREFIX + "sscoree" + DLLSUFFIX;
|
||||
|
||||
#elif FEATURE_PAL && SILVERLIGHT
|
||||
|
||||
public const string Kernel32 = "coreclr";
|
||||
public const string User32 = "coreclr";
|
||||
|
||||
#else
|
||||
public const string Activeds = "activeds.dll";
|
||||
public const string Advapi32 = "advapi32.dll";
|
||||
public const string Comctl32 = "comctl32.dll";
|
||||
public const string Comdlg32 = "comdlg32.dll";
|
||||
public const string Gdi32 = "gdi32.dll";
|
||||
public const string Gdiplus = "gdiplus.dll";
|
||||
public const string Hhctrl = "hhctrl.ocx";
|
||||
public const string Imm32 = "imm32.dll";
|
||||
public const string Kernel32 = "kernel32.dll";
|
||||
public const string Loadperf = "Loadperf.dll";
|
||||
public const string Mscoree = "mscoree.dll";
|
||||
public const string Clr = "clr.dll";
|
||||
public const string Msi = "msi.dll";
|
||||
public const string Mqrt = "mqrt.dll";
|
||||
public const string Ntdll = "ntdll.dll";
|
||||
public const string Ole32 = "ole32.dll";
|
||||
public const string Oleacc = "oleacc.dll";
|
||||
public const string Oleaut32 = "oleaut32.dll";
|
||||
public const string Olepro32 = "olepro32.dll";
|
||||
public const string PerfCounter = "perfcounter.dll";
|
||||
public const string Powrprof = "Powrprof.dll";
|
||||
public const string Psapi = "psapi.dll";
|
||||
public const string Shell32 = "shell32.dll";
|
||||
public const string User32 = "user32.dll";
|
||||
public const string Uxtheme = "uxtheme.dll";
|
||||
public const string WinMM = "winmm.dll";
|
||||
public const string Winspool = "winspool.drv";
|
||||
public const string Wtsapi32 = "wtsapi32.dll";
|
||||
public const string Version = "version.dll";
|
||||
public const string Vsassert = "vsassert.dll";
|
||||
public const string Fxassert = "Fxassert.dll";
|
||||
public const string Shlwapi = "shlwapi.dll";
|
||||
public const string Crypt32 = "crypt32.dll";
|
||||
|
||||
// system.data specific
|
||||
internal const string Odbc32 = "odbc32.dll";
|
||||
internal const string SNI = "System.Data.dll";
|
||||
|
||||
// system.data.oracleclient specific
|
||||
internal const string OciDll = "oci.dll";
|
||||
internal const string OraMtsDll = "oramts.dll";
|
||||
#endif //!FEATURE_PAL
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace System.DirectoryServices.Protocols
|
||||
{
|
||||
using System;
|
||||
|
||||
public enum AuthType
|
||||
{
|
||||
Anonymous = 0,
|
||||
Basic = 1,
|
||||
Negotiate = 2,
|
||||
Ntlm = 3,
|
||||
Digest = 4,
|
||||
Sicily = 5,
|
||||
Dpa = 6,
|
||||
Msn = 7,
|
||||
External = 8,
|
||||
Kerberos = 9
|
||||
}
|
||||
|
||||
public enum PartialResultProcessing
|
||||
{
|
||||
NoPartialResultSupport,
|
||||
ReturnPartialResults,
|
||||
ReturnPartialResultsAndNotifyCallback
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,14 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace System.DirectoryServices.Protocols
|
||||
{
|
||||
public enum DereferenceAlias
|
||||
{
|
||||
Never = 0,
|
||||
InSearching = 1,
|
||||
FindingBaseObject = 2,
|
||||
Always = 3
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,13 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace System.DirectoryServices.Protocols
|
||||
{
|
||||
public enum DirectoryAttributeOperation
|
||||
{
|
||||
Add = 0,
|
||||
Delete = 1,
|
||||
Replace = 2
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace System.DirectoryServices.Protocols
|
||||
{
|
||||
using System;
|
||||
using System.Net;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using System.Security.Permissions;
|
||||
|
||||
public abstract class DirectoryConnection
|
||||
{
|
||||
//
|
||||
// Private/protected
|
||||
//
|
||||
internal NetworkCredential directoryCredential = null;
|
||||
internal X509CertificateCollection certificatesCollection = null;
|
||||
internal TimeSpan connectionTimeOut = new TimeSpan(0, 0, 30);
|
||||
internal DirectoryIdentifier directoryIdentifier = null;
|
||||
|
||||
protected DirectoryConnection()
|
||||
{
|
||||
Utility.CheckOSVersion();
|
||||
|
||||
certificatesCollection = new X509CertificateCollection();
|
||||
}
|
||||
|
||||
public virtual DirectoryIdentifier Directory
|
||||
{
|
||||
get
|
||||
{
|
||||
return directoryIdentifier;
|
||||
}
|
||||
}
|
||||
|
||||
public X509CertificateCollection ClientCertificates
|
||||
{
|
||||
get
|
||||
{
|
||||
return certificatesCollection;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual TimeSpan Timeout
|
||||
{
|
||||
get
|
||||
{
|
||||
return connectionTimeOut;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value < TimeSpan.Zero)
|
||||
{
|
||||
throw new ArgumentException(Res.GetString(Res.NoNegativeTime), "value");
|
||||
}
|
||||
|
||||
connectionTimeOut = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual NetworkCredential Credential
|
||||
{
|
||||
[
|
||||
DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true),
|
||||
EnvironmentPermission(SecurityAction.Assert, Unrestricted = true),
|
||||
SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode)
|
||||
]
|
||||
set
|
||||
{
|
||||
directoryCredential = (value != null) ? new NetworkCredential(value.UserName, value.Password, value.Domain) : null;
|
||||
}
|
||||
}
|
||||
|
||||
[
|
||||
DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true)
|
||||
]
|
||||
public abstract DirectoryResponse SendRequest(DirectoryRequest request);
|
||||
|
||||
internal NetworkCredential GetCredential()
|
||||
{
|
||||
return directoryCredential;
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,96 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace System.DirectoryServices.Protocols
|
||||
{
|
||||
using System.Runtime.Serialization;
|
||||
using System.Security.Permissions;
|
||||
|
||||
[Serializable]
|
||||
public class DirectoryException : Exception
|
||||
{
|
||||
protected DirectoryException(SerializationInfo info, StreamingContext context) : base(info, context)
|
||||
{
|
||||
}
|
||||
|
||||
public DirectoryException(string message, Exception inner) : base(message, inner)
|
||||
{
|
||||
Utility.CheckOSVersion();
|
||||
}
|
||||
|
||||
public DirectoryException(string message) : base(message)
|
||||
{
|
||||
Utility.CheckOSVersion();
|
||||
}
|
||||
|
||||
public DirectoryException() : base()
|
||||
{
|
||||
Utility.CheckOSVersion();
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class DirectoryOperationException : DirectoryException, ISerializable
|
||||
{
|
||||
internal DirectoryResponse response = null;
|
||||
protected DirectoryOperationException(SerializationInfo info, StreamingContext context) : base(info, context)
|
||||
{
|
||||
}
|
||||
|
||||
public DirectoryOperationException() : base() { }
|
||||
|
||||
public DirectoryOperationException(string message) : base(message) { }
|
||||
|
||||
public DirectoryOperationException(string message, Exception inner) : base(message, inner) { }
|
||||
|
||||
public DirectoryOperationException(DirectoryResponse response) : base(Res.GetString(Res.DefaultOperationsError))
|
||||
{
|
||||
this.response = response;
|
||||
}
|
||||
|
||||
public DirectoryOperationException(DirectoryResponse response, string message) : base(message)
|
||||
{
|
||||
this.response = response;
|
||||
}
|
||||
|
||||
public DirectoryOperationException(DirectoryResponse response, string message, Exception inner) : base(message, inner)
|
||||
{
|
||||
this.response = response;
|
||||
}
|
||||
|
||||
public DirectoryResponse Response
|
||||
{
|
||||
get
|
||||
{
|
||||
return response;
|
||||
}
|
||||
}
|
||||
|
||||
[SecurityPermissionAttribute(SecurityAction.LinkDemand, SerializationFormatter = true)]
|
||||
public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
|
||||
{
|
||||
base.GetObjectData(serializationInfo, streamingContext);
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class BerConversionException : DirectoryException
|
||||
{
|
||||
protected BerConversionException(SerializationInfo info, StreamingContext context) : base(info, context)
|
||||
{
|
||||
}
|
||||
|
||||
public BerConversionException() : base(Res.GetString(Res.BerConversionError))
|
||||
{
|
||||
}
|
||||
|
||||
public BerConversionException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public BerConversionException(string message, Exception inner) : base(message, inner)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace System.DirectoryServices.Protocols
|
||||
{
|
||||
using System;
|
||||
|
||||
public abstract class DirectoryIdentifier
|
||||
{
|
||||
protected DirectoryIdentifier()
|
||||
{
|
||||
Utility.CheckOSVersion();
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user