Created on 10-18-2015 02:47 PM - edited 09-16-2022 02:44 AM
A client asks this question "I see objects in AD. These objects are AD user objects with the password set to next expire. Do you know what default password is used on these accounts on the AD side?"
Created 10-18-2015 03:18 PM
When Ambari creates passwords for accounts it generates a string of 20 characters chosen from a set of various character classes - uppercase characters, lowercase characters, digits, punctuation, and whitespace. A minimum number of instances of each character class can be configured to help meet password policies that might be applied to the KDC.
Created 10-18-2015 03:08 PM
Terry - Are you using Ambari Wizard for kerberizing the cluster? If so, passwords are randomly generated.
Here are the pointers to code that does it -
Password is generated here -
The above function is called from here -
And then passed to this method for creating principal in KDC / AD -
Created 10-18-2015 03:18 PM
When Ambari creates passwords for accounts it generates a string of 20 characters chosen from a set of various character classes - uppercase characters, lowercase characters, digits, punctuation, and whitespace. A minimum number of instances of each character class can be configured to help meet password policies that might be applied to the KDC.
Created 10-20-2015 05:39 PM
We'll be adding this information to the documentation for the Kerberos Wizard very soon: http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Ambari_Security_Guide/content/_launching_...
It's important to note that these principal password are note permanently persisted within Ambari. They are only used to populate the AD password fields, and generate the appropriate key tabs.