TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rajendran S
1.2k
523
128.7k
LDAP SSL connection using ASP.Net MVC web application - How to connect
May 21 2021 1:56 AM
Help me !!!!
System.DirectoryServices.Protocols
I try to connect the LDAP Connection with the above assembly reference but it connection it says
The supplied credential is invalid.
80090308: LdapErr: DSID-0C090453, comment: AcceptSecurityContext error, data 52e, v3839
using
(LdapConnection ldapConnection =
new
LdapConnection(activeDirectoryServer) { Timeout = TimeSpan.FromSeconds(600) })
{
var networkCredential =
new
NetworkCredential(loginCN, ldpPassowrd, activeDirectpryDomain);
ldapConnection.SessionOptions.SecureSocketLayer =
true
;
ldapConnection.Credential = networkCredential;
ldapConnection.SessionOptions.VerifyServerCertificate =
new
VerifyServerCertificateCallback(ServerCallback);
ldapConnection.SessionOptions.ProtocolVersion = 3;
ldapConnection.AuthType = AuthType.Basic;
ldapConnection.Bind(networkCredential);
}
If anyone already tried with that please help me
Reply
Answers (
3
)
Enable Disable CheckBox in GridView based on condition in ASP.Net
Consume my chat bot the from my application without Azure registration