I use RSACryptoServiceProvider.VerifyData to verify a digital signature.
The public key is loaded with RSACryptoServiceProvider.ImportCspBlob and
SHA1CryptoServiceProvider is used.
I have some Windows XP SP2 PCs under a Windows Server 2003 Small Business
domain.
If the PCs are isolated from the domain controller (LAN is not connected or
the domain controller server is turned off) everything is ok.
If the PCs can contact the domain controller the
RSACryptoServiceProvider.VerifyData hangs for almost 20 seconds.
Please help.
Thank you.
2 months ago, we had same problem. We have asked the solution about this problem to MS. MS has no solution. They only have confirmed this problem. In our trace by WireShark, this function throws LDAP something to DC. And some DC does not reply this LDAP something. So, we have to wait 20-30 seconds. In our development environment, DC replies this LDAP soon, so no problem. However in our customer environment, DC never replies this LDAP.
Matteo Prosperi - 18 Nov 2007 13:23 GMT
The late response of the DC was due to a problem in the configuration of the
DNS. I have added the DC in the list of the network DNS and now everything is
OK, also the login on the domain PCs is much faster.