Lync Mobile iOS Client Authentication Issues
2013-03-25 13:31
78 查看
Troubleshooting Lync client connectivity can be difficult when there are multiple clients which exhibit slightly different behavior and there are some scenarios where not all clients can successfully sign in.
If the case is that both Windows Phone 7 and Android client are able to successfully login but iOS clients cannot then the cause could be related to a specific configuration change applied to the Lync servers somewhere along the line. More specifically the behavior seen on the iOS clients is that they will hang during the sign-in process and the cancel button is unresponsive.
Basically the iOS clients do not support the basic NTLM Authentication method while Windows Phone and Android clients do.
To determine the available authentication options, the Lync mobile application will retrieve the MEX bindings from the Web Ticket Service and the iOS clients expects to see WebTicketServiceWinNegotiate from the available authentication port names .
const std::string MEX_ATTRIBUTE_VALUE_WIN_NEGOTIATE("WinNegotiate");
const std::string MEX_ATTRIBUTE_VALUE_WEBTICKET_BEARER_TOKEN("WebTicketBearer");
const std::string MEX_ATTRIBUTE_VALUE_FED_BEARER_TOKEN("FedBearer");
When Lync is misconfigured and the iOS clients can not sign-in then the Web Ticket service response will look like this:
But the iOS client would expect to see the following response from the Web Ticket service:
From the Lync Server Management Shell issue the Get-CsWebServiceConfigurationcmdlet to view the current setting.
Get-CsWebServiceConfiguration
To change the setting use the following cmdlet to revert Lync back to the recommended authentication setting and then verify the new parameter value.
Set-CsWebServiceConfiguration –UseWindowsAuth Negotiate
Get-CsWebServiceConfiguration
Thanks again to Dave Howe at Microsoft for sharing details on these Lync mobility topics.
If the case is that both Windows Phone 7 and Android client are able to successfully login but iOS clients cannot then the cause could be related to a specific configuration change applied to the Lync servers somewhere along the line. More specifically the behavior seen on the iOS clients is that they will hang during the sign-in process and the cancel button is unresponsive.
Basically the iOS clients do not support the basic NTLM Authentication method while Windows Phone and Android clients do.
To determine the available authentication options, the Lync mobile application will retrieve the MEX bindings from the Web Ticket Service and the iOS clients expects to see WebTicketServiceWinNegotiate from the available authentication port names .
const std::string MEX_ATTRIBUTE_VALUE_WIN_NEGOTIATE("WinNegotiate");
const std::string MEX_ATTRIBUTE_VALUE_WEBTICKET_BEARER_TOKEN("WebTicketBearer");
const std::string MEX_ATTRIBUTE_VALUE_FED_BEARER_TOKEN("FedBearer");
When Lync is misconfigured and the iOS clients can not sign-in then the Web Ticket service response will look like this:
<wsdl:service name="WebTicketService">
<wsdl:port name="WebTicketServiceWinNtlm" binding="tns:WebTicketServiceWinNtlm">
<soap:address location="https://lync.schertz.local/WebTicket/WebTicketService.svc"/>
</wsdl:port>
But the iOS client would expect to see the following response from the Web Ticket service:
<wsdl:service name="WebTicketService">
<wsdl:port name="WebTicketServiceWinNegotiate" binding="tns:WebTicketServiceWinNegotiate">
<soap:address location="https://lync.schertz.local/WebTicket/WebTicketService.svc"/>
</wsdl:port>
Resolution
Verify that the UseWindowsAuth option is correctly set to Negotiate in the Lync Server’s Web Service configuration.From the Lync Server Management Shell issue the Get-CsWebServiceConfigurationcmdlet to view the current setting.
Get-CsWebServiceConfiguration
To change the setting use the following cmdlet to revert Lync back to the recommended authentication setting and then verify the new parameter value.
Set-CsWebServiceConfiguration –UseWindowsAuth Negotiate
Get-CsWebServiceConfiguration
Thanks again to Dave Howe at Microsoft for sharing details on these Lync mobility topics.
相关文章推荐
- A first look at Xync Lync client on iOS iPhone/iPad
- ios中mvc的FormsAuthentication.SetAuthCookie(cookieUserName, false)失败
- superMap iMobile for iOS 使用代码在地图上画一条线
- 电商之 Mobile 里多变活动页 与 IOS APP,Android APP 里的 活动页 如何保持同步,解决方案
- TokenRequestBuilder、AuthenticationRequestBuilder、OAuthBearerClientRequest的区别:
- ios: Some issues about push notification
- smtpClient发邮件错误:不允许使用邮箱名称。 服务器响应为: You are not authorized to send mail, authentication is required
- iOS Client 与WebSocket 通信(一)
- Launch Google Map in Android / IOS Mobile
- MYSQL(解决方法):Client does not support authentication
- iOS Client 与WebSocket 通信(二)
- 错误(Client does not support authentication protocol requested by server; consider upgrading MySQL client)?
- 用root用户登陆PHPmyAdmin出现Client does not support authentication ...
- iOS集成构建总结 (libimobiledevice)
- [Linux] Enable ssh key authentication from one user on client to multiple users on server
- Lync 和Skype for Business Server/Client更新汇总
- Lync client maximum endpoints/device per user
- 使用zend studio + xdebug调试php代码(iOS client + php server)
- Building a Jabber Client for iOS: Server Setup