Forum Search:
Forum.Brain-Cluster.com: Brain Cluster Technical Forum
Ultimate forum for Technical Discussions

Home » Microsoft » Windows Server » Active Directory » Unable to SSO to TS
Unable to SSO to TS [message #156249] Fri, 12 June 2009 10:14 Go to next message
McDavid  is currently offline McDavid
Messages: 15
Registered: June 2009
Junior Member
I am unable to use SSO to connect to any of my Terminal Servers. I am always
prompted to logon to the server even though the RDP client says "your windows
logon credentials will be used to connect".

- Terminal Server
- Win2k8x64 SP2
- Credentials Delegation (any service) using kerberos enabled through AD
- TS Security Layer = Negotiate
- TS Encryption Level = Client compatible
- TS set to "Use client-provided log on information"
- Kerberos logging enabled
- kerberos debug logging enabled
- Client (Vista or Win2k8 server... both produce the same results)
- Default and Fresh credentials set for delegation to TS for both kerberos
and NTLM-only.
- kerberos logging enabled
- kerberos debug logging enabled

When I attempt the connection, I get the Win2k8 logon screen. The TS logs
an error - Security-Kerberos Event ID 3, 0xd KDC_ERR_BADOPTION, 0xc00000bb
KLIN(0). The client doesn't log anything. I show an appropriate TERMSRV
ticket on the client. Neither the TS or the client are logging anything in
the LSASS.log file even though debug logging is enabled through the registry
(LogToFile = 1, KerbDebugLevel = 0xc0000043).
RE: Unable to SSO to TS [message #156288 is a reply to message #156249] Sat, 13 June 2009 22:38 Go to previous messageGo to next message
Garry Starck-MCITP En  is currently offline Garry Starck-MCITP En
Messages: 69
Registered: July 2009
Member
Hi Again

Under the section during the TS installation, called "Specify Authentication
Method for Terminal Server", did you select "require network level auth", or
"do not require network level auth"
--
Garry Starck
MCITP, MCTS AD, MCSE 2003 Messaging, MCDBA


"McDavid" wrote:

> I am unable to use SSO to connect to any of my Terminal Servers. I am always
> prompted to logon to the server even though the RDP client says "your windows
> logon credentials will be used to connect".
>
> - Terminal Server
> - Win2k8x64 SP2
> - Credentials Delegation (any service) using kerberos enabled through AD
> - TS Security Layer = Negotiate
> - TS Encryption Level = Client compatible
> - TS set to "Use client-provided log on information"
> - Kerberos logging enabled
> - kerberos debug logging enabled
> - Client (Vista or Win2k8 server... both produce the same results)
> - Default and Fresh credentials set for delegation to TS for both kerberos
> and NTLM-only.
> - kerberos logging enabled
> - kerberos debug logging enabled
>
> When I attempt the connection, I get the Win2k8 logon screen. The TS logs
> an error - Security-Kerberos Event ID 3, 0xd KDC_ERR_BADOPTION, 0xc00000bb
> KLIN(0). The client doesn't log anything. I show an appropriate TERMSRV
> ticket on the client. Neither the TS or the client are logging anything in
> the LSASS.log file even though debug logging is enabled through the registry
> (LogToFile = 1, KerbDebugLevel = 0xc0000043).
>
RE: Unable to SSO to TS [message #156289 is a reply to message #156249] Sat, 13 June 2009 22:24 Go to previous messageGo to next message
Garry Starck-MCITP En  is currently offline Garry Starck-MCITP En
Messages: 69
Registered: July 2009
Member
Hi McDavid

What functional levels are the domains and the forest running? Can you run
the following cmd line { w32tm /stripchart
/computer:EACH-DC-IN-SITE-IN-TSBOXES-DOMAIN /period:5 } on the TS box/boxes
and check the time againt each of the DC's that are serving the TSBoxes
domain in the TS Boxes site, substitute the
"EACH-DC-IN-SITE-IN-TSBOXES-DOMAIN" with DCSAMPLE1 till all the DC's in site
have been verified to be in sync ( not over 5 minutes out). Also, are you
running the TS box/s in a load balance, if so are you using TS Session
Broker, and also, what are the SPN's for the Load Balance Name and which
objects are they configured on.
--
Maybe this article will be of use:
http://www.servernewsgroups.net/group/microsoft.public.windo ws.server.active_directory/topic21064.aspx

or

http://www.eventid.net/display.asp?eventid=3&eventno=353 6&source=Kerberos&phase=1

or

http://support.microsoft.com/?id=262177

I am trying to replicate the same condition in my LAB, will take +- 2 hours,
I will advise if I found anything

Garry Starck
MCITP, MCTS AD, MCSE 2003 Messaging, MCDBA


"McDavid" wrote:

> I am unable to use SSO to connect to any of my Terminal Servers. I am always
> prompted to logon to the server even though the RDP client says "your windows
> logon credentials will be used to connect".
>
> - Terminal Server
> - Win2k8x64 SP2
> - Credentials Delegation (any service) using kerberos enabled through AD
> - TS Security Layer = Negotiate
> - TS Encryption Level = Client compatible
> - TS set to "Use client-provided log on information"
> - Kerberos logging enabled
> - kerberos debug logging enabled
> - Client (Vista or Win2k8 server... both produce the same results)
> - Default and Fresh credentials set for delegation to TS for both kerberos
> and NTLM-only.
> - kerberos logging enabled
> - kerberos debug logging enabled
>
> When I attempt the connection, I get the Win2k8 logon screen. The TS logs
> an error - Security-Kerberos Event ID 3, 0xd KDC_ERR_BADOPTION, 0xc00000bb
> KLIN(0). The client doesn't log anything. I show an appropriate TERMSRV
> ticket on the client. Neither the TS or the client are logging anything in
> the LSASS.log file even though debug logging is enabled through the registry
> (LogToFile = 1, KerbDebugLevel = 0xc0000043).
>
RE: Unable to SSO to TS [message #156290 is a reply to message #156249] Sat, 13 June 2009 23:27 Go to previous messageGo to next message
Garry Starck-MCITP En  is currently offline Garry Starck-MCITP En
Messages: 69
Registered: July 2009
Member
Hi McDavid

I have tried SSO with both the options: Under the section during the TS
installation, called "Specify Authentication
Method for Terminal Server", did you select "require network level auth", or
"do not require network level auth"

I chose the "require network level auth" first and worked fine on SSO
Then I tried the "do not require network level auth" and SSO gave me the
same errors as you mentioned

I will still try other scenario's

--
Garry Starck
MCITP, MCTS AD, MCSE 2003 Messaging, MCDBA


"McDavid" wrote:

> I am unable to use SSO to connect to any of my Terminal Servers. I am always
> prompted to logon to the server even though the RDP client says "your windows
> logon credentials will be used to connect".
>
> - Terminal Server
> - Win2k8x64 SP2
> - Credentials Delegation (any service) using kerberos enabled through AD
> - TS Security Layer = Negotiate
> - TS Encryption Level = Client compatible
> - TS set to "Use client-provided log on information"
> - Kerberos logging enabled
> - kerberos debug logging enabled
> - Client (Vista or Win2k8 server... both produce the same results)
> - Default and Fresh credentials set for delegation to TS for both kerberos
> and NTLM-only.
> - kerberos logging enabled
> - kerberos debug logging enabled
>
> When I attempt the connection, I get the Win2k8 logon screen. The TS logs
> an error - Security-Kerberos Event ID 3, 0xd KDC_ERR_BADOPTION, 0xc00000bb
> KLIN(0). The client doesn't log anything. I show an appropriate TERMSRV
> ticket on the client. Neither the TS or the client are logging anything in
> the LSASS.log file even though debug logging is enabled through the registry
> (LogToFile = 1, KerbDebugLevel = 0xc0000043).
>
RE: Unable to SSO to TS [message #156292 is a reply to message #156289] Sun, 14 June 2009 00:02 Go to previous messageGo to next message
McDavid  is currently offline McDavid
Messages: 15
Registered: June 2009
Junior Member
Forgot to mention that Domain Functional Level is Windows Server 2003.

Even though I am getting strange time queries against two of the DCs,
kerberos and passthrough seem to be functioning overall throughout our domain
(IIS, CIFS, etc...) with the exepction of these Terminal Servers.

"McDavid" wrote:

> Delay against most DCs are showing less than 1s and offsets also less than 1s.
>
> Getting error 0x800705b4 against one DC?
>
> Getting less than 1s delay against one DC but -47s offset?
>
> Although two DCs had unfavorable results, SSO still does not function when I
> authenticate against one of the DCs that had favorable delay/offset values.
>
> Am not using any sort of load balancing. Am just trying to RDP straight to
> the TS. SPNs are registered under the TS computer account objects.
>
> "Garry Starck - MCITP" wrote:
>
> > Hi McDavid
> >
> > What functional levels are the domains and the forest running? Can you run
> > the following cmd line { w32tm /stripchart
> > /computer:EACH-DC-IN-SITE-IN-TSBOXES-DOMAIN /period:5 } on the TS box/boxes
> > and check the time againt each of the DC's that are serving the TSBoxes
> > domain in the TS Boxes site, substitute the
> > "EACH-DC-IN-SITE-IN-TSBOXES-DOMAIN" with DCSAMPLE1 till all the DC's in site
> > have been verified to be in sync ( not over 5 minutes out). Also, are you
> > running the TS box/s in a load balance, if so are you using TS Session
> > Broker, and also, what are the SPN's for the Load Balance Name and which
> > objects are they configured on.
> > --
> > Maybe this article will be of use:
> > http://www.servernewsgroups.net/group/microsoft.public.windo ws.server.active_directory/topic21064.aspx
> >
> > or
> >
> > http://www.eventid.net/display.asp?eventid=3&eventno=353 6&source=Kerberos&phase=1
> >
> > or
> >
> > http://support.microsoft.com/?id=262177
> >
> > I am trying to replicate the same condition in my LAB, will take +- 2 hours,
> > I will advise if I found anything
> >
> > Garry Starck
> > MCITP, MCTS AD, MCSE 2003 Messaging, MCDBA
> >
> >
> > "McDavid" wrote:
> >
> > > I am unable to use SSO to connect to any of my Terminal Servers. I am always
> > > prompted to logon to the server even though the RDP client says "your windows
> > > logon credentials will be used to connect".
> > >
> > > - Terminal Server
> > > - Win2k8x64 SP2
> > > - Credentials Delegation (any service) using kerberos enabled through AD
> > > - TS Security Layer = Negotiate
> > > - TS Encryption Level = Client compatible
> > > - TS set to "Use client-provided log on information"
> > > - Kerberos logging enabled
> > > - kerberos debug logging enabled
> > > - Client (Vista or Win2k8 server... both produce the same results)
> > > - Default and Fresh credentials set for delegation to TS for both kerberos
> > > and NTLM-only.
> > > - kerberos logging enabled
> > > - kerberos debug logging enabled
> > >
> > > When I attempt the connection, I get the Win2k8 logon screen. The TS logs
> > > an error - Security-Kerberos Event ID 3, 0xd KDC_ERR_BADOPTION, 0xc00000bb
> > > KLIN(0). The client doesn't log anything. I show an appropriate TERMSRV
> > > ticket on the client. Neither the TS or the client are logging anything in
> > > the LSASS.log file even though debug logging is enabled through the registry
> > > (LogToFile = 1, KerbDebugLevel = 0xc0000043).
> > >
RE: Unable to SSO to TS [message #156293 is a reply to message #156249] Sat, 13 June 2009 23:53 Go to previous messageGo to next message
Garry Starck-MCITP En  is currently offline Garry Starck-MCITP En
Messages: 69
Registered: July 2009
Member
Sorry Sir

Ignore my last blurt out, I had changed my test user password from ADUC
before I tried the logon like an idiot. Interesting though, I just configured
Broker and I get the issue on the one TS box, not the other.

Sorry once again
--
Garry Starck
MCITP, MCTS AD, MCSE 2003 Messaging, MCDBA


"McDavid" wrote:

> I am unable to use SSO to connect to any of my Terminal Servers. I am always
> prompted to logon to the server even though the RDP client says "your windows
> logon credentials will be used to connect".
>
> - Terminal Server
> - Win2k8x64 SP2
> - Credentials Delegation (any service) using kerberos enabled through AD
> - TS Security Layer = Negotiate
> - TS Encryption Level = Client compatible
> - TS set to "Use client-provided log on information"
> - Kerberos logging enabled
> - kerberos debug logging enabled
> - Client (Vista or Win2k8 server... both produce the same results)
> - Default and Fresh credentials set for delegation to TS for both kerberos
> and NTLM-only.
> - kerberos logging enabled
> - kerberos debug logging enabled
>
> When I attempt the connection, I get the Win2k8 logon screen. The TS logs
> an error - Security-Kerberos Event ID 3, 0xd KDC_ERR_BADOPTION, 0xc00000bb
> KLIN(0). The client doesn't log anything. I show an appropriate TERMSRV
> ticket on the client. Neither the TS or the client are logging anything in
> the LSASS.log file even though debug logging is enabled through the registry
> (LogToFile = 1, KerbDebugLevel = 0xc0000043).
>
RE: Unable to SSO to TS [message #156294 is a reply to message #156288] Sun, 14 June 2009 00:05 Go to previous messageGo to next message
McDavid  is currently offline McDavid
Messages: 15
Registered: June 2009
Junior Member
Did not specify anything during the install. Used a scripted Win2k8 install
that automatically installed the TS Role. So, I'm guessing my install used
the default value (what would that be?). Regardless, shouldn't that value be
configurable under the RDP listener properties? I currently have "allow
connections only from computers running Remote Desktop with Network Level
Authentication" disabled.

"Garry Starck - MCITP" wrote:

> Hi Again
>
> Under the section during the TS installation, called "Specify Authentication
> Method for Terminal Server", did you select "require network level auth", or
> "do not require network level auth"
> --
> Garry Starck
> MCITP, MCTS AD, MCSE 2003 Messaging, MCDBA
>
>
> "McDavid" wrote:
>
> > I am unable to use SSO to connect to any of my Terminal Servers. I am always
> > prompted to logon to the server even though the RDP client says "your windows
> > logon credentials will be used to connect".
> >
> > - Terminal Server
> > - Win2k8x64 SP2
> > - Credentials Delegation (any service) using kerberos enabled through AD
> > - TS Security Layer = Negotiate
> > - TS Encryption Level = Client compatible
> > - TS set to "Use client-provided log on information"
> > - Kerberos logging enabled
> > - kerberos debug logging enabled
> > - Client (Vista or Win2k8 server... both produce the same results)
> > - Default and Fresh credentials set for delegation to TS for both kerberos
> > and NTLM-only.
> > - kerberos logging enabled
> > - kerberos debug logging enabled
> >
> > When I attempt the connection, I get the Win2k8 logon screen. The TS logs
> > an error - Security-Kerberos Event ID 3, 0xd KDC_ERR_BADOPTION, 0xc00000bb
> > KLIN(0). The client doesn't log anything. I show an appropriate TERMSRV
> > ticket on the client. Neither the TS or the client are logging anything in
> > the LSASS.log file even though debug logging is enabled through the registry
> > (LogToFile = 1, KerbDebugLevel = 0xc0000043).
> >
RE: Unable to SSO to TS [message #156295 is a reply to message #156289] Sat, 13 June 2009 23:58 Go to previous messageGo to next message
McDavid  is currently offline McDavid
Messages: 15
Registered: June 2009
Junior Member
Delay against most DCs are showing less than 1s and offsets also less than 1s.

Getting error 0x800705b4 against one DC?

Getting less than 1s delay against one DC but -47s offset?

Although two DCs had unfavorable results, SSO still does not function when I
authenticate against one of the DCs that had favorable delay/offset values.

Am not using any sort of load balancing. Am just trying to RDP straight to
the TS. SPNs are registered under the TS computer account objects.

"Garry Starck - MCITP" wrote:

> Hi McDavid
>
> What functional levels are the domains and the forest running? Can you run
> the following cmd line { w32tm /stripchart
> /computer:EACH-DC-IN-SITE-IN-TSBOXES-DOMAIN /period:5 } on the TS box/boxes
> and check the time againt each of the DC's that are serving the TSBoxes
> domain in the TS Boxes site, substitute the
> "EACH-DC-IN-SITE-IN-TSBOXES-DOMAIN" with DCSAMPLE1 till all the DC's in site
> have been verified to be in sync ( not over 5 minutes out). Also, are you
> running the TS box/s in a load balance, if so are you using TS Session
> Broker, and also, what are the SPN's for the Load Balance Name and which
> objects are they configured on.
> --
> Maybe this article will be of use:
> http://www.servernewsgroups.net/group/microsoft.public.windo ws.server.active_directory/topic21064.aspx
>
> or
>
> http://www.eventid.net/display.asp?eventid=3&eventno=353 6&source=Kerberos&phase=1
>
> or
>
> http://support.microsoft.com/?id=262177
>
> I am trying to replicate the same condition in my LAB, will take +- 2 hours,
> I will advise if I found anything
>
> Garry Starck
> MCITP, MCTS AD, MCSE 2003 Messaging, MCDBA
>
>
> "McDavid" wrote:
>
> > I am unable to use SSO to connect to any of my Terminal Servers. I am always
> > prompted to logon to the server even though the RDP client says "your windows
> > logon credentials will be used to connect".
> >
> > - Terminal Server
> > - Win2k8x64 SP2
> > - Credentials Delegation (any service) using kerberos enabled through AD
> > - TS Security Layer = Negotiate
> > - TS Encryption Level = Client compatible
> > - TS set to "Use client-provided log on information"
> > - Kerberos logging enabled
> > - kerberos debug logging enabled
> > - Client (Vista or Win2k8 server... both produce the same results)
> > - Default and Fresh credentials set for delegation to TS for both kerberos
> > and NTLM-only.
> > - kerberos logging enabled
> > - kerberos debug logging enabled
> >
> > When I attempt the connection, I get the Win2k8 logon screen. The TS logs
> > an error - Security-Kerberos Event ID 3, 0xd KDC_ERR_BADOPTION, 0xc00000bb
> > KLIN(0). The client doesn't log anything. I show an appropriate TERMSRV
> > ticket on the client. Neither the TS or the client are logging anything in
> > the LSASS.log file even though debug logging is enabled through the registry
> > (LogToFile = 1, KerbDebugLevel = 0xc0000043).
> >
RE: Unable to SSO to TS [message #156299 is a reply to message #156294] Sun, 14 June 2009 01:19 Go to previous messageGo to next message
Garry Starck-MCITP En  is currently offline Garry Starck-MCITP En
Messages: 69
Registered: July 2009
Member
Hi Again

If you open Terminal Services Configuration through server manager, go to
the properties of the RDP connection and under the general tab, if the
Security Layer is set to "DRP Security Layer", no auto logon occurs, set it
to either "negotiate" or "ssl". I noticed on I was getting Kerberos errors on
the DC's logging the same / similar problem. I hope that's the problem, as I
have tried duplicating almost every misconfig I can think of
--
Garry Starck
MCITP, MCTS AD, MCSE 2003 Messaging, MCDBA


"McDavid" wrote:

> Did not specify anything during the install. Used a scripted Win2k8 install
> that automatically installed the TS Role. So, I'm guessing my install used
> the default value (what would that be?). Regardless, shouldn't that value be
> configurable under the RDP listener properties? I currently have "allow
> connections only from computers running Remote Desktop with Network Level
> Authentication" disabled.
>
> "Garry Starck - MCITP" wrote:
>
> > Hi Again
> >
> > Under the section during the TS installation, called "Specify Authentication
> > Method for Terminal Server", did you select "require network level auth", or
> > "do not require network level auth"
> > --
> > Garry Starck
> > MCITP, MCTS AD, MCSE 2003 Messaging, MCDBA
> >
> >
> > "McDavid" wrote:
> >
> > > I am unable to use SSO to connect to any of my Terminal Servers. I am always
> > > prompted to logon to the server even though the RDP client says "your windows
> > > logon credentials will be used to connect".
> > >
> > > - Terminal Server
> > > - Win2k8x64 SP2
> > > - Credentials Delegation (any service) using kerberos enabled through AD
> > > - TS Security Layer = Negotiate
> > > - TS Encryption Level = Client compatible
> > > - TS set to "Use client-provided log on information"
> > > - Kerberos logging enabled
> > > - kerberos debug logging enabled
> > > - Client (Vista or Win2k8 server... both produce the same results)
> > > - Default and Fresh credentials set for delegation to TS for both kerberos
> > > and NTLM-only.
> > > - kerberos logging enabled
> > > - kerberos debug logging enabled
> > >
> > > When I attempt the connection, I get the Win2k8 logon screen. The TS logs
> > > an error - Security-Kerberos Event ID 3, 0xd KDC_ERR_BADOPTION, 0xc00000bb
> > > KLIN(0). The client doesn't log anything. I show an appropriate TERMSRV
> > > ticket on the client. Neither the TS or the client are logging anything in
> > > the LSASS.log file even though debug logging is enabled through the registry
> > > (LogToFile = 1, KerbDebugLevel = 0xc0000043).
> > >
RE: Unable to SSO to TS [message #156302 is a reply to message #156299] Sun, 14 June 2009 01:26 Go to previous message
McDavid  is currently offline McDavid
Messages: 15
Registered: June 2009
Junior Member
It is set to negotiate. However, I have tried the other two settings as well
with no luck.

"Garry Starck - MCITP" wrote:

> Hi Again
>
> If you open Terminal Services Configuration through server manager, go to
> the properties of the RDP connection and under the general tab, if the
> Security Layer is set to "DRP Security Layer", no auto logon occurs, set it
> to either "negotiate" or "ssl". I noticed on I was getting Kerberos errors on
> the DC's logging the same / similar problem. I hope that's the problem, as I
> have tried duplicating almost every misconfig I can think of
> --
> Garry Starck
> MCITP, MCTS AD, MCSE 2003 Messaging, MCDBA
>
>
> "McDavid" wrote:
>
> > Did not specify anything during the install. Used a scripted Win2k8 install
> > that automatically installed the TS Role. So, I'm guessing my install used
> > the default value (what would that be?). Regardless, shouldn't that value be
> > configurable under the RDP listener properties? I currently have "allow
> > connections only from computers running Remote Desktop with Network Level
> > Authentication" disabled.
> >
> > "Garry Starck - MCITP" wrote:
> >
> > > Hi Again
> > >
> > > Under the section during the TS installation, called "Specify Authentication
> > > Method for Terminal Server", did you select "require network level auth", or
> > > "do not require network level auth"
> > > --
> > > Garry Starck
> > > MCITP, MCTS AD, MCSE 2003 Messaging, MCDBA
> > >
> > >
> > > "McDavid" wrote:
> > >
> > > > I am unable to use SSO to connect to any of my Terminal Servers. I am always
> > > > prompted to logon to the server even though the RDP client says "your windows
> > > > logon credentials will be used to connect".
> > > >
> > > > - Terminal Server
> > > > - Win2k8x64 SP2
> > > > - Credentials Delegation (any service) using kerberos enabled through AD
> > > > - TS Security Layer = Negotiate
> > > > - TS Encryption Level = Client compatible
> > > > - TS set to "Use client-provided log on information"
> > > > - Kerberos logging enabled
> > > > - kerberos debug logging enabled
> > > > - Client (Vista or Win2k8 server... both produce the same results)
> > > > - Default and Fresh credentials set for delegation to TS for both kerberos
> > > > and NTLM-only.
> > > > - kerberos logging enabled
> > > > - kerberos debug logging enabled
> > > >
> > > > When I attempt the connection, I get the Win2k8 logon screen. The TS logs
> > > > an error - Security-Kerberos Event ID 3, 0xd KDC_ERR_BADOPTION, 0xc00000bb
> > > > KLIN(0). The client doesn't log anything. I show an appropriate TERMSRV
> > > > ticket on the client. Neither the TS or the client are logging anything in
> > > > the LSASS.log file even though debug logging is enabled through the registry
> > > > (LogToFile = 1, KerbDebugLevel = 0xc0000043).
> > > >
Previous Topic:Re: Disabling password expiration
Next Topic:Domain Name Renaming
Goto Forum:
  


Current Time: Fri Oct 20 03:08:40 EDT 2017

Total time taken to generate the page: 0.03498 seconds
.:: Contact :: Home ::Sitemap::.

Powered by: FUDforum 3.0.0RC2.
Copyright ©2001-2009 FUDforum Bulletin Board Software