diff options
author | Gerald Carter <jerry@samba.org> | 2003-07-08 17:19:37 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-07-08 17:19:37 +0000 |
commit | f637448150ef248726363ae0df0b0f7e096c256e (patch) | |
tree | 5b81b94d9f6b867c208eb344d0a2012f08eeab02 /source3 | |
parent | 499b3e33153527420b3945b5eeb699e6b02d3420 (diff) | |
download | samba-f637448150ef248726363ae0df0b0f7e096c256e.tar.gz samba-f637448150ef248726363ae0df0b0f7e096c256e.tar.bz2 samba-f637448150ef248726363ae0df0b0f7e096c256e.zip |
standlone servers don't have any trusted domains
(This used to be commit 4acdfc5c944aa8830d6cec7bd1225200448e45c5)
Diffstat (limited to 'source3')
-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) { |