Solved

Force all users login OWA using Domain\Username

Posted on 2007-03-20
1
1,625 Views
Last Modified: 2008-01-09
Hello,
We have a DC W2003 Server Std edition executing Exchange 2003 Server enterprise, with a Trust Domain DC NT4.0.
Users are in NT4.0 domain with a Trust Domain.
Owa is enabled.
After a migration from Exchange 5.5 to Exchange 2003 Server, old users from Exchange 5.5  can login to OWA using the sentence:
Username on NT 4.0 Domain
Password
But, new mailboxes  must  login to OWA using the sentence:
Domain NT4.0 \ Username on NT 4.0 Domain.
Password
After some testing, only if we disable Netbios name on new mailboxes is it possible to use the sentence:
Username on NT 4.0 Domain
Password

The question is:  There is some policies to aplicate to Exchange to force all users login via OWA using the sentence?
Domain\Username
Password.

Thank´s in advance.
0
Comment
Question by:XemOsiatis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 10

Accepted Solution

by:
abraham808 earned 50 total points
ID: 18756913
edit your Logon.asp

In this article we will focus on the Logon.asp file for US English located in the USA folder
(C:\Program Files\Exchsrvr\exchweb\bin\auth\usa.)

Edit the Logon.asp file, therefore browse to and open the Logon.asp file in notepad (remember to make a backup of the file before editing it!). Find below code by pressing CTRL+F then search for <% If g_fIsMSIE5Rich Then %>  (Now press Find or F3 twice!):

<% If g_fIsMSIE5Rich Then %>
<BODY scroll="AUTO" bgColor="#3D5FA3" text="#000000" leftMargin=0 topMargin=0>
<FORM action="/exchweb/bin/auth/owaauth.dll" method="POST" name="logonForm" autocomplete="off">
<% Else %>
<BODY scroll="AUTO" bgColor="#FFFFFF" text="#000000" onload="window.document.logonForm.username.focus()">
<FORM action="/exchweb/bin/auth/owaauth.dll" method="POST" name="logonForm">
<% End If %>

In above code you should replace both instances of:

<FORM action="/exchweb/bin/auth/owaauth.dll" method="POST" name="logonForm" autocomplete="off">

With below piece of code:

<script Language=javascript>
  <!--
function logonForm_onsubmit()
{
if (logonForm.username.value.indexOf("@") !=-1)
{
return true;
}
logonForm.username.value = "NetBIOS domain here\\" + logonForm.username.value;
  return false;
}
//-->
</script>
<FORM action="/exchweb/bin/auth/owaauth.dll" method="POST" name="logonForm" autocomplete="off" onsubmit="logonForm_onsubmit()">


Remember to replace NetBIOS domain here in above code with your own NetBIOS domain name (if your DNS name were Testdomain.com your NetBIOS name would be Testdomain.)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
In-place Upgrading Dirsync to Azure AD Connect
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
This video discusses moving either the default database or any database to a new volume.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question