View Single Post
Old 11-23-2005, 05:09 AM   #1
Jonny Haze
New Member
 
Join Date: Oct 2005
Location: London UK
Model: 8700
Posts: 13
Question MDS Authentication for intranet/internal apps

Please Login to Remove!

We are trying to get our Blackberries to authenticate using the NT account that has been configured in the MDS or the actual users NT account (not sure if this is possible?) for intranet sites that require authentication. When clicking on a link to the below code it should force NT authentication in any intranet application. Although what happens is that the logon prompt on the device appears even though we have a valid NT account configured for authentication which works on most sites, any ideas?. The code should return the domain\logon details

Note. the web application in IIS has Integrated Windows Authentication enabled.

The following asp code and should force NT authentication in any intranet application.

<%@LANGUAGE="VBScript"%>
<%
If Request.ServerVariables("LOGON_USER") = "" Then
' force authentication if not
Response.Clear
Response.Status = "401 Access Denied"
Response.End
Else
' store the client's user name ins a session variable
strLogonUser = Request.ServerVariables("REMOTE_USER")
response.write strLogonUser

End If
%>

Our BES System
BES v4.0.2 HF3
Handheld 7730

thanks
JH
Offline