diff options
author | Günther Deschner <gd@samba.org> | 2007-08-29 12:43:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:30:20 -0500 |
commit | fb9228b8d167552f0a046ab674f66d4e5b73f5b6 (patch) | |
tree | efc72f23468f118c2f6451b4c986b1a5c637f7e9 /source/nsswitch/winbindd_util.c | |
parent | 1efc5009a4b72a5a4c600ca3af7dc7cf05f74353 (diff) | |
download | samba-fb9228b8d167552f0a046ab674f66d4e5b73f5b6.tar.gz |
r24778: Make sure krb5 locator requests go to a separate locator winbind child.
Guenther
Diffstat (limited to 'source/nsswitch/winbindd_util.c')
-rw-r--r-- | source/nsswitch/winbindd_util.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/nsswitch/winbindd_util.c b/source/nsswitch/winbindd_util.c index 591d2355d96..e8831b36539 100644 --- a/source/nsswitch/winbindd_util.c +++ b/source/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; +} |