git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
499b3e3
)
standlone servers don't have any trusted domains
author
Gerald Carter
<jerry@samba.org>
Tue, 8 Jul 2003 17:19:37 +0000
(17:19 +0000)
committer
Gerald Carter
<jerry@samba.org>
Tue, 8 Jul 2003 17:19:37 +0000
(17:19 +0000)
(This used to be commit
4acdfc5c944aa8830d6cec7bd1225200448e45c5
)
source3/auth/auth_util.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_util.c
b/source3/auth/auth_util.c
index d1c3b107e771fe94fd06baccbee63d7d42aca565..6fc1d772ecf9aeefc7911e7d71063964fe73a89d 100644
(file)
--- 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) {