SharePoint 2013主机名为网站集.如何避免多次登录? [英] SharePoint 2013 Host named Site Collections. How avoid sign in multiples times?

查看:95
本文介绍了SharePoint 2013主机名为网站集.如何避免多次登录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用子域,并且我将使用名为Site Collection的SharePoint 2013主机.我有一个网站集,例如:http://contoso.com,第二个网站集将像名为网站集的主机一样创建为http://abc.contoso.com

I have the requirement to use subdomains, and i will use SharePoint 2013 Host named Site Collections. I have one site collection, for example: http://contoso.com, and the second will be create like a host named site collection as http://abc.contoso.com

我在创建主机命名集合时没有问题,但是用户记录的凭证不是共享的".我的意思是,我登录了http://contoso.com,然后我重定向到了http://abc.contoso.com(例如,用于此目的),并且在此站点中 提示再次登录.

I have no problem at creating host named collections, but user logged credentials is not "shared". I mean, I logged in http://contoso.com, and after that i redirect to http://abc.contoso.com (for example purpose), and in this site I have prompt  to login another time.

我尝试使用Window身份验证和NTLM进行基于声明的身份验证,在另一种情况下,我也尝试使用自定义登录页面.

I have tried in Claims based authentication, using Window Authentication and NTLM, and in another case i have tried also with custom login page.

一些用于创建主机命名网站集的powershell代码:

Some powershell code to create host named site collection:

$SiteUrl = "http://abc.contoso"
$SiteTemplate = "STS#0"
Write-Host "Creating new site at" $SiteUrl 
$NewSite=New-SPSite $SiteUrl -HostHeaderWebApplication (Get-SPWebApplication "XXX") -Name 'XXX' -Description 'XXX Description' -OwnerAlias 'domain\user' -language 3082 -Template $SiteTemplate

我只需要认证一次.有任何线索吗?

I need to authenticate only one time. Any clues?

我没有运气尝试过:https://serverfault.com/questions/274692/single-sign-on-sharepoint-to-web-app

I have tried this with no luck: https://serverfault.com/questions/274692/single-sign-on-sharepoint-to-web-app

我看到会话(配置的SQL Server会话)不同(我在会话中保存了一些内容,并且未在contoso和abc.contoso之间共享")

I have seen than session (configured SQL Server Session) is different (i have saved something in session and it was not"shared" between contoso and abc.contoso)

谢谢 前进了

Thank you in advance

推荐答案

您好,Nigiro,

Hi Nigiro,

对于您的问题,请在本地Intranet"区域和IE的受信任的站点"中设置使用当前用户名和密码自动登录":

For your issue, set ‘Automatic logon with current user name and password in Local intranet zone and Trusted sites of IE:

Internet选项->安全->本地Intranet/信任站点->自定义级别->选择使用当前用户名和密码自动登录"本地Intranet区域和受信任的站点中:

Internet options->Security->Local intranet/Trust sites->Custom level->choose "Automatic logon with current user name and password" in Local intranet zone and Trusted sites:

最好的问候,

Lisa Chen

Lisa Chen


这篇关于SharePoint 2013主机名为网站集.如何避免多次登录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆