public ADProviderCommonParameters()
		{
			this._formatType = ADProviderDefaults.PathFormat;
			this._server = ADProviderDefaults.Server;
			this._isGC = ADProviderDefaults.IsGC;
			this._authType = ADProviderDefaults.AuthType;
		}
 public ADProviderCommonParameters()
 {
     this._formatType = ADProviderDefaults.PathFormat;
     this._server     = ADProviderDefaults.Server;
     this._isGC       = ADProviderDefaults.IsGC;
     this._authType   = ADProviderDefaults.AuthType;
 }
Example #3
0
 public ADDriveInfo() : base(null)
 {
     this._formatType = ADProviderDefaults.PathFormat;
     this._authType   = ADProviderDefaults.AuthType;
     this._isGC       = ADProviderDefaults.IsGC;
     this._ssl        = ADProviderDefaults.Ssl;
     this._encryption = ADProviderDefaults.Encryption;
     this._signing    = ADProviderDefaults.Signing;
 }
Example #4
0
 public ADDriveInfo(string name, ProviderInfo provider, string root, string rootWithAbsoluteToken, string description, PSCredential credential) : base(name, provider, rootWithAbsoluteToken, description, credential)
 {
     this._formatType = ADProviderDefaults.PathFormat;
     this._authType   = ADProviderDefaults.AuthType;
     this._isGC       = ADProviderDefaults.IsGC;
     this._ssl        = ADProviderDefaults.Ssl;
     this._encryption = ADProviderDefaults.Encryption;
     this._signing    = ADProviderDefaults.Signing;
     this._rootWithoutAbsolutePathToken = root;
 }
Example #5
0
		static ADProviderDefaults()
		{
			ADProviderDefaults.PathFormat = ADPathFormat.X500;
			ADProviderDefaults.HostType = ADPathHostType.Server;
			ADProviderDefaults.Server = null;
			ADProviderDefaults.IsGC = false;
			ADProviderDefaults.AuthType = ADAuthType.Negotiate;
			ADProviderDefaults.Ssl = false;
			ADProviderDefaults.Encryption = true;
			ADProviderDefaults.Signing = true;
			ADProviderDefaults.ServerSearchSizeLimit = 0;
			ADProviderDefaults.ServerSearchPageSize = 0x100;
			ADProviderDefaults.SearchFilter = "(objectclass=*)";
			ADProviderDefaults.InternalProviderSearchPageSize = 0x100;
		}
Example #6
0
 static ADProviderDefaults()
 {
     ADProviderDefaults.PathFormat                     = ADPathFormat.X500;
     ADProviderDefaults.HostType                       = ADPathHostType.Server;
     ADProviderDefaults.Server                         = null;
     ADProviderDefaults.IsGC                           = false;
     ADProviderDefaults.AuthType                       = ADAuthType.Negotiate;
     ADProviderDefaults.Ssl                            = false;
     ADProviderDefaults.Encryption                     = true;
     ADProviderDefaults.Signing                        = true;
     ADProviderDefaults.ServerSearchSizeLimit          = 0;
     ADProviderDefaults.ServerSearchPageSize           = 0x100;
     ADProviderDefaults.SearchFilter                   = "(objectclass=*)";
     ADProviderDefaults.InternalProviderSearchPageSize = 0x100;
 }
Example #7
0
		private AuthType GetAuthType(ADAuthType adpsAuthType)
		{
			AuthType authType = AuthType.Negotiate;
			if (adpsAuthType != ADAuthType.Negotiate)
			{
				if (adpsAuthType == ADAuthType.Basic)
				{
					authType = AuthType.Basic;
				}
			}
			else
			{
				authType = AuthType.Negotiate;
			}
			return authType;
		}
Example #8
0
		public ADDriveInfo() : base(null)
		{
			this._formatType = ADProviderDefaults.PathFormat;
			this._authType = ADProviderDefaults.AuthType;
			this._isGC = ADProviderDefaults.IsGC;
			this._ssl = ADProviderDefaults.Ssl;
			this._encryption = ADProviderDefaults.Encryption;
			this._signing = ADProviderDefaults.Signing;
		}
Example #9
0
		public ADDriveInfo(string name, ProviderInfo provider, string root, string rootWithAbsoluteToken, string description, PSCredential credential) : base(name, provider, rootWithAbsoluteToken, description, credential)
		{
			this._formatType = ADProviderDefaults.PathFormat;
			this._authType = ADProviderDefaults.AuthType;
			this._isGC = ADProviderDefaults.IsGC;
			this._ssl = ADProviderDefaults.Ssl;
			this._encryption = ADProviderDefaults.Encryption;
			this._signing = ADProviderDefaults.Signing;
			this._rootWithoutAbsolutePathToken = root;
		}