Skip navigation
VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
2,124 Views 16 Replies Last post: Feb 22, 2012 4:14 AM by UmeshAhuja RSS
1 2 Previous Next
EricBates Novice 18 posts since
Sep 10, 2010
Currently Being Moderated

Jan 31, 2011 3:41 PM

Problems with "Use Windows session credentials"

I have successfully joined ESXi to my domain.

 

I can successfully login to ESXi with vSphere Client if I spell the username out: domain\user and explicitly supply the password.

 

I cannot login using the convenient "Use Windows session credentials" check-box. I get the error:

Windows session credentials cannot be used to log into this server. Enter a username and password.

 

The knowledgebase article: Logging on to an ESX host with Windows session credentials fails does not seem to apply because I double checked both the A record and the PTR record for the server from the client machine and they all resolve correctly.

 

During an attempt, /var/log/messages only reports:

Jan 31 23:36:30 Hostd: [2011-01-31 23:36:30.862 4028AB90 verbose 'Proxysvc Req03376'] New proxy client SSL(TCP(local=172.25.33.69:4379, peer=172.25.33.240:443))
Jan 31 23:36:40 Hostd: [2011-01-31 23:36:40.690 4028AB90 verbose 'HTTP server'] Sent response for HEAD /client/clients.xml (from /usr/lib/vmware/hostd/docroot)
Jan 31 23:36:48 Hostd: [2011-01-31 23:36:48.453 3FF81B90 verbose 'Proxysvc Req03377'] New proxy client SSL(TCP(local=172.25.33.69:4380, peer=172.25.33.240:443))
Jan 31 23:36:48 Hostd: [2011-01-31 23:36:48.685 3F1D2B90 verbose 'Proxysvc Req03378'] New proxy client SSL(TCP(local=172.25.33.69:4381, peer=172.25.33.240:443))
Jan 31 23:36:51 Hostd: [2011-01-31 23:36:51.712 3F1D2B90 verbose 'Proxysvc Req03379'] New proxy client SSL(TCP(local=172.25.33.69:4382, peer=172.25.33.240:443))
Jan 31 23:36:51 Hostd: [2011-01-31 23:36:51.716 FFEC0B90 verbose 'HTTP server'] Sent response for HEAD /client/clients.xml (from /usr/lib/vmware/hostd/docroot)

I don't really see anything in there that helps me understand. 172.25.33.69 is the client and 172.25.33.240 is the ESXi server.

 

I know this is just a nicety; but anyone have any thots?

 

Thanks.

JAdkins11 Lurker 2 posts since
Aug 25, 2011
Currently Being Moderated
1. Sep 9, 2011 7:39 PM in response to: EricBates
Re: Problems with "Use Windows session credentials"

Did you ever find the answer you were looking for? I have this exact same issue. Like you I have checked A record, tried both using the host IP and hostname with no luck.

tdupont Novice 11 posts since
Nov 23, 2009
Currently Being Moderated
2. Oct 7, 2011 7:37 AM in response to: JAdkins11
Re: Problems with "Use Windows session credentials"

I had a similar problem.

 

A and PTR records are fine.

 

I found if I used the netbios name instead of the FQDN I was able to use my session credentials.

 

If I used FQDN I had to type in my credentials.

JAdkins11 Lurker 2 posts since
Aug 25, 2011
Currently Being Moderated
3. Oct 11, 2011 6:17 AM in response to: tdupont
Re: Problems with "Use Windows session credentials"

Thanks for the reply

 

 

I have tried the following:

 

hostname.example.com

hostname

IP Address

 

None of these have produced a successful login for some reason.

compr00t Lurker 3 posts since
Nov 7, 2011
Currently Being Moderated
4. Nov 7, 2011 2:21 AM in response to: EricBates
Re: Problems with "Use Windows session credentials"

Same problem here. ip, hostname, FQDN or netbios name did not worked while A and PTR were set and resolvable. Is there a solution for that?

farkasharry Hot Shot 165 posts since
Apr 28, 2010
Currently Being Moderated
5. Nov 7, 2011 2:24 AM in response to: compr00t
Re: Problems with "Use Windows session credentials"

Did you try this? kb.vmware.com/kb/1029531 

*** If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful! *** VCAP-DCA4, VCP4, MCSE/MCSA, MCITS EA
compr00t Lurker 3 posts since
Nov 7, 2011
Currently Being Moderated
6. Nov 7, 2011 2:27 AM in response to: farkasharry
Re: Problems with "Use Windows session credentials"

Yeah: A-Record and PTR were set like the article suggested but none of them could solve my problem.

satya1 Hot Shot 202 posts since
May 2, 2011
Currently Being Moderated
7. Nov 7, 2011 2:35 AM in response to: EricBates
Re: Problems with "Use Windows session credentials"

EricBates wrote:

 

I have successfully joined ESXi to my domain.

 

I can successfully login to ESXi with vSphere Client if I spell the username out: domain\user and explicitly supply the password.

 

I cannot login using the convenient "Use Windows session credentials" check-box. I get the error:

Windows session credentials cannot be used to log into this server. Enter a username and password.

 

The knowledgebase article: Logging on to an ESX host with Windows session credentials fails does not seem to apply because I double checked both the A record and the PTR record for the server from the client machine and they all resolve correctly.

 

During an attempt, /var/log/messages only reports:

Jan 31 23:36:30 Hostd: [2011-01-31 23:36:30.862 4028AB90 verbose 'Proxysvc Req03376'] New proxy client SSL(TCP(local=172.25.33.69:4379, peer=172.25.33.240:443))
Jan 31 23:36:40 Hostd: [2011-01-31 23:36:40.690 4028AB90 verbose 'HTTP server'] Sent response for HEAD /client/clients.xml (from /usr/lib/vmware/hostd/docroot)
Jan 31 23:36:48 Hostd: [2011-01-31 23:36:48.453 3FF81B90 verbose 'Proxysvc Req03377'] New proxy client SSL(TCP(local=172.25.33.69:4380, peer=172.25.33.240:443))
Jan 31 23:36:48 Hostd: [2011-01-31 23:36:48.685 3F1D2B90 verbose 'Proxysvc Req03378'] New proxy client SSL(TCP(local=172.25.33.69:4381, peer=172.25.33.240:443))
Jan 31 23:36:51 Hostd: [2011-01-31 23:36:51.712 3F1D2B90 verbose 'Proxysvc Req03379'] New proxy client SSL(TCP(local=172.25.33.69:4382, peer=172.25.33.240:443))
Jan 31 23:36:51 Hostd: [2011-01-31 23:36:51.716 FFEC0B90 verbose 'HTTP server'] Sent response for HEAD /client/clients.xml (from /usr/lib/vmware/hostd/docroot)

I don't really see anything in there that helps me understand. 172.25.33.69 is the client and 172.25.33.240 is the ESXi server.

 

I know this is just a nicety; but anyone have any thots?

 

Thanks.

Hi if able to ping domin try diffrent way of login

 

1-\\domain \username

2-usernam@domin.com

3-only user & password

 


_________________________________

 

Good luck!

 

This is the answer to your query. Don't forget to give feedack , which help to others.

 

http://imagicon.info/cat/5-59/vbsmile.png

compr00t Lurker 3 posts since
Nov 7, 2011
Currently Being Moderated
8. Nov 7, 2011 3:39 AM in response to: satya1
Re: Problems with "Use Windows session credentials"

I suppose you didn't understand the problem correctly...

 

Everybody here can login into ESX by entering manually the Domain\username and the password. The problem is that we want to login by using the checkbox "use windows session credentials" which fails all the time!

 

Everybody here created a A record to resolve the hostname and a PTR record to resolv the IP like this kb article is proposing (kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1029531) but the login with the windows session credentials is still not working!

FROGGYJ Novice 36 posts since
Apr 3, 2009
Currently Being Moderated
10. Nov 25, 2011 8:07 AM in response to: EricBates
Re: Problems with "Use Windows session credentials"

I had the exact same issue when trying to connect to the netbios name....oddly enough I then tried connecting to the FQDN and it worked. I then disconnected and tried netbios again and it worked. I know others may of already tried that, but just food for though in case this helps someone else.

BlargMaN00 Lurker 1 posts since
Dec 9, 2011
Currently Being Moderated
11. Dec 9, 2011 9:25 AM in response to: FROGGYJ
Re: Problems with "Use Windows session credentials"

Don't know if anyone is still having this issue, but here is my scenario, and what I found...

 

I have my ESXi machine joined to my domain: DOMAINA.COM

Domain A has a trust with Domain B, Domain C and Domain D

I can log into the ESXi box manually with any credentials from any of those domains

When I run the client as a user from DOMAIN A, the checkbox works just fine.

If I run it as a user from any of the other 3 domains, it fails.

 

So, I think it is something to do with the way that the domain trust works, and how the credentials are passed into the client login screen.

 

Hope this helps someone...

 

JP

___v___ Lurker 2 posts since
Aug 13, 2008
Currently Being Moderated
13. Dec 10, 2011 11:54 AM in response to: EricBates
Re: Problems with "Use Windows session credentials"

my experience for esx 4.1:

- I had forgotten that I had put the domain name in domain box in "Configuration" -> "DNS and Routing" to same as name of the esx server

- The reason why I did that was the box would not let me NOT specify domain name after I changed the machine name.

- Funny thing it let me join esx to domain; I could even log in using domain user\password. But when I tried with VI client "Windows session credentials cannot be used to log into this server".

- I tried everything NTP, PTR \ A records, DNS entries nothing worked.

- Finally I removed esx from domain.

- changed the domain name in the "DNS and Routing" box to the domain name I wanted esx to join

- joined the domain again and hurrrray!

 

Of course this is my mistake but I would have thought I would see that kind of errors..

 

- V

BodoB Lurker 1 posts since
Jan 12, 2012
Currently Being Moderated
14. Jan 12, 2012 10:07 PM in response to: ___v___
Re: Problems with "Use Windows session credentials"

Hi V,

 

Your issue solved the Problem! Thank you for the great work!

 

Greetings from Vienna, Werner

Bookmarked By (0)

Share This Page

Communities