Re: AW: AW: AW: Some Users get Basic Auth?



On Thu, 14 Jun 2007 15:19:59 +0200
"Djihangiroff, Matthias (KC-DD)" <Matthias.Djihangiroff@xxxxxxxxxx> wrote:

Hello,

We'have just created a new domain Account and voila, all is running fine.
So somekind of settings in the userprofile are incorrect, so the auth box popped up.

Now we have another problem.

SOME users are getting this basic auth box somtimes. IE is running in NTLM mode..
If you close the IE, and open it again, with the same URL, all is running fine.

What the hell is wrong with this IE thing :-(

Hi Matthias,

Honestly the best way to determine what's going on is to get a packet
capture and do a network analysis. The problem with that is that clients
cache both positive and negative Kerberos ticket request results so you
basically have to reboot the client, start the capture, launch IE, try
the page and if it fails restart the browser and if it then succeeds
stop the capture. If it doesn't fail or if it doesn't succeed after
failing you won't have to two conditions you need to compare and you
have no choice but to reboot the client and repeat.

But if you do get a capture like that I'll look at it. Can't guarantee
I'll find anything but I'm always interested in these sorts of failure
conditions.

There is a decription of getting a capture with netcap.exe in the appendix
of that document I pointed you to before.

Also, you might try to get this patch:

http://support.microsoft.com/kb/885887

It does sound remotely like what you're seeing and some people have
had success with it when experiencing unreliable behavior like you're
describing.

Mike

-----Ursprüngliche Nachricht-----
Von: Michael B Allen [mailto:mba2000@xxxxxxxxxx]
Gesendet: Mittwoch, 13. Juni 2007 08:57
An: Djihangiroff, Matthias (KC-DD)
Cc: Todd Stecher; kerberos@xxxxxxx
Betreff: Re: AW: AW: Some Users get Basic Auth?

On Wed, 13 Jun 2007 08:25:51 +0200
"Djihangiroff, Matthias (KC-DD)" <Matthias.Djihangiroff@xxxxxxxxxx> wrote:

Thanks.

Than i dont know why IE is switching to NTLM.
It doesnt matter if i type http://someserver or with our domain
http://someserver.konzern.intern (thats although the registerd machine
account in the domain).
The auth box pop ups every time.

I think, thats somekind of defect windows profile.
If i login with MY windows account, all is running perfect. If i login
with a user account, they get the auth box. (Both on the same machine,
the same domain)

I'm informing our Windows admins and hope, they can make some brand
new windows account for me for testing purposes in that domain.

Matthias,

On this website:

http://www.ioplex.com/support.html

You will find a document called the Plexcel Operator's Manual. The document is mostly about our SSO product but of course the protocol is the same so the "Possible Issues" section has information about troubleshooting this sort of thing. In particular look at Issue 3 and Issue 5.

Mike

________________________________

Von: Todd Stecher [mailto:tstecher@xxxxxxxxx]
Gesendet: Mittwoch, 13. Juni 2007 08:18
An: Djihangiroff, Matthias (KC-DD)
Cc: Michael B Allen; kerberos@xxxxxxx
Betreff: Re: AW: Some Users get Basic Auth?



On Jun 12, 2007, at 11:04 PM, Djihangiroff, Matthias (KC-DD) wrote:


I've checked the browser settings, Integrated Windows Auth is
checked.




Where can i configer the browser, that it use only Kerberos?

I didnt find any option.


You can't. A lot of it depends on the URL you present to IE, which
will in turn dictate what protocol is chosen under SPNEGO.

When you type "http://someserver";, then IE will present the kerberos
package on the client with the service principal name (SPN) of
http/someserver. For kerberos to work, you need a service ticket
matching that SPN. This will only be possible if the web server is
properly registered with a machine account in your client's domain, or
potentially another domain in the forest (assuming you're using AD).

In some cases, IE will do a reverse lookup and expand the someserver
to http/someserver.domain.com, but the SPN lookup rule still applies.

If kerberos can't find the SPN (for example if the target server isn't
registered in a trusted domain, or the client's KDC can't be reached
over the presently connected network), it will drop back to NTLM
(wrapped in SPNEGO tokens). There's really no easy way to guarantee
Kerberos, and, in fact, NTLM is frequently the protocol chosen for
http auth.

We tried, in the old days to get rid of NTLM, but that's not possible
w/o service interruptions unless you can *always* get a service ticket
to the server.

Todd

persona service Verwaltungs AG & Co. KG Freisenbergstra_e 31 _ 58513
L_denscheid
Tel.: (02351) 950-0 _ Fax: (02351) 950-222 Sitz L_denscheid _
Registergericht Iserlohn, HRA Nr. 2930

pers_nlich haftende Gesellschafterin: persona service AG Gartenstra_e
93 _ CH-4002 Basel Handelsregister Basel, Nr. CH-270.3.012.836-8 diese
vertreten durch den Verwaltungsrat:
Dipl.-Ing. Werner M_ller (Pr_sident) und Dr. Sebastian Burckhardt
www.persona.de



--
Michael B Allen
PHP Active Directory Kerberos SSO
http://www.ioplex.com/
persona service Verwaltungs AG & Co. KG
Freisenbergstraße 31 ? 58513 Lüdenscheid
Tel.: (02351) 950-0 ? Fax: (02351) 950-222
Sitz Lüdenscheid ? Registergericht Iserlohn, HRA Nr. 2930

persönlich haftende Gesellschafterin: persona service AG
Gartenstraße 93 ? CH-4002 Basel
Handelsregister Basel, Nr. CH-270.3.012.836-8
diese vertreten durch den Verwaltungsrat:
Dipl.-Ing. Werner Müller (Präsident) und Dr. Sebastian Burckhardt
www.persona.de



--
Michael B Allen
PHP Active Directory Kerberos SSO
http://www.ioplex.com/

________________________________________________
Kerberos mailing list Kerberos@xxxxxxx
https://mailman.mit.edu/mailman/listinfo/kerberos

.



Relevant Pages

  • Re: AW: AW: AW: Some Users get Basic Auth?
    ... We'have just created a new domain Account and voila, ... So somekind of settings in the userprofile are incorrect, so the auth box popped up. ... If i login with MY windows account, ... Where can i configer the browser, that it use only Kerberos? ...
    (comp.protocols.kerberos)
  • RE: AW: AW: AW: Some Users get Basic Auth?
    ... Right after the users get the auth box, they can lock their computer, login again, and the problem is gone? ... We'have just created a new domain Account and voila, ... If i login with MY windows account, ... Where can i configer the browser, that it use only Kerberos? ...
    (comp.protocols.kerberos)
  • AW: AW: AW: Some Users get Basic Auth?
    ... We'have just created a new domain Account and voila, ... So somekind of settings in the userprofile are incorrect, so the auth box popped up. ... If i login with MY windows account, ... Where can i configer the browser, that it use only Kerberos? ...
    (comp.protocols.kerberos)
  • AW: AW: AW: Some Users get Basic Auth?
    ... We'have just created a new domain Account and voila, ... So somekind of settings in the userprofile are incorrect, so the auth box popped up. ... If i login with MY windows account, ... Where can i configer the browser, that it use only Kerberos? ...
    (comp.protocols.kerberos)
  • Re: impersonation using kerberos
    ... and then finding out you can enable kerberos event logging.... ... and for the computer account contains ... This error appears on my SQL box ... KDC cannot accommodate requested option. ...
    (microsoft.public.win2000.active_directory)