本文介绍了应的servicePrincipalName有什么价值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图建立客户端模拟在我的服务。

我需要设置一个值,为我服务的终点。

中的servicePrincipalName

我在看这个 MSDN文章,但仍不能完全弄明白

我的服务托管在我们称之为ServerName1服务器上的控制台应用程序。
URI是:的net.tcp:// ServerName1:9990 / TestService1 /

具体什么应该我的servicePrincipalName是什么?

我试过了,没有快乐:

 <身份>
    <的servicePrincipalName值=ServerName1/>
< /身分>
 

解决方案

配置servicePrincipleName是一个艰难的话题来描述它的几句话也许这些文章将帮助:

最可能的是,你需要配置它以下列方式

 <身份>
    <的servicePrincipalName值=HOST / ServerName1:9990/>
< /身分>
 

我们通常使用userPrincipalName而的servicePrincipalName,像这样

 <身份>
  <通过UserPrincipalName值=account@domain.com/>
< /身分>
 

I'm trying to set up client impersonation on my service.

I need to set a value for the servicePrincipalName of my services endPoint

I'm looking at this MSDN article but still cannot quite figure it out

My service is hosted in a console app on a server that we'll call ServerName1.
The Uri is: net.tcp://ServerName1:9990/TestService1/.

What specifically should my servicePrincipalName be?

I tried, with no joy:

<identity>
    <servicePrincipalName value="ServerName1" />
</identity>
解决方案

Configuring servicePrincipleName is a difficult topic to describe it in a few wordsPerhaps these articles will help:

Most probably, you need to configure it the following way

<identity>
    <servicePrincipalName value="HOST/ServerName1:9990" />
</identity>

We usually use userPrincipalName instead of servicePrincipalName, like this

<identity>
  <userPrincipalName value="account@domain.com" />
</identity>

这篇关于应的servicePrincipalName有什么价值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 04:47