summaryrefslogtreecommitdiffstats
path: root/source3/passdb
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-05-26 12:42:56 +0200
committerMichael Adam <obnox@samba.org>2008-05-26 16:42:25 +0200
commit6cebad5b67d3d815b5f5b3ea1b7711fc15d45cf1 (patch)
treefd3af50b748a5facf61631203a8c17ff8c40d0b3 /source3/passdb
parentc5a030a38a520e2cd89dc061f4d2bfee57ce9d84 (diff)
downloadsamba-6cebad5b67d3d815b5f5b3ea1b7711fc15d45cf1.tar.gz
samba-6cebad5b67d3d815b5f5b3ea1b7711fc15d45cf1.tar.xz
samba-6cebad5b67d3d815b5f5b3ea1b7711fc15d45cf1.zip
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)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/passdb.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 4e9f494c86b..a670b46d691 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.