您的位置:首页 > 产品设计 > UI/UE

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:

<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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Lync