Unable to login to ESXi using domain account Error: "Permission to perform this operation was denied"
search cancel

Unable to login to ESXi using domain account Error: "Permission to perform this operation was denied"

book

Article ID: 434590

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

When login with the domain user it fails with Permission denied: 

Enable the Likewise agent logging on the ESXI host

Log location: /var/log/likewise.log

YYYY-MM-DDTHH:MM:SS.293 ALWAYS lwsm: Logging started
YYYY-MM-DDTHH:MM:SS.745 ALWAYS lwsm: Log level changed to VERBOSE
YYYY-MM-DDTHH:MM:SS.746 VERBOSE lwsm-ipc: (assoc:0x94f5f43c90) Dropping: Connection closed by peer
YYYY-MM-DDTHH:MM:SS.568 VERBOSE lwsm-ipc: (session: 7ba3083e1191be70-70173ba7a9ba0b4c) Accepted association 0x94f5f43c90
YYYY-MM-DDTHH:MM:SS.568 ALWAYS lwsm: Log level changed to VERBOSE
YYYY-MM-DDTHH:MM:SS.569 VERBOSE lwsm-ipc: (assoc:0x94f5f43c90) Dropping: Connection closed by peer
YYYY-MM-DDTHH:MM:SS.034 VERBOSE lsass: Permission granted for (uid = 0, gid = 0, pid = 11656348) to open LsaIpcServer
YYYY-MM-DDTHH:MM:SS.034 VERBOSE lsass-ipc: (session:2a721ce26752f05b-695a70d7de5a84a0) Accepted association 0x94f5f43c90
YYYY-MM-DDTHH:MM:SS.034 VERBOSE lsass-ipc: (assoc:0x94f5f43c90) Dropping: Connection closed by peer
YYYY-MM-DDTHH:MM:SS.034 VERBOSE lsass: Permission granted for (uid = 0, gid = 0, pid = 11656348) to open LsaIpcServer
YYYY-MM-DDTHH:MM:SS.034 VERBOSE lsass-ipc: (session: a4bf271ca8347b49-6af1dacc29f4843f) Accepted association 0x94f5f43c90

 

 

Environment

ESXi 8.x

Cause

Required LDAP communication ports are not open or not allowing bidirectional traffic between ESXi host and LDAP/Active Directory server.

Resolution

Enable and allow bidirectional traffic on the following required ports:

  • LDAP: 389 (TCP)
  • LDAPS: 636 (TCP)

Global Catalog (for multi-domain environments):

  • 3268 (LDAP)
  • 3269 (LDAPS)

Ensure a valid SSL certificate is installed on the Active Directory server when using LDAPS (ldaps://).