r25569: move more idmap stuff into winbindd_idmap.c
authorStefan Metzmacher <metze@samba.org>
Mon, 8 Oct 2007 11:13:36 +0000 (11:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:31:15 +0000 (12:31 -0500)
metze

source/winbindd/winbindd_idmap.c
source/winbindd/winbindd_sid.c

index 3ae88c4c5d4fab61f89fe26c7046f8c07e8ffb48..608948787e3e78aa99c6a66ccf9b353b3bf87161 100644 (file)
 #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)
index 48e84d35e5d47008a3defc8636e80370c5b9d1f3..b607db2b191e9a0115e6f7a396153da7a614e93e 100644 (file)
@@ -152,18 +152,6 @@ void winbindd_lookuprids(struct winbindd_cli_state *state)
        sendto_domain(state, domain);
 }
 
-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;
-}
-
 /* Convert a sid to a uid.  We assume we only have one rid attached to the
    sid. */