[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Force all users login OWA using Domain\Username

Posted on 2007-03-20
1
Medium Priority
?
1,635 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 200 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 learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

New style of hardware planning for Microsoft Exchange server.
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses

650 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