summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-05-31 09:25:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:16 -0500
commit690d117b256e4c3e698b861b0d05723fad1f3846 (patch)
treec09861447e2a387a760df821ce3c6027c2a16a90 /source3/nsswitch
parent1a850a4f37654282039e4b8712a874365ca16681 (diff)
downloadsamba-690d117b256e4c3e698b861b0d05723fad1f3846.tar.gz
samba-690d117b256e4c3e698b861b0d05723fad1f3846.tar.bz2
samba-690d117b256e4c3e698b861b0d05723fad1f3846.zip
r15976: Set our internal domains to "online" by default in winbindd.
Guenther (This used to be commit 2678582c6cc7fb100cb3bfd867816878461ae7b4)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c
index 5caf48942b..928e78a05f 100644
--- a/source3/nsswitch/winbindd_util.c
+++ b/source3/nsswitch/winbindd_util.c
@@ -162,7 +162,7 @@ static struct winbindd_domain *add_trusted_domain(const char *domain_name, const
domain->sequence_number = DOM_SEQUENCE_NONE;
domain->last_seq_check = 0;
domain->initialized = False;
- domain->online = False;
+ domain->online = is_internal_domain(sid);
if (sid) {
sid_copy(&domain->sid, sid);
}