Age | Commit message (Collapse) | Author | Files | Lines |
|
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)
|
|
(This used to be commit ab27e58c08a065a5a84fcd763d0b4b070eb07886)
|
|
- fixed handle passing in the smb/ejs interface calls, so they can be called
safely from esp
(This used to be commit 45ea1b64413de577366939b2106f657f6c47b1bd)
|
|
of internal functions available to ejs, including rpc functions.
This should hopefully fix the link on solaris10 as well
(This used to be commit caceb31be841041a0e20c7e261badad2cce82c6a)
|
|
(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)
|
|
(This used to be commit a58531dcf30b091913563ca2b8ce5e5843896441)
|
|
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 cebbce9bf57d293dad3c35b1c76c74dd917620e0)
|
|
(This used to be commit 9b568eb957c8ecbe8ebe29bcffdcad3bf7eef8c2)
|
|
(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)
|
|
(This used to be commit e14c00c4c1cc51dac9452c1e950445907d883e46)
|
|
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)
|
|
(This used to be commit 7568fcbfc58c91a81a8fcbadea48ffdc9e58bb27)
|
|
call out to the build system to compile the various pidl tests
(without having to rely on shared library support).
Initial work on an ndr_array test.
(This used to be commit 2b08c4b92b4f56180c123a502bdcc6c40188c07f)
|
|
(This used to be commit 36d905407465cb9d8950da86322531e3c3102642)
|
|
(This used to be commit 1fb60dc07dbf6f1faa0d7af3959c20469a8e36f6)
|
|
(This used to be commit d6fa28080831700f80ff46320e0b0831337b822a)
|
|
It takes two forms, one with a set of attributes, the other without:
res = ldbSearch("dbfile", "expression");
var attrs = new Array("attr1", "attr2", "attr3");
res = ldbSearch("dbfile", "expression", attrs);
(This used to be commit 1ba602e32ba116016af6fb72e5929cdc026c8f0d)
|
|
(This used to be commit 5654330b6100a7291cee3631815cfb898100cf23)
|
|
(This used to be commit 7e6fbd4889a92ec985b8c6c70005cab76d64d262)
|
|
metze
(This used to be commit d2af8eaefa58b56dbacfce10d74152a03d1becc2)
|
|
(This used to be commit a4a5eea7b741a78b45d19d7021805f674f48f44a)
|
|
already
This allows smbd to be setup from scratch over ssl without having to
know how to create valid certificates (which can be quite tricky
unless you've done it before)
Of course, a good admin will provide real certificates, and smbd will
use them if specified
(This used to be commit 00b67efc99eac7bca386dea03f03bbb9470ab002)
|
|
it fails
(This used to be commit f54533dfba4286a3dbab26f1812a926fa6408efd)
|
|
'obfustication' in the new PIDL.
Jelmer: Can you double-check this?
Andrew Bartlett
(This used to be commit 2a1426c52f113237edeba4de25c402257f31ebe6)
|
|
Fix a couple of warnings.
(This used to be commit fcaa9d495c13af5065dd32f8ed65d4260b3a5539)
|
|
switch_is, etc) and simplify the code involved
(This used to be commit 86de98ee09348297f2c30ce15888ba5e5637c078)
|
|
should
now able to use constructions like these:
[size_is(20)] int *x; -> Pointer to array of 20 ints
[size_is(20)] int x[]; -> Array of 20 ints
[size_is(20)] int *x[]; -> Array of 20 pointers to ints
[size_is(20,)] int *x[] -> Array of 20 pointers to ints
[size_is(,20)] int *x[]; -> Pointer to array of 20 ints
[size_is(,20)] int **x; -> Pointer to pointer to array of 20 ints
[size_is(20)] int x[][30]; -> 20 blocks of 30 ints
(This used to be commit ecf583da71c2f80be124c17fccdcb284b47e0695)
|
|
(This used to be commit ef998f9f8fb9759e5a4572acb3f9038efc019e5e)
|
|
This will also be required for supporting
parsing pointers to arrays and arrays of pointers simultaneously.
(This used to be commit a34f848b02a6e8284d62532a792a5136e846fe8f)
|
|
smb.conf.
- added a test of lpServices() in the esptest scripts
(This used to be commit 94308d8fed7796ddfc32883a1c27ec8ebfff842d)
|
|
the server
can support TLS. This will allow us to auto-redirect if a user connects using the
wrong protocol
(This used to be commit fbf4552cd5e27863ee1de7d03e4da0fc10f429df)
|
|
- by default enable tls if the certfile is set in smb.conf and gnutls library
was compiled in
(This used to be commit bbafdeae3a68c0ff1170b0a4ecc568664ec1a925)
|
|
(This used to be commit e0673dcfc0056b3a1b72ef0b10d82948ca8c9819)
|
|
client
is using tls by looking at the first byte on the connection. This allows
both https and http services to be on the same port
(This used to be commit 6369dfb6585ce4d4e3028c557395f2d73c290c92)
|
|
web tls keyfile
web tls certfile
web tls cafile
web tls crlfile
(This used to be commit abfa3e9179557cf1853f490a479a0003ce4e11f7)
|
|
varargs function you are replacing. Otherwise if you have any
structure element called "socket" and you have a macro for "socket"
then the code will fail.
(This used to be commit 9b33d0ca583b0cc1602662220cade96b70c98306)
|
|
(This used to be commit d7d48adce9628ee7a0d2f8ac3504745aaeb912b9)
|
|
I assume the problem is caused by including a precompiled header twice...
metze
(This used to be commit 45f8b5dfa1d003666b551c95d4e3dce942c1a10e)
|
|
be accessed externally
- moved esp_lpGet() to web_server/calls.c
- attempt to fixup ejs build with includes.h again
(This used to be commit 592a81c347981420154ddf3b8d4252d3bb08bc86)
|
|
(This used to be commit 9bba51330d79283d1a5af7becde8655dd2146f94)
|
|
metze
(This used to be commit 3e2b4eda5f23433f5629b696954eb6856e154164)
|