2 writes to LdapConnection
Microsoft.AspNetCore.Authentication.Negotiate (2)
PostConfigureNegotiateOptions.cs (2)
76
ldapSettings.
LdapConnection
= new LdapConnection(di);
83
ldapSettings.
LdapConnection
= new LdapConnection(di, credentials);
10 references to LdapConnection
Microsoft.AspNetCore.Authentication.Negotiate (10)
Internal\LdapAdapter.cs (4)
47
Debug.Assert(settings.
LdapConnection
!= null);
49
settings.
LdapConnection
.BeginSendRequest!,
50
settings.
LdapConnection
.EndSendRequest,
73
GetNestedGroups(settings.
LdapConnection
, identity, distinguishedName, groupCN, logger, retrievedClaims, new HashSet<string>());
LdapSettings.cs (2)
48
/// The <see cref="
LdapConnection
"/> to be used to retrieve role claims.
55
/// the <see cref="
LdapConnection
"/>.
PostConfigureNegotiateOptions.cs (4)
69
if (ldapSettings.
LdapConnection
== null)
86
ldapSettings.
LdapConnection
.SessionOptions.ProtocolVersion = 3; //Setting LDAP Protocol to latest version
87
ldapSettings.
LdapConnection
.Timeout = TimeSpan.FromMinutes(1);
90
ldapSettings.
LdapConnection
.Bind(); // This line actually makes the connection.