summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_dom_info.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-04-29 21:40:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:51:47 -0500
commitfcdb99f7ce049494063c88a495dabd8849cf251c (patch)
tree8d4373aa935144a1bfa8b9f64c049d144b2cfcf3 /source4/winbind/wb_dom_info.c
parentea34bca0bd2566879d48f2197f2b7336dee8fd5b (diff)
downloadsamba-fcdb99f7ce049494063c88a495dabd8849cf251c.tar.gz
samba-fcdb99f7ce049494063c88a495dabd8849cf251c.tar.bz2
samba-fcdb99f7ce049494063c88a495dabd8849cf251c.zip
r22582: Cleanups towards making winbind work again. We still have a long way to go, as this has bitrotted over the past months.
This change in particular catches winbind up with the next composite_create() function. We also needed to remove an unused flags field, and fill in the lm response. Andrew Bartlett (This used to be commit bd26e4ffaf1c060fdc3aae28fd4393e83c5a83ea)
Diffstat (limited to 'source4/winbind/wb_dom_info.c')
-rw-r--r--source4/winbind/wb_dom_info.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/winbind/wb_dom_info.c b/source4/winbind/wb_dom_info.c
index 41334b420a..28f35c2095 100644
--- a/source4/winbind/wb_dom_info.c
+++ b/source4/winbind/wb_dom_info.c
@@ -50,11 +50,8 @@ struct composite_context *wb_get_dom_info_send(TALLOC_CTX *mem_ctx,
struct get_dom_info_state *state;
struct nbt_name name;
- result = talloc(mem_ctx, struct composite_context);
+ result = composite_create(mem_ctx, service->task->event_ctx);
if (result == NULL) goto failed;
- result->state = COMPOSITE_STATE_IN_PROGRESS;
- result->async.fn = NULL;
- result->event_ctx = service->task->event_ctx;
state = talloc(result, struct get_dom_info_state);
if (state == NULL) goto failed;