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:
parent
499b3e3315
commit
f637448150
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user