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_util.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source3/nsswitch/winbindd_util.c') diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index 591d2355d9..e8831b3653 100644 --- a/source3/nsswitch/winbindd_util.c +++ b/source3/nsswitch/winbindd_util.c @@ -1353,3 +1353,15 @@ BOOL winbindd_can_contact_domain( struct winbindd_domain *domain ) return True; } + +/********************************************************************* + ********************************************************************/ + +BOOL winbindd_internal_child(struct winbindd_child *child) +{ + if (child == idmap_child() || child == locator_child()) { + return True; + } + + return False; +} -- cgit