diff options
-rw-r--r-- | source3/auth/auth_util.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) { |