ChiefDND
Mon Aug 29 09:40:03 CDT 2005
Hello,
Thanks for clearing this up as well as the quick response.
Once again thank you,
Chief
"David Wang [Msft]" wrote:
> > I would like to Customize the IIS Login Dialog box on a Win2k
> > IIS5 Web server.
> >
> > Q: Does the msgina.dll handle this?
> >
> > I have managed to add a custom logo to the msgina.dll,
> > but can only see it if I logon locally.
>
> A: No. msgina has nothing to do with IIS nor the login dialog presented by
> the browser.
>
> IIS is a web server. It does not have nor control the login dialog box
> presented by any browser client. All it does is send back 401 access denied,
> and the browser chooses to popup some login dialog.
>
> This means that to customize a login dialog box by changing msgina.dll, your
> website must somehow distribute and change the msgina.dll system binary of a
> remote browser's OS (which may not even be Windows).
>
> The referenced URL is not changing msgina.dll. It is using a Realm value as
> I see from the following header:
> WWW-authenticate: basic realm="Please Enter Your AKO Username and Password
> (1) [09:58:37:2471]"\r\n
>
> And username displayed in the login dialog depends on the logged in
> credentials. Cannot be controlled from the server since you are talking
> about a client-side behavior.
>
>
> In other words, unless your login form is a web page and use custom
> authentication, the server has little control over what the client sees. The
> public authentication protocols simply do not give you such unnecessary
> control.
>
> --
> //David
> IIS
>
http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no rights.
> //
> "ChiefDND" <ChiefDND@discussions.microsoft.com> wrote in message
> news:9AC9A082-6093-4C5B-A744-6CE223818501@microsoft.com...
> Hello,
>
> This did the trick. Created the Realm as described and modified/tweaked
> with MetaEdit 2.2.
>
> I now need to change the text User name to Customer Name. I modified the
> msgina.dll with a tool called Resource Tuner, 30-day trial version from
>
http://restuner.com. Searched for User name and replaced. I then went
> back in to MetaEdit and searched and replaced. Logon dialog box still has
> User name. Am I missing something?
>
> Metabase for Win 2k IIS 5 server has been backup before and after each
> change.
> Msgina.dll backed up before each change.
>
> Server rebooted.
>
> Thanks,
>
> Chief
>
>
> "Chris Crowe [MVP]" wrote:
>
> > Ok, it is the same logon dialog, it is using a feature called a REALM
> >
> > On Windows XP and 2003 it is part of the UI to change this, but 2K you
> must
> > edit the metabase.
> >
> > The ADSUTIL.VBS file exists in the following directories and can be used
> to
> > set the realm.
> >
> > IIS5 = c:\Inetpub\AdminScripts
> >
> > To Set the REALM
> > cscript adsutil.vbs SET w3svc/1/realm Chris
> >
> > realm : (STRING) "Chris"
> > In the sample above, I am setting the REALM on the default web site. The
> /1/
> > in the above command is used to identify the web site to modify.
> >
> > You can determine any web site # by selecting the web site, and clicking
> on
> > properties, and on the Web Site tab, click the properties button for
> > logging.
> >
> > The filename at the bottom of the dialog shows you the # of the web site.
> >
> >
> > To get the REALM
> > cscript adsutil.vbs GET w3svc/1/realm
> > realm : (STRING) "Chris"
> >
> > Hope this helps.
> >
> > --
> > Cheers
> >
> >
> > Chris
> >
> > Chris Crowe [IIS MVP]
> >
http://blog.crowe.co.nz
> >
> >
> > "ChiefDND" <ChiefDND@discussions.microsoft.com> wrote in message
> > news:94D1E12A-352C-46A2-AF83-C3845F32CCEA@microsoft.com...
> > > Hello,
> > >
> > > Yes, that is what I was thinking and then was directed to,
> > > https://www.us.army.mil/suite/login/welcome.html Click on Login to AKO
> and
> > > you see that the logon dialog box has been modified.
> > >
> > > Could you point me to the .dll responsible for this dialog box?
> > >
> > > Thanks,
> > >
> > > Chief
> > >
> > >
> > > "Chris Crowe [MVP]" wrote:
> > >
> > >> This is part of the web browser. It depends on the product, ie,
> mozilla,
> > >> firebox, safari, maxthon etc..
> > >>
> > >>
> > >>
> > >> --
> > >> Cheers
> > >>
> > >> Chris
> > >>
> > >> Chris Crowe [IIS MVP]
> > >>
http://blog.crowe.co.nz
> > >>
> > >>
> > >> "ChiefDND" <ChiefDND@discussions.microsoft.com> wrote in message
> > >> news:B05F1B02-41C7-458B-A90D-40FEC0864C69@microsoft.com...
> > >> >I would like to Customize the IIS Login Dialog box on a Win2k IIS5 Web
> > >> >server.
> > >> >
> > >> > Q: Does the msgina.dll handle this?
> > >> >
> > >> > I have managed to add a custom logo to the msgina.dll, but can only
> see
> > >> > it
> > >> > if I logon locally.
> > >> >
> > >> > Tool used Resource Tuner, 30 day trial version from
>
http://restuner.com
> > >> >
> > >> > Thanks,
> > >> >
> > >> > Chief
> > >>
> > >>
> > >>
> >
> >
> >
>
>
>