summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_util.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-12-13 12:27:57 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-14 08:28:35 +0100
commit873f14ae408d5fa151f8e4f83c3dfe0c9b8a4d2d (patch)
tree93c21eb2d523952abb94a52c96bf6a2b75c02b72 /source3/winbindd/winbindd_util.c
parentadc31b9235f70d06d2739b38867dc0fadb33d082 (diff)
downloadsamba-873f14ae408d5fa151f8e4f83c3dfe0c9b8a4d2d.tar.gz
samba-873f14ae408d5fa151f8e4f83c3dfe0c9b8a4d2d.tar.bz2
samba-873f14ae408d5fa151f8e4f83c3dfe0c9b8a4d2d.zip
winbindd: move domain child specific stuff into its own file
metze (This used to be commit 075d315e0f72d506b70040da10940e4af131b4e2)
Diffstat (limited to 'source3/winbindd/winbindd_util.c')
-rw-r--r--source3/winbindd/winbindd_util.c20
1 files changed, 5 insertions, 15 deletions
diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c
index 56ae4f27bb..2389a4be13 100644
--- a/source3/winbindd/winbindd_util.c
+++ b/source3/winbindd/winbindd_util.c
@@ -326,9 +326,7 @@ static void trustdom_recv(void *private_data, bool success)
&sid);
if (domain) {
setup_domain_child(domain,
- &domain->child,
- domain_dispatch_table,
- NULL);
+ &domain->child);
}
}
p=q;
@@ -698,9 +696,7 @@ bool init_domain_list(void)
&global_sid_Builtin);
if (domain) {
setup_domain_child(domain,
- &domain->child,
- domain_dispatch_table,
- NULL);
+ &domain->child);
}
/* Local SAM */
@@ -712,9 +708,7 @@ bool init_domain_list(void)
domain->primary = True;
}
setup_domain_child(domain,
- &domain->child,
- domain_dispatch_table,
- NULL);
+ &domain->child);
}
/* Add ourselves as the first entry. */
@@ -732,9 +726,7 @@ bool init_domain_list(void)
if (domain) {
domain->primary = True;
setup_domain_child(domain,
- &domain->child,
- domain_dispatch_table,
- NULL);
+ &domain->child);
/* Even in the parent winbindd we'll need to
talk to the DC, so try and see if we can
@@ -781,9 +773,7 @@ void check_domain_trusted( const char *name, const DOM_SID *user_sid )
domain->online = True;
setup_domain_child(domain,
- &domain->child,
- domain_dispatch_table,
- NULL);
+ &domain->child);
wcache_tdc_add_domain( domain );