1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

standlone servers don't have any trusted domains

(This used to be commit 4acdfc5c94)
This commit is contained in:
Gerald Carter 2003-07-08 17:19:37 +00:00
parent 499b3e3315
commit f637448150

View File

@ -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) {