61 references to AuthenticationTypes
System.DirectoryServices (35)
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (7)
943AuthenticationTypes authType = Utils.DefaultAuthType | AuthenticationTypes.FastBind | AuthenticationTypes.Delegation; 946authType |= AuthenticationTypes.ServerBind; 985AuthenticationTypes authType = Utils.DefaultAuthType | AuthenticationTypes.FastBind; 988authType |= AuthenticationTypes.ServerBind;
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (2)
341AuthenticationTypes authType = Utils.DefaultAuthType; 358authType |= AuthenticationTypes.ServerBind;
System\DirectoryServices\ActiveDirectory\DirectoryEntryManager.cs (2)
258AuthenticationTypes authType = Utils.DefaultAuthType; 266authType |= AuthenticationTypes.ServerBind;
System\DirectoryServices\ActiveDirectory\DomainController.cs (2)
877de = new DirectoryEntry("LDAP://" + dc.Name + "/RootDSE", context.UserName, context.Password, Utils.DefaultAuthType | AuthenticationTypes.ServerBind); 1304de.AuthenticationType = Utils.DefaultAuthType | AuthenticationTypes.ServerBind;
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (1)
428de.AuthenticationType = Utils.DefaultAuthType | AuthenticationTypes.ServerBind;
System\DirectoryServices\ActiveDirectory\Utils.cs (4)
46internal const AuthenticationTypes DefaultAuthType = AuthenticationTypes.Secure | AuthenticationTypes.Signing | AuthenticationTypes.Sealing;
System\DirectoryServices\DirectoryEntry.cs (11)
34private AuthenticationTypes _authenticationType = AuthenticationTypes.Secure; 67public DirectoryEntry(string? path, string? username, string? password) : this(path, username, password, AuthenticationTypes.Secure) 74public DirectoryEntry(string? path, string? username, string? password, AuthenticationTypes authenticationType) : this(path) 86internal DirectoryEntry(string path, bool useCache, string? username, string? password, AuthenticationTypes authenticationType) 107: this(adsObject, true, null, null, AuthenticationTypes.Secure, true) 111internal DirectoryEntry(object adsObject, bool useCache, string? username, string? password, AuthenticationTypes authenticationType) 116internal DirectoryEntry(object adsObject, bool useCache, string? username, string? password, AuthenticationTypes authenticationType, bool AdsObjIsExternal) 160[DefaultValue(AuthenticationTypes.Secure)] 161public AuthenticationTypes AuthenticationType 512DirectoryEntry rootDSE = new DirectoryEntry("LDAP://RootDSE", true, null, null, AuthenticationTypes.Secure);
System\DirectoryServices\DirectorySearcher.cs (2)
346DirectoryEntry rootDSE = new DirectoryEntry("LDAP://RootDSE", true, null, null, AuthenticationTypes.Secure); 353_searchRoot = new DirectoryEntry("LDAP://" + defaultNamingContext, true, null, null, AuthenticationTypes.Secure);
System\DirectoryServices\SearchResult.cs (2)
15private readonly AuthenticationTypes _parentAuthenticationType; 17internal SearchResult(NetworkCredential? parentCredentials, AuthenticationTypes parentAuthenticationType)
System\DirectoryServices\SearchResultCollection.cs (2)
268private readonly AuthenticationTypes _parentAuthenticationType; 274internal ResultsEnumerator(SearchResultCollection results, string? parentUserName, string? parentPassword, AuthenticationTypes parentAuthenticationType)
System.DirectoryServices.AccountManagement (26)
System\DirectoryServices\AccountManagement\AD\ADAMStoreCtx.cs (1)
113using (DirectoryEntry rootDse = new DirectoryEntry("LDAP://" + this.userSuppliedServerName + "/rootDse", "", "", AuthenticationTypes.Anonymous))
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (3)
35protected internal AuthenticationTypes AuthTypes { get { return this.authTypes; } } 36protected AuthenticationTypes authTypes; 2439using (DirectoryEntry rootDse = new DirectoryEntry($"LDAP://{this.dnsHostName}:{port}/rootDse", "", "", AuthenticationTypes.Anonymous))
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (1)
1476protected static void UpdateGroupMembership(Principal group, DirectoryEntry de, NetCred credentials, AuthenticationTypes authTypes)
System\DirectoryServices\AccountManagement\AD\SDSUtils.cs (15)
153internal static AuthenticationTypes MapOptionsToAuthTypes(ContextOptions options) 155AuthenticationTypes authTypes = AuthenticationTypes.Secure; 158authTypes = AuthenticationTypes.None; 161authTypes |= AuthenticationTypes.ServerBind; 164authTypes |= AuthenticationTypes.SecureSocketsLayer; 167authTypes |= AuthenticationTypes.Signing; 170authTypes |= AuthenticationTypes.Sealing; 202AuthenticationTypes authTypes, 264internal delegate void GroupMembershipUpdater(Principal p, DirectoryEntry de, NetCred credentials, AuthenticationTypes authTypes); 271AuthenticationTypes authTypes) 373internal static DirectoryEntry BuildDirectoryEntry(string path, NetCred credentials, AuthenticationTypes authTypes) 385internal static DirectoryEntry BuildDirectoryEntry(NetCred credentials, AuthenticationTypes authTypes) 398internal static void WriteAttribute<T>(string dePath, string attribute, T value, NetCred credentials, AuthenticationTypes authTypes) 432internal static void WriteAttribute(string dePath, string attribute, int value, NetCred credentials, AuthenticationTypes authTypes)
System\DirectoryServices\AccountManagement\Context.cs (3)
632AuthenticationTypes authTypes = SDSUtils.MapOptionsToAuthTypes(_options); 723AuthenticationTypes authTypes = SDSUtils.MapOptionsToAuthTypes(_options); 804AuthenticationTypes authTypes = SDSUtils.MapOptionsToAuthTypes(_options);
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (2)
24internal AuthenticationTypes AuthTypes { get { return _authTypes; } } 25private readonly AuthenticationTypes _authTypes;
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (1)
1006private static void UpdateGroupMembership(Principal group, DirectoryEntry de, NetCred credentials, AuthenticationTypes authTypes)