From f637448150ef248726363ae0df0b0f7e096c256e Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 8 Jul 2003 17:19:37 +0000 Subject: standlone servers don't have any trusted domains (This used to be commit 4acdfc5c944aa8830d6cec7bd1225200448e45c5) --- source3/auth/auth_util.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3') diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index d1c3b107e7..6fc1d772ec 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -1282,6 +1282,11 @@ BOOL is_trusted_domain(const char* dom_name) time_t lct; BOOL ret; + /* no trusted domains for a standalone server */ + + if ( lp_server_role() == ROLE_STANDALONE ) + return False; + /* if we are a DC, then check for a direct trust relationships */ if (lp_server_role() == ROLE_DOMAIN_BDC || lp_server_role() == ROLE_DOMAIN_PDC) { -- cgit