VMware Cloud Community
BHunsaker
Contributor
Contributor
Jump to solution

getpwnam(): name not found: administrator@vsphere.local

So my vV6.0 Center Server Appliance disk filled up with log files.  I cleaned up the mess and am down to my final problem.

When logging in via the web interface, using the administrator@vsphere.local username and valid password, I get the "Unable to authenticate user. Please try again." message

The only error I can find in /var/log/vmware/applmgmt/vami.log:

2020-03-29T22:05:25.089 [4462]INFO:root:Processing request

2020-03-29T22:05:25.089 [4462]INFO:root:requestid=authenticate

2020-03-29T22:05:25.089 [4462]ERROR:root:Exception:'getpwnam(): name not found: administrator@vsphere.local'

The directory service is running:

vcappliance:~ # netstat -pln | grep 389

tcp        0      0 0.0.0.0:389             0.0.0.0:*               LISTEN      5550/vmdird        

The following command works with the valid password:

vcappliance:~ # /usr/lib/vmware-vmafd/bin/dir-cli user find-by-name --account administrator --level 2 --login administrator@vsphere.local

Enter password for administrator@vsphere.local:

Account: administrator

UPN: Administrator@VSPHERE.LOCAL

Account disabled: FALSE

Account locked: FALSE

Password never expires: TRUE

Password expired: FALSE

Password expiry: N/A

Any ideas what is wrong?

Thanks.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
berndweyand
Expert
Expert
Jump to solution

are you trying to login to the vcenter or vami (https://<vcenter>:5480) ?

for vcenter use administrator@vsphere.local, for vami use root

View solution in original post

0 Kudos
2 Replies
berndweyand
Expert
Expert
Jump to solution

are you trying to login to the vcenter or vami (https://<vcenter>:5480) ?

for vcenter use administrator@vsphere.local, for vami use root

0 Kudos
BHunsaker
Contributor
Contributor
Jump to solution

Duh!!!   How embarrassing.  I'd been working the a ldap/directory problem all day and just got discombobulated by 2:00am and didn't even think it through.

All is well.  Thanks.

0 Kudos