Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
//
// AssemblyInfo.cs
//
// Author:
// Andreas Nahr (ClassDevelopment@A-SoftTech.com)
//
// (C) 2004 Ximian, Inc. http://www.ximian.com
//
using System;
using System.Reflection;
using System.Resources;
using System.Security;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about the system assembly
[assembly: AssemblyTitle ("System.DirectoryServices.Protocols.dll")]
[assembly: AssemblyDescription ("System.DirectoryServices.Protocols.dll")]
[assembly: AssemblyDefaultAlias ("System.DirectoryServices.Protocols.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion (Consts.FxVersion)]
[assembly: SatelliteContractVersion (Consts.FxVersion)]
[assembly: AssemblyInformationalVersion (Consts.FxFileVersion)]
[assembly: NeutralResourcesLanguage ("en-US")]
[assembly: ComVisible (false)]
#if !TARGET_JVM
[assembly: CLSCompliant (true)]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../msfinal.pub")]
#endif
[assembly: AssemblyFileVersion (Consts.FxFileVersion)]
[assembly: AllowPartiallyTrustedCallers]
[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)]

View File

@@ -0,0 +1,7 @@
2009-01-11 Atsushi Enomoto <atsushi@ximian.com>
* AssemblyInfo.cs : fix wrong key and versions.
2009-01-11 Atsushi Enomoto <atsushi@ximian.com>
* AssemblyInfo.cs : initial checkin.

View File

@@ -0,0 +1,8 @@
2009-01-11 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : remove wrong NET_3_5.
2009-01-11 Atsushi Enomoto <atsushi@ximian.com>
* Makefile, System.DirectoryServices.Protocols.dll.sources :
initial checkin.

View File

@@ -0,0 +1,13 @@
thisdir = class/System.DirectoryServices.Protocols
SUBDIRS =
include ../../build/rules.make
LIBRARY = System.DirectoryServices.Protocols.dll
LIB_MCS_FLAGS = \
/r:System.dll \
/r:System.DirectoryServices.dll \
/r:System.Xml.dll \
NO_TEST = yes
include ../../build/library.make

View File

@@ -0,0 +1,102 @@
../../build/common/Consts.cs
../../build/common/Locale.cs
../../build/common/MonoTODOAttribute.cs
Assembly/AssemblyInfo.cs
System.DirectoryServices.Protocols/AddRequest.cs
System.DirectoryServices.Protocols/AddResponse.cs
System.DirectoryServices.Protocols/AsqRequestControl.cs
System.DirectoryServices.Protocols/AsqResponseControl.cs
System.DirectoryServices.Protocols/AuthType.cs
System.DirectoryServices.Protocols/BerConversionException.cs
System.DirectoryServices.Protocols/BerConverter.cs
System.DirectoryServices.Protocols/CompareRequest.cs
System.DirectoryServices.Protocols/CompareResponse.cs
System.DirectoryServices.Protocols/CrossDomainMoveControl.cs
System.DirectoryServices.Protocols/DeleteRequest.cs
System.DirectoryServices.Protocols/DeleteResponse.cs
System.DirectoryServices.Protocols/DereferenceAlias.cs
System.DirectoryServices.Protocols/DereferenceConnectionCallback.cs
System.DirectoryServices.Protocols/DirSyncRequestControl.cs
System.DirectoryServices.Protocols/DirSyncResponseControl.cs
System.DirectoryServices.Protocols/DirectoryAttribute.cs
System.DirectoryServices.Protocols/DirectoryAttributeCollection.cs
System.DirectoryServices.Protocols/DirectoryAttributeModification.cs
System.DirectoryServices.Protocols/DirectoryAttributeModificationCollection.cs
System.DirectoryServices.Protocols/DirectoryAttributeOperation.cs
System.DirectoryServices.Protocols/DirectoryConnection.cs
System.DirectoryServices.Protocols/DirectoryControl.cs
System.DirectoryServices.Protocols/DirectoryControlCollection.cs
System.DirectoryServices.Protocols/DirectoryException.cs
System.DirectoryServices.Protocols/DirectoryIdentifier.cs
System.DirectoryServices.Protocols/DirectoryNotificationControl.cs
System.DirectoryServices.Protocols/DirectoryOperation.cs
System.DirectoryServices.Protocols/DirectoryOperationException.cs
System.DirectoryServices.Protocols/DirectoryRequest.cs
System.DirectoryServices.Protocols/DirectoryResponse.cs
System.DirectoryServices.Protocols/DirectorySynchronizationOptions.cs
System.DirectoryServices.Protocols/DomainScopeControl.cs
System.DirectoryServices.Protocols/DsmlAuthRequest.cs
System.DirectoryServices.Protocols/DsmlAuthResponse.cs
System.DirectoryServices.Protocols/DsmlDirectoryIdentifier.cs
System.DirectoryServices.Protocols/DsmlDocument.cs
System.DirectoryServices.Protocols/DsmlDocumentProcessing.cs
System.DirectoryServices.Protocols/DsmlErrorProcessing.cs
System.DirectoryServices.Protocols/DsmlErrorResponse.cs
System.DirectoryServices.Protocols/DsmlInvalidDocumentException.cs
System.DirectoryServices.Protocols/DsmlRequestDocument.cs
System.DirectoryServices.Protocols/DsmlResponseDocument.cs
System.DirectoryServices.Protocols/DsmlResponseOrder.cs
System.DirectoryServices.Protocols/DsmlSoapConnection.cs
System.DirectoryServices.Protocols/DsmlSoapHttpConnection.cs
System.DirectoryServices.Protocols/ErrorResponseCategory.cs
System.DirectoryServices.Protocols/ErrorResponseException.cs
System.DirectoryServices.Protocols/ExtendedDNControl.cs
System.DirectoryServices.Protocols/ExtendedDNFlag.cs
System.DirectoryServices.Protocols/ExtendedRequest.cs
System.DirectoryServices.Protocols/ExtendedResponse.cs
System.DirectoryServices.Protocols/LazyCommitControl.cs
System.DirectoryServices.Protocols/LdapConnection.cs
System.DirectoryServices.Protocols/LdapDirectoryIdentifier.cs
System.DirectoryServices.Protocols/LdapException.cs
System.DirectoryServices.Protocols/LdapSessionOptions.cs
System.DirectoryServices.Protocols/LocatorFlags.cs
System.DirectoryServices.Protocols/ModifyDNRequest.cs
System.DirectoryServices.Protocols/ModifyDNResponse.cs
System.DirectoryServices.Protocols/ModifyRequest.cs
System.DirectoryServices.Protocols/ModifyResponse.cs
System.DirectoryServices.Protocols/NotifyOfNewConnectionCallback.cs
System.DirectoryServices.Protocols/PageResultRequestControl.cs
System.DirectoryServices.Protocols/PageResultResponseControl.cs
System.DirectoryServices.Protocols/PartialResultProcessing.cs
System.DirectoryServices.Protocols/PartialResultsCollection.cs
System.DirectoryServices.Protocols/PermissiveModifyControl.cs
System.DirectoryServices.Protocols/QueryClientCertificateCallback.cs
System.DirectoryServices.Protocols/QueryForConnectionCallback.cs
System.DirectoryServices.Protocols/QuotaControl.cs
System.DirectoryServices.Protocols/ReferralCallback.cs
System.DirectoryServices.Protocols/ReferralChasingOptions.cs
System.DirectoryServices.Protocols/ResultCode.cs
System.DirectoryServices.Protocols/SearchOption.cs
System.DirectoryServices.Protocols/SearchOptionsControl.cs
System.DirectoryServices.Protocols/SearchRequest.cs
System.DirectoryServices.Protocols/SearchResponse.cs
System.DirectoryServices.Protocols/SearchResultAttributeCollection.cs
System.DirectoryServices.Protocols/SearchResultEntry.cs
System.DirectoryServices.Protocols/SearchResultEntryCollection.cs
System.DirectoryServices.Protocols/SearchResultReference.cs
System.DirectoryServices.Protocols/SearchResultReferenceCollection.cs
System.DirectoryServices.Protocols/SearchScope.cs
System.DirectoryServices.Protocols/SecurityDescriptorFlagControl.cs
System.DirectoryServices.Protocols/SecurityMasks.cs
System.DirectoryServices.Protocols/SecurityPackageContextConnectionInformation.cs
System.DirectoryServices.Protocols/SecurityProtocol.cs
System.DirectoryServices.Protocols/ShowDeletedControl.cs
System.DirectoryServices.Protocols/SortKey.cs
System.DirectoryServices.Protocols/SortRequestControl.cs
System.DirectoryServices.Protocols/SortResponseControl.cs
System.DirectoryServices.Protocols/TlsOperationException.cs
System.DirectoryServices.Protocols/TreeDeleteControl.cs
System.DirectoryServices.Protocols/VerifyNameControl.cs
System.DirectoryServices.Protocols/VerifyServerCertificateCallback.cs
System.DirectoryServices.Protocols/VlvRequestControl.cs
System.DirectoryServices.Protocols/VlvResponseControl.cs

View File

@@ -0,0 +1,65 @@
//
// AddRequest.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2009 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
using System.Xml;
namespace System.DirectoryServices.Protocols
{
[MonoTODO]
public class AddRequest : DirectoryRequest
{
public AddRequest ()
{
}
public AddRequest (string distinguishedName, params DirectoryAttribute [] attributes)
{
DistinguishedName = distinguishedName;
Attributes = new DirectoryAttributeCollection (attributes);
}
public AddRequest (string distinguishedName, string objectClass)
{
DistinguishedName = distinguishedName;
Attributes = new DirectoryAttributeCollection (new DirectoryAttribute [0]);
throw new NotImplementedException ();
}
public DirectoryAttributeCollection Attributes { get; private set; }
public string DistinguishedName { get; set; }
protected override XmlElement ToXmlNode (XmlDocument doc)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,38 @@
//
// AddResponse.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2009 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
namespace System.DirectoryServices.Protocols
{
public class AddResponse : DirectoryResponse
{
}
}

View File

@@ -0,0 +1,56 @@
//
// AsqRequestControl.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2009 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
namespace System.DirectoryServices.Protocols
{
public class AsqRequestControl : DirectoryControl
{
public AsqRequestControl ()
: base (null, null, false, false)
{
}
public AsqRequestControl (string attributeName)
: this ()
{
AttributeName = attributeName;
}
public string AttributeName { get; set; }
[MonoTODO]
public override byte [] GetValue ()
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,47 @@
//
// AsqResponseControl.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2009 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
namespace System.DirectoryServices.Protocols
{
[MonoTODO]
public class AsqResponseControl : DirectoryControl
{
internal AsqResponseControl (ResultCode result)
: base (null, null, false, false)
{
Result = result;
throw new NotImplementedException ();
}
public ResultCode Result { get; private set; }
}
}

View File

@@ -0,0 +1,48 @@
//
// AuthType.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2009 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
namespace System.DirectoryServices.Protocols
{
public enum AuthType
{
Anonymous,
Basic,
Negotiate,
Ntlm,
Digest,
Sicily,
Dpa,
Msn,
External,
Kerberos
}
}

View File

@@ -0,0 +1,58 @@
//
// BerConversionException.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2009 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
using System.Runtime.Serialization;
namespace System.DirectoryServices.Protocols
{
[Serializable]
public class BerConversionException : DirectoryException
{
public BerConversionException ()
: this ("BER conversion error")
{
}
public BerConversionException (string message)
: base (message)
{
}
public BerConversionException (string message, Exception inner)
: base (message, inner)
{
}
protected BerConversionException (SerializationInfo info, StreamingContext context)
: base (info, context)
{
}
}
}

View File

@@ -0,0 +1,50 @@
//
// BerConverter.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2009 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
namespace System.DirectoryServices.Protocols
{
[MonoTODO]
public sealed class BerConverter
{
[MonoTODO]
public static object [] Decode (string format, byte [] value)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static byte [] Encode (string format, params object [] value)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,6 @@
2009-01-11 Atsushi Enomoto <atsushi@ximian.com>
* initial checkin. Stubs and some implemented code for all 2.0 types.
I'm not going to implement this assembly, it's just for stub to
make it possible to build some applications that depend on this
assembly. Feel free to implement it.

View File

@@ -0,0 +1,75 @@
//
// CompareRequest.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2009 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
using System.Xml;
namespace System.DirectoryServices.Protocols
{
public class CompareRequest : DirectoryRequest
{
public CompareRequest ()
{
}
public CompareRequest (string distinguishedName, DirectoryAttribute assertion)
{
DistinguishedName = distinguishedName;
Assertion = assertion;
}
public CompareRequest (string distinguishedName, string attributeName, byte [] value)
: this (distinguishedName, new DirectoryAttribute (attributeName, value))
{
throw new NotImplementedException ();
}
public CompareRequest (string distinguishedName, string attributeName, string value)
: this (distinguishedName, new DirectoryAttribute (attributeName, value))
{
throw new NotImplementedException ();
}
public CompareRequest (string distinguishedName, string attributeName, Uri value)
: this (distinguishedName, new DirectoryAttribute (attributeName, value))
{
throw new NotImplementedException ();
}
public DirectoryAttribute Assertion { get; private set; }
public string DistinguishedName { get; set; }
[MonoTODO]
protected override XmlElement ToXmlNode (XmlDocument doc)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,41 @@
//
// CompareResponse.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2009 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
namespace System.DirectoryServices.Protocols
{
public class CompareResponse : DirectoryResponse
{
internal CompareResponse ()
{
}
}
}

View File

@@ -0,0 +1,56 @@
//
// CrossDomainMoveControl.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2009 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
namespace System.DirectoryServices.Protocols
{
public class CrossDomainMoveControl : DirectoryControl
{
public CrossDomainMoveControl ()
: base (null, null, false, false)
{
}
public CrossDomainMoveControl (string targetDomainController)
: this ()
{
TargetDomainController = targetDomainController;
}
public string TargetDomainController { get; set; }
[MonoTODO]
public override byte [] GetValue ()
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,55 @@
//
// DeleteRequest.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2009 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
using System.Xml;
namespace System.DirectoryServices.Protocols
{
public class DeleteRequest : DirectoryRequest
{
public DeleteRequest ()
{
}
public DeleteRequest (string distinguishedName)
{
DistinguishedName = distinguishedName;
}
public string DistinguishedName { get; set; }
[MonoTODO]
protected override XmlElement ToXmlNode (XmlDocument doc)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,41 @@
//
// DeleteResponse.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2009 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
namespace System.DirectoryServices.Protocols
{
public class DeleteResponse : DirectoryResponse
{
internal DeleteResponse ()
{
}
}
}

View File

@@ -0,0 +1,42 @@
//
// DereferenceAlias.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2009 Novell, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
namespace System.DirectoryServices.Protocols
{
public enum DereferenceAlias
{
Never,
InSearching,
FindingBaseObject,
Always
}
}

View File

@@ -0,0 +1,31 @@
//
// DereferenceConnectionCallback.cs
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
namespace System.DirectoryServices.Protocols
{
public delegate void DereferenceConnectionCallback (LdapConnection primaryConnection, LdapConnection connectionToDereference);
}

Some files were not shown because too many files have changed in this diff Show More