mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
Remove unused function is_trusted_domain_situation().
This combined check has been replaced by is_dc_trusted_domain_situation() which does not check for lp_allow_trusted_domains(). Michael (This used to be commit 0a24c038b7bc6edef0021eb121a072cc7e8f9165)
This commit is contained in:
parent
c5a030a38a
commit
6cebad5b67
@ -6272,7 +6272,6 @@ bool pdb_update_bad_password_count(struct samu *sampass, bool *updated);
|
|||||||
bool pdb_update_autolock_flag(struct samu *sampass, bool *updated);
|
bool pdb_update_autolock_flag(struct samu *sampass, bool *updated);
|
||||||
bool pdb_increment_bad_password_count(struct samu *sampass);
|
bool pdb_increment_bad_password_count(struct samu *sampass);
|
||||||
bool is_dc_trusted_domain_situation(const char *domain_name);
|
bool is_dc_trusted_domain_situation(const char *domain_name);
|
||||||
bool is_trusted_domain_situation(const char *domain_name);
|
|
||||||
bool get_trust_pw_clear(const char *domain, char **ret_pwd,
|
bool get_trust_pw_clear(const char *domain, char **ret_pwd,
|
||||||
const char **account_name, uint32 *channel);
|
const char **account_name, uint32 *channel);
|
||||||
bool get_trust_pw_hash(const char *domain, uint8 ret_pwd[16],
|
bool get_trust_pw_hash(const char *domain, uint8 ret_pwd[16],
|
||||||
|
@ -1522,12 +1522,6 @@ bool is_dc_trusted_domain_situation(const char *domain_name)
|
|||||||
return IS_DC && !strequal(domain_name, lp_workgroup());
|
return IS_DC && !strequal(domain_name, lp_workgroup());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool is_trusted_domain_situation(const char *domain_name)
|
|
||||||
{
|
|
||||||
return is_dc_trusted_domain_situation(domain_name) &&
|
|
||||||
lp_allow_trusted_domains();
|
|
||||||
}
|
|
||||||
|
|
||||||
/*******************************************************************
|
/*******************************************************************
|
||||||
Wrapper around retrieving the clear text trust account password.
|
Wrapper around retrieving the clear text trust account password.
|
||||||
appropriate account name is stored in account_name.
|
appropriate account name is stored in account_name.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user