VMware Cloud Community
OdysseasS
Contributor
Contributor

File /lib/liblsass_auth_provider_ad.so does not exist and Active Directory domain join fails.

Hi all,

After unsuccessfully trying to join an ESXi host to an AD domain. I noticed the following.

Service lsassd is crashing after trying to join the domain. Enabling debug logging and restarting lsassd, I am seeing this error in the /var/log/lsassd.log file:

ERROR:0xffdb4540:[LsaSrvInitAuthProviders() /build/mts/release/bora-2956592/likewise/esxi-esxi/src/linux/lsass/server/api/auth_provider.c:294] Failed to load provider [<null>] at [/lib/liblsass_auth_provider_ad.so] [error code:16406]

Checking the /etc/likewise/lsassd.conf file I see this entry for the AD auth provider library:

[auth provider:lsa-activedirectory-provider]

  path = /lib/liblsass_auth_provider_ad.so

However on the ESXi host, the file /lib/liblsass_auth_provider_ad.so does not exist.

Is this normal, or is this the reason the service crashes when trying to join the domain.

The error messages I see in the /var/log/lsassd.log file when the service crashes when trying to join the domain are these:

20170329140256:DEBUG:[LsaChangePermissions() /build/mts/release/bora-2956592/likewise/esxi-esxi/src/linux/lsass/common/utils/fileutils.c:262] Error code: 2 (symbol: ERROR_FILE_NOT_FOUND)

20170329140256:DEBUG:0xffdd1540:[FakeClientConnection() /build/mts/release/bora-2956592/likewise/esxi-esxi/src/linux/lsass/server/lsassd/sighandler.c:277] Error code: 2 (symbol: ERROR_FILE_NOT_FOUND)

20170329140256:DEBUG:[LsaRemoveFile() /build/mts/release/bora-2956592/likewise/esxi-esxi/src/linux/lsass/common/utils/fileutils.c:62] Error code: 2 (symbol: ERROR_FILE_NOT_FOUND)

20170329140256:VERBOSE:0xffdd1540:[lsassd_main() /build/mts/release/bora-2956592/likewise/esxi-esxi/src/linux/lsass/server/lsassd/libmain.c:161] Lsa main cleaning up

20170329140256:DEBUG:[LsaChangePermissions() /build/mts/release/bora-2956592/likewise/esxi-esxi/src/linux/lsass/common/utils/fileutils.c:262] Error code: 2 (symbol: ERROR_FILE_NOT_FOUND)

20170329140256:DEBUG:0xffdd1540:[FakeClientConnection() /build/mts/release/bora-2956592/likewise/esxi-esxi/src/linux/lsass/server/lsassd/sighandler.c:277] Error code: 2 (symbol: ERROR_FILE_NOT_FOUND)

20170329140256:DEBUG:[LsaRemoveFile() /build/mts/release/bora-2956592/likewise/esxi-esxi/src/linux/lsass/common/utils/fileutils.c:62] Error code: 2 (symbol: ERROR_FILE_NOT_FOUND)

20170329140256:INFO:[IPC] Shutting down server

20170329140256:INFO:[IPC] Server shut down

20170329140256:INFO:0xffdd1540:[lsassd_main() /build/mts/release/bora-2956592/likewise/esxi-esxi/src/linux/lsass/server/lsassd/libmain.c:174] LSA Service exiting...

Any help is much appreciated, many thanks.

0 Kudos
1 Reply
stacycarter
Enthusiast
Enthusiast

OdysseasS​ did you find a resolution for this issue?  Seeing the same "File /lib/liblsass_auth_provider_ad.so does not exist" error when a host profile tries to bind the ESXi 6.0 U3b host to AD (as part of the autodeploy process).

0 Kudos