struct dom_sid *sid, time_t *pass_last_set_time);
bool secrets_store_trusted_domain_password(const char* domain, const char* pwd,
const struct dom_sid *sid);
-bool secrets_delete_machine_password(const char *domain);
bool secrets_delete_machine_password_ex(const char *domain);
bool secrets_delete_domain_sid(const char *domain);
bool secrets_store_machine_password(const char *pass, const char *domain, enum netr_SchannelType sec_channel);
return secrets_delete(machine_prev_password_keystr(domain));
}
-/************************************************************************
- Routine to delete the plaintext machine account password and old
- password if any
-************************************************************************/
-
-bool secrets_delete_machine_password(const char *domain)
-{
- if (!secrets_delete_prev_machine_password(domain)) {
- return false;
- }
- return secrets_delete(machine_password_keystr(domain));
-}
-
/************************************************************************
Routine to delete the plaintext machine account password, old password,
sec channel type and last change time from secrets database