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 | 53d41f3b1b0b7fc3550e0ee4906405f7afbf114c (patch) | |
tree | 9c1536eecde13786d596e57be2910cf896e75ada /source3/nsswitch/winbindd_util.c | |
parent | 4429a01c83f8900d318c7c162f004d1e5764556a (diff) | |
download | samba-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_util.c')
-rw-r--r-- | source3/nsswitch/winbindd_util.c | 12 |
1 files changed, 12 insertions, 0 deletions
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; +} |