From 53d41f3b1b0b7fc3550e0ee4906405f7afbf114c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 29 Aug 2007 12:43:23 +0000 Subject: r24778: Make sure krb5 locator requests go to a separate locator winbind child. Guenther (This used to be commit fb9228b8d167552f0a046ab674f66d4e5b73f5b6) --- source3/nsswitch/winbindd_dual.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/nsswitch/winbindd_dual.c') 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; } -- cgit