"[YYYY-MM-DDTHH:MM:SS] Wa(03)+ host-2235 "Error 46 while finding SSO group \"ActAsUsers\":\ndir-cli failed. Error 1326: Operation failed with error ERROR_LOGON_FAILURE (1326) \n"root@vcenter [ ~ ]#less /var/log/vmware/vmon/vmon.log
YYYY-MM-DDTHH:MM:SS Z Wa(03)+ host-##### "translatable": "An error occurred while invoking external command : '%(0)s'",
YYYY-MM-DDTHH:MM:SS Z Wa(03)+ host-##### "args": [
YYYY-MM-DDTHH:MM:SS Z Wa(03)+ host-##### "Error 46 while finding SSO group \"ActAsUsers\":\ndir-cli failed. Error 1326: Operation failed with error ERROR_LOGON_FAILURE (1326) \n"
YYYY-MM-DDTHH:MM:SS Z Wa(03)+ host-##### ],
YYYY-MM-DDTHH:MM:SS Z Wa(03)+ host-##### "localized": "An error occurred while invoking external command : 'Error 46 while finding SSO group \"ActAsUsers\":\ndir-cli failed. Error 1326: Operation failed with error ERROR_L
OGON_FAILURE (1326) \n'"
YYYY-MM-DDTHH:MM:SS Z Wa(03)+ host-##### }
YYYY-MM-DDTHH:MM:SS Z Wa(03)+ host-##### ],
YYYY-MM-DDTHH:MM:SS Z Wa(03)+ host-##### "componentKey": null,
YYYY-MM-DDTHH:MM:SS Z Wa(03)+ host-##### "problemId": null,
YYYY-MM-DDTHH:MM:SS Z Wa(03)+ host-##### "resolution": null
To check the Machine Account Password :
root@vcenter [ ~ ] /opt/likewise/bin/lwregshell list_values '[HKEY_THIS_MACHINE\Services\vmdir]' | grep "dcAccountPassword"
The output looks similar to:
+ "dcAccountPassword" REG_SZ "######################################"
To check the password policy, Run:
#root@vcenter[~] ldapsearch -o ldif-wrap=no -LLL -h localhost -b "dc=vsphere,dc=local" -s sub "objectclass=vmwPasswordPolicy" -D "cn=Administrator,cn=Users,dc=vsphere,dc=local" -w 'SSOPWD'
The example output for the above command should look similar to:
#ldapsearch -o ldif-wrap=no -LLL -h localhost -b "dc=vsphere,dc=local" -s sub "objectclass=vmwPasswordPolicy" -D "cn=Administrator,cn=Users,dc=vsphere,dc=local" -w 'SSOPWD'
dn: cn=password and lockout policy,dc=vsphere,dc=local
objectClass: top
objectClass: vmwLockoutPolicy
objectClass: vmwPasswordPolicy
objectClass: vmwPolicy
cn: password and lockout policy
Enabled: TRUE
vmwPasswordProhibitedPreviousCount: 5
vmwPasswordLifetimeDays: 90
vmwPasswordMaxLength: 50
vmwPasswordMinLength: 8
vmwPasswordMinAlphabeticCount: 2
vmwPasswordMinUpperCaseCount: 1
vmwPasswordMinLowerCaseCount: 1
vmwPasswordMinNumericCount: 1
vmwPasswordMinSpecialCharCount: 1
vmwPasswordMaxIdenticalAdjacentChars: 3
vmwPasswordChangeMaxFailedAttempts: 5
vmwPasswordChangeFailedAttemptIntervalSec: 180
vmwPasswordChangeAutoUnlockIntervalSec: 300
nTSecurityDescriptor::
For setting the PasswordMaxlength to 20, Run the below command:
#ldapmodify -h localhost -D "cn=Administrator,cn=Users,dc=vsphere,dc=local" -w 'SSOPWD' <<EOF
dn: cn=password and lockout policy,dc=vsphere,dc=local
changetype: modify
replace: vmwPasswordMaxLength
vmwPasswordMaxLength: 20
EOF
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For setting the PasswordMinlength to 8, Run the below command:
#ldapmodify -h localhost -D "cn=Administrator,cn=Users,dc=vsphere,dc=local" -w 'SSOPWD' <<EOF
dn: cn=password and lockout policy,dc=vsphere,dc=local
changetype: modify
replace: vmwPasswordMinLength
vmwPasswordMinLength: 8
EOF