Age | Commit message (Collapse) | Author | Files | Lines |
|
event_context for the socket_connect() call, so that when things that
use dcerpc are running alongside anything else it doesn't block the
whole process during a connect.
Then of course I needed to change any code that created a dcerpc
connection (such as the auth code) to also take an event context, and
anything that called that and so on .... thus the size of the patch.
There were 3 places where I punted:
- abartlet wanted me to add a gensec_set_event_context() call
instead of adding it to the gensec init calls. Andrew, my
apologies for not doing this. I didn't do it as adding a new
parameter allowed me to catch all the callers with the
compiler. Now that its done, we could go back and use
gensec_set_event_context()
- the ejs code calls auth initialisation, which means it should pass
in the event context from the web server. I punted on that. Needs fixing.
- I used a NULL event context in dcom_get_pipe(). This is equivalent
to what we did already, but should be fixed to use a callers event
context. Jelmer, can you think of a clean way to do that?
I also cleaned up a couple of things:
- libnet_context_destroy() makes no sense. I removed it.
- removed some unused vars in various places
(This used to be commit 3a3025485bdb8f600ab528c0b4b4eef0c65e3fc9)
|
|
(This used to be commit 63577628b0ee7e6b33053484190189e99cb56a5b)
|
|
Throw an exception if tree connect fails.
(This used to be commit 5b67f2c3d91487fec38b300b4f71792cd9164a78)
|
|
arg and anonymous version of command.
Implement ejs tconx.
(This used to be commit 3b7df1037de813d93b284d3b4438b083e668e29f)
|
|
Add a session_setup() function that does an anonymous session setup. Will
add credential passing later.
(This used to be commit 832332de5db7102085e7c44d4256fb199d8123eb)
|
|
(This used to be commit a55e40651d06f416871ccbe04ad3b7d25444d645)
|
|
that doesn't expose too much of the cifs protocol but still allows
people to do neat things.
Also, talloc lifetimes need to be thought about properly.
(This used to be commit 8062e808ef5102b96e1b3de046c858e4a69b4d82)
|