Age | Commit message (Collapse) | Author | Files | Lines |
|
searches a js library
path set in "js include" in smb.conf.
This will allow us to start building up a library of common js code,
while avoiding the problem of hard-coding include paths in scripts
(This used to be commit ff60529ba2515df29a20b4a417327a3565ec8ee9)
|
|
- got rid of the one line ejs_returnlist()
(This used to be commit 6961fe29058cffd8e69d9ce7e7d3902f973411c0)
|
|
lots of rpc calls without memory usage increasing.
(This used to be commit 9c885a7edb771486793eb287288158157b34e8f3)
|
|
(This used to be commit ad1a4802d0634960646a6efe039fe8b62ead63dd)
|
|
(This used to be commit e1cfc6d03244e04d59a96ef2abb5b48fcb157b0a)
|
|
use the enum name
instead of a integer in ejs scripts making rpc calls
(This used to be commit a61cdee384c3002860016c1740276529493d318d)
|
|
tpot, note that this shows how you can modify passed in MprVar
variables in C call
(This used to be commit a782541db3de6ca3b599a220265cf9e6cb0c4d7b)
|
|
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 8574f64ca2bda864f472067ae594285b6f5dc957)
|
|
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)
|
|
(This used to be commit ada004595760605134eb741da9c549521938c2ce)
|
|
(This used to be commit ddd7454cb3e2445fd32682b380be89c70f8a22cb)
|
|
(This used to be commit 41bae267e29614d300ec2505c927ab17ccbbe64f)
|
|
as there are going to be a lot more of them.
(This used to be commit b086768589ee27de6616945bbea42b18b40d25d5)
|
|
parsing and example for resolveName().
(This used to be commit 1a4a54931733ebfa743401a184fe460c044427b4)
|
|
resolve_name() C function. I can't figure out how to return variables
by reference though. Writing to argv[] doesn't seem to work.
(This used to be commit aef99859f28570b60f4fefe2981160269f6eb02a)
|
|
(This used to be commit 8a98572a3b5dba58181dc402dbebae5452656012)
|
|
(This used to be commit 29ab4cc6cb244255ab75af7ae2076b51209f4f2d)
|
|
We need to figure out what the best way to return NTSTATUS codes. In the
Python wrappers I threw an exception which could be caught by some code,
but I'm not sure whether this is possible in ejs.
(This used to be commit 6911e46c6a576a379ea06f9ba3ef6a62653170f0)
|
|
- fixed handle passing in the smb/ejs interface calls, so they can be called
safely from esp
(This used to be commit 45ea1b64413de577366939b2106f657f6c47b1bd)
|
|
both esp scripts and ejs scripts. This allows the smbscript program to
call all the existing extension calls like lpGet() and ldbSearch()
Also fixed smbscript to load smb.conf, and setup logging for DEBUG()
I left the unixAuth() routine in web_server/calls.c at the moment, as
that is really only useful for esp scripts. I imagine that as we
extend esp/ejs, we will put some functions in scripting/ejs/ for use
in both ejs and esp, and some functions in web_server/ where they will
only be accessed by esp web scripts
(This used to be commit e59ae64f60d388a5634559e4e0887e4676b70871)
|