summaryrefslogtreecommitdiffstats
path: root/source/winbindd/winbindd_dual.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-25 11:37:57 +0200
committerKarolin Seeger <kseeger@samba.org>2008-11-26 10:13:33 +0100
commit3b736d81cc549a62d6d2d72c3701e06bf5bcb4cc (patch)
tree5492c0e7f66434e753e2663749a8d9bd94d7cdf7 /source/winbindd/winbindd_dual.c
parent672a412977914f03948e141daac9380f3126f6de (diff)
downloadsamba-3b736d81cc549a62d6d2d72c3701e06bf5bcb4cc.tar.gz
samba-3b736d81cc549a62d6d2d72c3701e06bf5bcb4cc.tar.xz
samba-3b736d81cc549a62d6d2d72c3701e06bf5bcb4cc.zip
winbindd: only create machine pwd change event when in primary domain child.
Guenther (This used to be commit 543dfdc1cf6baf60bffc23c6aebc542fd58d2d2e) (cherry picked from commit 61f51d78b34f1ed80cef9758cdcded6f6fa82c19)
Diffstat (limited to 'source/winbindd/winbindd_dual.c')
-rw-r--r--source/winbindd/winbindd_dual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/winbindd/winbindd_dual.c b/source/winbindd/winbindd_dual.c
index a98d8024dd6..5f4c4be56cb 100644
--- a/source/winbindd/winbindd_dual.c
+++ b/source/winbindd/winbindd_dual.c
@@ -1277,7 +1277,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;