summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_idmap.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-10-08 11:13:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:15 -0500
commitf3581f319fee956c3d8302eed15ec3fdfa948ec4 (patch)
tree0d9a4e7ee0b06d56af38ccab61680b248b032c7c /source3/winbindd/winbindd_idmap.c
parent2f6fbb1c534386e0eac73a523d0ff4f954637cff (diff)
downloadsamba-f3581f319fee956c3d8302eed15ec3fdfa948ec4.tar.gz
samba-f3581f319fee956c3d8302eed15ec3fdfa948ec4.tar.bz2
samba-f3581f319fee956c3d8302eed15ec3fdfa948ec4.zip
r25569: move more idmap stuff into winbindd_idmap.c
metze (This used to be commit 953229f040580071f6ee09413f67f7edd3227728)
Diffstat (limited to 'source3/winbindd/winbindd_idmap.c')
-rw-r--r--source3/winbindd/winbindd_idmap.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_idmap.c b/source3/winbindd/winbindd_idmap.c
index 3ae88c4c5d..608948787e 100644
--- a/source3/winbindd/winbindd_idmap.c
+++ b/source3/winbindd/winbindd_idmap.c
@@ -37,6 +37,18 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
+static struct winbindd_child static_idmap_child;
+
+void init_idmap_child(void)
+{
+ setup_domain_child(NULL, &static_idmap_child, "idmap");
+}
+
+struct winbindd_child *idmap_child(void)
+{
+ return &static_idmap_child;
+}
+
static void winbindd_set_mapping_recv(TALLOC_CTX *mem_ctx, BOOL success,
struct winbindd_response *response,
void *c, void *private_data)