summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-25 11:37:57 +0200
committerGünther Deschner <gd@samba.org>2008-08-25 11:37:57 +0200
commitfd5b2f42068b461052687b96b6032eb02db065d5 (patch)
tree70c904f08b685a4935575b383f1d45319997a8d8
parentab5076d9fdd83cffe9a88f389bb8a49750f322e0 (diff)
downloadsamba-fd5b2f42068b461052687b96b6032eb02db065d5.tar.gz
samba-fd5b2f42068b461052687b96b6032eb02db065d5.tar.bz2
samba-fd5b2f42068b461052687b96b6032eb02db065d5.zip
winbindd: only create machine pwd change event when in primary domain child.
Guenther (This used to be commit 543dfdc1cf6baf60bffc23c6aebc542fd58d2d2e)
-rw-r--r--source3/winbindd/winbindd_dual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c
index d958ed0110..916e8c07c7 100644
--- a/source3/winbindd/winbindd_dual.c
+++ b/source3/winbindd/winbindd_dual.c
@@ -1243,7 +1243,7 @@ static bool fork_domain_child(struct winbindd_child *child)
child);
}
- if (child->domain && !(child->domain->internal) &&
+ if (child->domain && child->domain->primary &&
lp_server_role() == ROLE_DOMAIN_MEMBER) {
struct timeval next_change;