question about winbindd async commands

View: New views
2 Messages — Rating Filter:   Alert me  

question about winbindd async commands

by Herb Lewis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How do I get a winbindd command that uses a do_async call to
return data in the extra_data of the response structure. At
the end of the "dual" function everything looks OK with the
response structure having the pointer in extra_data.data
and I added the size to response.length, but when it gets
back to the main winbindd process, the value is 0 for
extra_data.data. I seem to be only able to see things I
changed in the resonse.data structure.

Re: question about winbindd async commands

by Jeremy Allison :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Oct 02, 2008 at 05:02:10PM -0700, Herb Lewis wrote:
> How do I get a winbindd command that uses a do_async call to
> return data in the extra_data of the response structure. At
> the end of the "dual" function everything looks OK with the
> response structure having the pointer in extra_data.data
> and I added the size to response.length, but when it gets
> back to the main winbindd process, the value is 0 for
> extra_data.data. I seem to be only able to see things I
> changed in the resonse.data structure.

Hard to tell without seeing your code I'm afraid. This
does work in the git code, so you should be able to
do this.

Jeremy.
LightInTheBox - Buy quality products at wholesale price!