Sharepoint 2013网站NTLM身份验证javascript doPostBack无法在Safari和iPad中运行 [英] Sharepoint 2013 site NTLM authentication javascript doPostBack doesnt work in Safari&iPad

查看:388
本文介绍了Sharepoint 2013网站NTLM身份验证javascript doPostBack无法在Safari和iPad中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个非常有趣的问题。我们有一个使用sharepoint 2013创建的网站。我们使用Windows - NTLM身份验证。

I have a really interesting problem. We have a site created with sharepoint 2013. We use Windows - NTLM authentication.

在包含自定义discussionListWebPart的页面中,我们有一个过滤器按钮,该按钮使用带有 webpart ClientID 过滤器的javascript doPostBack功能>参数。

In a page includes custom discussionListWebPart, we have a filter button which use javascript doPostBack function with webpart ClientID and filter parameters.

exp:__ doPostBack(ClientID,params);

exp: __doPostBack("ClientID","params");

当我们做过滤时,只是讨论列表webpart做回帖,没有任何对Page的任何部分的请求。这意味着页面不会重新加载。这就是我们的预期。

When we do filter, just discussion list webpart do post back and no any request for the any part of Page. That means the page does not reload. This is what we expected.

它在IE 10和Chrome中运行良好。更何况,我们在任何ipad中打开此页面时都会遇到问题。我们使用__doPostBack的过滤器按钮重新加载页面。在桌面上的Safari中也有问题。

It works fine in the IE 10 and chrome. Whatsmore, we have problem when we open this page in any ipad. The filter button which we use __doPostBack reloads the page. Also have problem in safari on desktop.

- 我控制了IIS(8)windows身份验证提供程序,只有NTLM(没有否定)。

--I controlled the IIS (8) windows authentication providers, there is just NTLM (No negatiate).

- 我发现了另一个讨论 iOS 8 / Safari 8无法使用ASP.NET AJAX-Extensions

-- I found another discussion iOS 8 / Safari 8 not working with ASP.NET AJAX-Extensions.

当我在safari中打开网站时每次它要求用户凭据。如果我说记住密码,doPostBack工作正常。

但我不能在ipad中这样做。所以问题仍然存在。

But I can not do this in ipad. So The problem still exists.

我在dvl工具中看不到任何控制台错误。但它没有postBack。只需刷新页面。

I dont see any console error in dvl tool. But It does not do postBack. Just refresh the page.

请帮助解决此问题。
谢谢。

Please help to solve this problem. Thanks.

推荐答案

我认为你的问题不在于回发,我认为问题是iOS有限(不?)支持NTLM。快速搜索向我展示了一大堆遇到此问题并以不同方式解决问题的人:

I think your problem isn't with the postback, I think the problem is iOS has limited (no?) support for NTLM. A quick search shows me a whole mess of people who have encountered this issue and addressed it in different ways:


  1. 将SharePoint Web应用程序扩展到备用区域

  2. 编写iOS应用程序为您手动处理身份验证

  3. 将SharePoint站点上的身份验证更改为ADFS或更适合iOS的内容

  1. Extend your SharePoint web application into an alternate zone
  2. Write an iOS app to handle the authentication manually for you
  3. Change the authentication on the SharePoint site to ADFS or something more iOS-friendly

无这些都是你寻找的银弹,而且它们都涉及到你改变的不仅仅是你网站上的代码,但希望它能指出你在正确的方向上没有简单但是吨。

None of these are the silver bullet your looking for, and they all involve you changing much more than just the code on your web site, but hopefully it'll point you in the right direction in the event there's no "easy button."

编辑:语法

这篇关于Sharepoint 2013网站NTLM身份验证javascript doPostBack无法在Safari和iPad中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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