You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I got an error The digest-uri does not match any LDAP SPN's registered for this server data 0, v4563. Result: 49. Method: BindSasl when I pass just username to Bind method
OR DSID-0C09058A, comment: AcceptSecurityContext error, data 52e, v4563. Result: 49. Method: BindSasl when I pass usermane@domain to Bind method.
To Reproduce
const int ldapDomainAddressPort = 389;
var ldapConnection = new LdapConnection();
ldapConnection.Connect(domainName.ToLowerInvariant(), ldapDomainAddressPort);
var ldapCredential = new LdapCredential { UserName = userName, Password = plainPassword };
ldapConnection.Bind(Native.LdapAuthType.Digest, ldapCredential);
return ldapConnection;
Expected behavior
I expect successfull connection to AD.
Desktop (please complete the following information):
OS: CentOS 7.9. On Windows the same code works well when I use username@domain. On Ubuntu 18.04 the same code works well when I use just username. But when I use username@domain I got the same error as on CentOS.
Library version 2.7.2. With newest versions I got an error "libldap.so.2 could not be found" on both Ubuntu and Centos.
.NET\core\mono version: .Net5
LDAP server: Active Directory
The text was updated successfully, but these errors were encountered:
I have installed the latest version of openldap-clients package and ldapsearch works correctly.
Also, after several attempts to fix it, I found out the solution - remove SASL_NOCANON parametr from ldap.conf file. But I am not really sure that it is the right solution.
Describe the bug
I got an error
The digest-uri does not match any LDAP SPN's registered for this server data 0, v4563. Result: 49. Method: BindSasl when I pass just username to Bind method
OR
DSID-0C09058A, comment: AcceptSecurityContext error, data 52e, v4563. Result: 49. Method: BindSasl when I pass usermane@domain to Bind method.
To Reproduce
const int ldapDomainAddressPort = 389;
var ldapConnection = new LdapConnection();
ldapConnection.Connect(domainName.ToLowerInvariant(), ldapDomainAddressPort);
var ldapCredential = new LdapCredential { UserName = userName, Password = plainPassword };
ldapConnection.Bind(Native.LdapAuthType.Digest, ldapCredential);
return ldapConnection;
Expected behavior
I expect successfull connection to AD.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: