diff options
author | Kai Blin <kai@samba.org> | 2007-08-13 15:18:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:01:44 -0500 |
commit | 0188d0c9a3117c61ed92db7d48b7356092a23dc4 (patch) | |
tree | 82c6e2771dc25cddf13342de9fc42a35f09fbb33 | |
parent | ae00e7e9b0b16c018e9d006a1eef7437ef21d962 (diff) | |
download | samba-0188d0c9a3117c61ed92db7d48b7356092a23dc4.tar.gz samba-0188d0c9a3117c61ed92db7d48b7356092a23dc4.tar.bz2 samba-0188d0c9a3117c61ed92db7d48b7356092a23dc4.zip |
r24364: Remove sync call from name2domain, bump debug level to 5
(This used to be commit 95783210d2d076b9df490acbec9de04b9828f999)
-rw-r--r-- | source4/winbind/wb_name2domain.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/source4/winbind/wb_name2domain.c b/source4/winbind/wb_name2domain.c index 712722c71a..bfab7393bb 100644 --- a/source4/winbind/wb_name2domain.c +++ b/source4/winbind/wb_name2domain.c @@ -74,7 +74,7 @@ static void name2domain_recv_sid(struct composite_context *ctx) struct name2domain_state); struct wb_sid_object *sid; - DEBUG(1, ("name2domain_recv_sid called\n")); + DEBUG(5, ("name2domain_recv_sid called\n")); state->ctx->status = wb_cmd_lookupname_recv(ctx, state, &sid); if(!composite_is_ok(state->ctx)) return; @@ -91,7 +91,7 @@ static void name2domain_recv_domain(struct composite_context *ctx) struct name2domain_state); struct wbsrv_domain *domain; - DEBUG(1, ("name2domain_recv_domain called\n")); + DEBUG(5, ("name2domain_recv_domain called\n")); state->ctx->status = wb_sid2domain_recv(ctx, &domain); if(!composite_is_ok(state->ctx)) return; @@ -106,7 +106,7 @@ NTSTATUS wb_name2domain_recv(struct composite_context *ctx, { NTSTATUS status = composite_wait(ctx); - DEBUG(1, ("wb_name2domain_recv called\n")); + DEBUG(5, ("wb_name2domain_recv called\n")); if (NT_STATUS_IS_OK(status)) { struct name2domain_state *state = @@ -118,13 +118,3 @@ NTSTATUS wb_name2domain_recv(struct composite_context *ctx, return status; } -NTSTATUS wb_name2domain(TALLOC_CTX *mem_ctx, struct wbsrv_service *service, - const char* name, struct wbsrv_domain **result) -{ - struct composite_context *c; - - c = wb_name2domain_send(mem_ctx, service, name); - - return wb_name2domain_recv(c, result); -} - |