summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/smbcalls_cli.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7633: this patch started as an attempt to make the dcerpc code use a givenAndrew Tridgell1-1/+1
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)
2007-10-10r7570: Add tree, session and socket disconnect ejs functions.Tim Potter1-8/+114
(This used to be commit 63577628b0ee7e6b33053484190189e99cb56a5b)
2007-10-10r7505: Add more argument forms for session_setup().Tim Potter1-1/+34
Throw an exception if tree connect fails. (This used to be commit 5b67f2c3d91487fec38b300b4f71792cd9164a78)
2007-10-10r7501: Fix credential initialisation in ejs session setup. Implement fourTim Potter1-7/+127
arg and anonymous version of command. Implement ejs tconx. (This used to be commit 3b7df1037de813d93b284d3b4438b083e668e29f)
2007-10-10r7457: Return an ejs C pointer object from the ejs connect() function.Tim Potter1-16/+62
Add a session_setup() function that does an anonymous session setup. Will add credential passing later. (This used to be commit 832332de5db7102085e7c44d4256fb199d8123eb)
2007-10-10r7422: Create a ejs object to wrap a smbcli_transport pointer.Tim Potter1-0/+18
(This used to be commit a55e40651d06f416871ccbe04ad3b7d25444d645)
2007-10-10r7351: Start of ejs smb client library. I need to figure out a nice API hereTim Potter1-0/+89
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)