2009-07-15 27 views
9

ngay bây giờ tôi có nút an ninh được định nghĩa như thế này:Làm thế nào để buộc một .net WCF khách hàng sử dụng NTLM trong một basicHttpBinding?

<security mode="TransportCredentialOnly"> 
    <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" /> 
    <message clientCredentialType="UserName" algorithmSuite="Default" /> 
</security> 

Im nhận được lỗi sau:

The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'NTLM'.

Trả lời

11

Thay đổi của bạn clientCredentialType để "NTML".

+0

THANKYOU - Bạn đã lưu rất nhiều vấn đề với cân bằng tải –

+1

Hoặc, đúng hơn là "Ntlm". – Anders

Các vấn đề liên quan