summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_dual.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-08-29 12:43:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:20 -0500
commit53d41f3b1b0b7fc3550e0ee4906405f7afbf114c (patch)
tree9c1536eecde13786d596e57be2910cf896e75ada /source3/nsswitch/winbindd_dual.c
parent4429a01c83f8900d318c7c162f004d1e5764556a (diff)
downloadsamba-53d41f3b1b0b7fc3550e0ee4906405f7afbf114c.tar.gz
samba-53d41f3b1b0b7fc3550e0ee4906405f7afbf114c.tar.bz2
samba-53d41f3b1b0b7fc3550e0ee4906405f7afbf114c.zip
r24778: Make sure krb5 locator requests go to a separate locator winbind child.
Guenther (This used to be commit fb9228b8d167552f0a046ab674f66d4e5b73f5b6)
Diffstat (limited to 'source3/nsswitch/winbindd_dual.c')
-rw-r--r--source3/nsswitch/winbindd_dual.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c
index c6cafe79ec..b79445ee86 100644
--- a/source3/nsswitch/winbindd_dual.c
+++ b/source3/nsswitch/winbindd_dual.c
@@ -579,9 +579,9 @@ void winbind_msg_offline(struct messaging_context *msg_ctx,
}
for (child = children; child != NULL; child = child->next) {
- /* Don't send message to idmap child. We've already
+ /* Don't send message to internal childs. We've already
done so above. */
- if (!child->domain || (child == idmap_child())) {
+ if (!child->domain || winbindd_internal_child(child)) {
continue;
}
@@ -655,8 +655,8 @@ void winbind_msg_online(struct messaging_context *msg_ctx,
}
for (child = children; child != NULL; child = child->next) {
- /* Don't send message to idmap child. */
- if (!child->domain || (child == idmap_child())) {
+ /* Don't send message to internal childs. */
+ if (!child->domain || winbindd_internal_child(child)) {
continue;
}