SharePoint MySite主机匿名身份验证问题 [英] SharePoint MySite host Anonymous authentication issue

查看:68
本文介绍了SharePoint MySite主机匿名身份验证问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个奇怪的问题.

I ran into strange issue.

我的主页上有一个搜索Webpart,基本上只显示很少的用户(他们的姓名和图片).

I have one search Webpart on my homepage that basically displays few users (their name and picture).

图片从MySite主机( https://mysite.mydomain.com/User拉出%20Photos/Profile%20Pictures/someuser_MThumb.jpg ).

The picture is pulled form MySite host (https://mysite.mydomain.com/User%20Photos/Profile%20Pictures/someuser_MThumb.jpg).

我想设置匿名访问权限,以便用户无需进行身份验证即可获取这张图片(基本上,他们会收到我的mainwebapp的登录提示,第二个是mysitehost的登录提示).

I wanted to set anonymous access so that users do not need to authenticate in order to get this picture (bascially they get login prompt for my mainwebapp and the second one for mysitehost).

  1. 我为MySite  WEB应用程序设置了匿名访问权限.
  2. 我更改了对MySite Host网站的权限,并允许匿名用户读取列表和库(有一次我什至尝试了完整站点)
  3. >
  4. 我更改了对"User%20Photos"的权限;库,并允许匿名用户阅读项目.

在我看来应该是这样,但是当我尝试获取图片时(我得到登录提示,然后单击取消),我得到了401未经授权.

In my mind this should be it, but when i try to get the picture (i get login prompt and i hit cancel) i get 401 Unauthorized.

这是我的ULS:

Name=Request (GET:https://mysite.mydomain.com:443/User%20Photos/Profile%20Pictures/someuser_MThumb.jpg)

Non-OAuth request. IsAuthenticated=False, UserIdentityName=, ClaimsCount=0

Site=/

Application error in SpecialHandlingForPictureUrls for /User Photos/Profile Pictures/someuser_MThumb.jpg, Error=System.Threading.ThreadAbortException: Thread was being aborted.    
 at System.Threading.Thread.AbortInternal()    
 at System.Threading.Thread.Abort(Object stateInfo)    
 at System.Web.HttpResponse.AbortCurrentThread()    
 at Microsoft.SharePoint.Utilities.SPUtility.EnsureAuthentication(SPWeb web)    
 at Microsoft.Office.Server.UserProfiles.UserProfileGlobal.GetCurrentUserName()    
 at Microsoft.SharePoint.Publishing.PictureHttpModule.BailOut()    
 at Microsoft.SharePoint.Publishing.PictureHttpModule.ProcessPictureRequest(String picturePath, SPWeb pictureWeb)
Micro Trace Tags: 0 nasq,1 agb9s,8 aixv4
Leaving Monitored Scope (Request (GET:https://mysite.mydomain.com:443/User%20Photos/Profile%20Pictures/someuser_MThumb.jpg)). Execution Time=10,4047295198723

我想念什么吗?

此致

杜尚(Dusan)

亲切的问候,杜尚·托米奇(Dusan Tomic)

Kind regards, Dusan Tomic

推荐答案

杜尚,

转到网站设置->网站集功能,  确保禁用受限访问用户权限锁定模式"功能.

Go to the site settings->site collection features,  make sure the "Limited-access user permission lockdown mode" feature is deactivated.

在IE浏览器中,转到工具"->在"Internet选项"->安全"选项卡->本地Intranet"->自定义级别"中,选择用户身份验证"部分下的仅在Intranet区域中自动登录".

In the IE browser, go to Tools-> Internet Options->Security tab->Local intranet->custom level, select "automatic logon only in Intranet zone" under User Authentication section.

然后清除浏览器缓存并检查问题是否存在.

Then clear the browser cache and check if the issue exists.

最诚挚的问候,

Grace Wang

Grace Wang


这篇关于SharePoint MySite主机匿名身份验证问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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