Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit 63577628b0ee7e6b33053484190189e99cb56a5b)
|
|
This always loads all the services, as we now don't have an easy way
to split out smbd.
Andrew Bartlett
(This used to be commit 990e061939c76b559c4f5914c5fc6ca1b13e19dd)
|
|
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)
|
|
(This used to be commit 564dfe14d00e80a0d373ab0fc17803ffaac0892e)
|
|
(This used to be commit 8574f64ca2bda864f472067ae594285b6f5dc957)
|
|
written code, and it doesn't work or even compile yet. I am committing
it to make it easier to discuss the approach with jelmer and tpot.
The intention is that this code will eventually end up being mostly
auto-generated (with the utility functions split out, just like
librpc/ndr/*.c)
(This used to be commit 30e876e9c2ba73a3bc26e7708110e00a8552a75e)
|
|
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)
|
|
(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)
|
|
Change the exit value for an exception, usage error and other non-js
errors to 127 which is kinda like the return value for the system(3)
function.
(This used to be commit c77a232b1152a27e2d8ffb719aefba6c6b2ba6df)
|
|
(This used to be commit 4b775c619b7abed52d158ab70505320753a0c9cb)
|
|
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 2fa6f7bb2b8390f6486f6531212b556e98a6c528)
|
|
(This used to be commit 8a98572a3b5dba58181dc402dbebae5452656012)
|
|
res: {
is_err: true,
is_ok: false,
errstr: "NT_STATUS_IO_TIMEOUT",
v: -1073741643
}
(This used to be commit d81d5f8317ca82a08e6fc38ef7313fad2e631281)
|
|
(This used to be commit 31b9fadbed656f666f587a9dcb5a7627a2d388aa)
|
|
ejsEvalFile().
Still need to add advancement of the script past the hash-bang line but
it's home time now!!
(This used to be commit 14a2053c045a2df1d68838900c833c2a15cb5a36)
|
|
(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)
|
|
(This used to be commit 54051bf8bbb18653adafb37cc6181617ca60b781)
|
|
(This used to be commit 790a46f53bd5b6994cbf6aed670df1407a44e2f3)
|
|
(This used to be commit fcf177c86e2bfbc993352b80824487e5df0a3f63)
|
|
- fixed handle passing in the smb/ejs interface calls, so they can be called
safely from esp
(This used to be commit 45ea1b64413de577366939b2106f657f6c47b1bd)
|
|
(This used to be commit 3db568eb6bb383c4c1e1fd0c7f043a9914dcc3cc)
|
|
(This used to be commit 92f85507df2bce5e246484860a43748321f2291e)
|
|
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)
|
|
compiler still complains about "handle" (scripting/ejs/smbscrip.c:46) possibly
not being initialized and to me this looks true.
Running smbscript with the trivial write("Hello, world\n"); also leaves some
memory around.
Volker
(This used to be commit 06d27a19213dc8fe6dfc948a5e8cbafa74db7a29)
|
|
(This used to be commit f2e59d3adfd7813c3c2090350f8ff2a99a5533e9)
|
|
(This used to be commit b83dc8fbfb9ffe30654bc4869398f50dd9ccccb7)
|
|
(This used to be commit 805b6c7cf0f1e05fbb690bdfc93938747e13e6cd)
|
|
Tridge says there is a bug in defining per-engine CFunction's so move
calls to ejsDefineStringCFunction() above the ejsOpenEngine() call.
Test script now works!
(This used to be commit 5e2458ae6c863ff29b85fff3d093f7f4fa9dc2be)
|
|
command line environment instead of inside the web server.
It doesn't work yet though, rather an exception is thrown when trying
to call ejsDefineStringCFunction().
(This used to be commit 3444cd5429dfef5a67d5bf7818ae08e4e8cc5ccc)
|