diff options
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/passdb/passdb.c | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 0c770d866c..f85b667c84 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -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_increment_bad_password_count(struct samu *sampass); 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, const char **account_name, uint32 *channel); bool get_trust_pw_hash(const char *domain, uint8 ret_pwd[16], diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 4e9f494c86..a670b46d69 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -1522,12 +1522,6 @@ bool is_dc_trusted_domain_situation(const char *domain_name) 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. appropriate account name is stored in account_name. |