diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-10-08 11:13:36 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@sernet.de> | 2007-10-22 08:46:10 +0200 |
commit | 58e049efa3392e2ebfb39f4e63c876aace7b6e7b (patch) | |
tree | bfff36b2ae2112619bab6211ab176579dedb1c0f /source3 | |
parent | 1e9e1b6fca4c3c10d9e37a7b980859ff40e352e0 (diff) | |
download | samba-58e049efa3392e2ebfb39f4e63c876aace7b6e7b.tar.gz samba-58e049efa3392e2ebfb39f4e63c876aace7b6e7b.tar.bz2 samba-58e049efa3392e2ebfb39f4e63c876aace7b6e7b.zip |
r25569: move more idmap stuff into winbindd_idmap.c
metze
(cherry picked from commit 953229f040580071f6ee09413f67f7edd3227728)
(This used to be commit 590954407b5badfb9d6b8fb55077dc6a520fb816)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd_idmap.c | 12 | ||||
-rw-r--r-- | source3/winbindd/winbindd_sid.c | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/source3/winbindd/winbindd_idmap.c b/source3/winbindd/winbindd_idmap.c index 5f0243b2f4..1d6beb3778 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) diff --git a/source3/winbindd/winbindd_sid.c b/source3/winbindd/winbindd_sid.c index f405f36d1b..601971e36b 100644 --- a/source3/winbindd/winbindd_sid.c +++ b/source3/winbindd/winbindd_sid.c @@ -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. */ |