summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7084: - readd the work from rev 6516,6517,6572Stefan Metzmacher6-130/+217
- use a single list of scalars - let "string" not be so special anymore - fix support for "string_array" metze (This used to be commit e1fa7ae6c8420dc582578e084b9c0d641bcfbd73)
2007-10-10r7083: Add a ejs hook to the resolve_name() function.Tim Potter1-0/+51
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)
2007-10-10r7082: Call load_interfaces() in smbscript initialisation.Tim Potter1-0/+2
(This used to be commit 54051bf8bbb18653adafb37cc6181617ca60b781)
2007-10-10r7081: Add mprToInt() function.Tim Potter1-0/+9
(This used to be commit 790a46f53bd5b6994cbf6aed670df1407a44e2f3)
2007-10-10r7080: Fix typo in error message.Tim Potter1-1/+1
(This used to be commit fcf177c86e2bfbc993352b80824487e5df0a3f63)
2007-10-10r7079: remember to register the esp callsAndrew Tridgell1-0/+1
(This used to be commit ab27e58c08a065a5a84fcd763d0b4b070eb07886)
2007-10-10r7078: - fix an uninitialised variable in smbscriptAndrew Tridgell2-5/+5
- fixed handle passing in the smb/ejs interface calls, so they can be called safely from esp (This used to be commit 45ea1b64413de577366939b2106f657f6c47b1bd)
2007-10-10r7077: pull in a bunch more libs for smbscript. I plan on making a whole lotAndrew Tridgell1-1/+2
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)
2007-10-10r7075: added support for ARGV[] in ejs scriptsAndrew Tridgell1-1/+12
(This used to be commit 3db568eb6bb383c4c1e1fd0c7f043a9914dcc3cc)
2007-10-10r7074: we should load all shares in smbscriptAndrew Tridgell1-1/+1
(This used to be commit 92f85507df2bce5e246484860a43748321f2291e)
2007-10-10r7072: moved the esp hooks calls to the ejs level, so we can call them fromAndrew Tridgell7-370/+446
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)
2007-10-10r7071: allow access to the current mpr memory context from ejs callsAndrew Tridgell2-0/+8
(This used to be commit a58531dcf30b091913563ca2b8ce5e5843896441)
2007-10-10r7069: Add a little usage message to smbscript and fix a compiler warning. MyVolker Lendecke1-1/+7
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)
2007-10-10r7068: Missed one!Tim Potter1-0/+2
(This used to be commit cebbce9bf57d293dad3c35b1c76c74dd917620e0)
2007-10-10r7067: older versions of gnutls don't have GNUTLS_KP_TLS_WWW_SERVERAndrew Tridgell1-0/+2
(This used to be commit 9b568eb957c8ecbe8ebe29bcffdcad3bf7eef8c2)
2007-10-10r7066: Rename http_exception to ejs_exception.Tim Potter3-8/+8
(This used to be commit f2e59d3adfd7813c3c2090350f8ff2a99a5533e9)
2007-10-10r7065: Move ejs from web_server to lib so it can be shared with smbscript.Tim Potter17-29/+29
(This used to be commit b83dc8fbfb9ffe30654bc4869398f50dd9ccccb7)
2007-10-10r7064: Clean up handle parameter passing after peeking at tridge's ejstest.cTim Potter1-4/+4
(This used to be commit 805b6c7cf0f1e05fbb690bdfc93938747e13e6cd)
2007-10-10r7063: Do error checking on the ejs functions.Tim Potter1-9/+19
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)
2007-10-10r7062: Merge scripting/swig/config.mk with scripting/config.mkTim Potter3-6/+14
(This used to be commit e14c00c4c1cc51dac9452c1e950445907d883e46)
2007-10-10r7061: A ejs scripting client. This should allow javascript to be run in aTim Potter3-0/+71
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)
2007-10-10r7060: Fix use of uninitialised variable.Tim Potter1-1/+1
(This used to be commit 7568fcbfc58c91a81a8fcbadea48ffdc9e58bb27)
2007-10-10r7059: Use namespaces for pidl and the build system, so we can later onJelmer Vernooij21-73/+118
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)
2007-10-10r7058: Add experimenthal pam authentication for web pagesSimo Sorce5-4/+427
(This used to be commit 36d905407465cb9d8950da86322531e3c3102642)
2007-10-10r7057: remove some ^M at end of linesSimo Sorce1-20/+20
(This used to be commit 1fb60dc07dbf6f1faa0d7af3959c20469a8e36f6)
2007-10-10r7055: automatically add the dn to all ldbSearch resultsAndrew Tridgell1-1/+8
(This used to be commit d6fa28080831700f80ff46320e0b0831337b822a)
2007-10-10r7053: added a ldbSearch() call to espAndrew Tridgell1-13/+191
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)
2007-10-10r7052: added a case insensitive str_list_check_ci() version of str_list_check()Andrew Tridgell1-0/+13
(This used to be commit 5654330b6100a7291cee3631815cfb898100cf23)
2007-10-10r7051: remove an unused fileAndrew Tridgell1-2259/+0
(This used to be commit 7e6fbd4889a92ec985b8c6c70005cab76d64d262)
2007-10-10r7050: fix linking of smbdStefan Metzmacher1-1/+1
metze (This used to be commit d2af8eaefa58b56dbacfce10d74152a03d1becc2)
2007-10-10r7049: auto-create the private/tls/ directory on installAndrew Tridgell1-1/+1
(This used to be commit a4a5eea7b741a78b45d19d7021805f674f48f44a)
2007-10-10r7048: added auto-generation of TLS self-signed certificates if none exist ↵Andrew Tridgell3-8/+164
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)
2007-10-10r7047: rearranged the tls code a bit, and improved the error messages when ↵Andrew Tridgell1-119/+131
it fails (This used to be commit f54533dfba4286a3dbab26f1812a926fa6408efd)
2007-10-10r7043: Patch from Julien Kerihuel <j.kerihuel@openchange.org> to reenableAndrew Bartlett1-1/+2
'obfustication' in the new PIDL. Jelmer: Can you double-check this? Andrew Bartlett (This used to be commit 2a1426c52f113237edeba4de25c402257f31ebe6)
2007-10-10r7037: Add enough pointers in the header file as wellJelmer Vernooij2-11/+15
Fix a couple of warnings. (This used to be commit fcaa9d495c13af5065dd32f8ed65d4260b3a5539)
2007-10-10r7036: Allow more operations in several properties (such as size_is, length_is,Jelmer Vernooij4-447/+493
switch_is, etc) and simplify the code involved (This used to be commit 86de98ee09348297f2c30ce15888ba5e5637c078)
2007-10-10r7029: Make array support in pidl similar to that in other IDL compilers. We ↵Jelmer Vernooij15-204/+203
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)
2007-10-10r7023: reduced the number of warnings in building ejs and espAndrew Tridgell10-17/+21
(This used to be commit ef998f9f8fb9759e5a4572acb3f9038efc019e5e)
2007-10-10r7022: Add support for parsing definitions of multi-dimension arrays.Jelmer Vernooij9-163/+121
This will also be required for supporting parsing pointers to arrays and arrays of pointers simultaneously. (This used to be commit a34f848b02a6e8284d62532a792a5136e846fe8f)
2007-10-10r7019: - added esp call lpServices() which returns a list of services in ↵Andrew Tridgell1-15/+41
smb.conf. - added a test of lpServices() in the esptest scripts (This used to be commit 94308d8fed7796ddfc32883a1c27ec8ebfff842d)
2007-10-10r7017: added a esp variable server['TLS_SUPPORT'] which tells the script if ↵Andrew Tridgell1-1/+3
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)
2007-10-10r7016: - added smb.conf parm 'web tls = true/false'Andrew Tridgell2-1/+5
- by default enable tls if the certfile is set in smb.conf and gnutls library was compiled in (This used to be commit bbafdeae3a68c0ff1170b0a4ecc568664ec1a925)
2007-10-10r7014: added Content-Length header to both esp and non-esp outputAndrew Tridgell1-1/+10
(This used to be commit e0673dcfc0056b3a1b72ef0b10d82948ca8c9819)
2007-10-10r7013: added tls support to the builtin web server. It auto-detects if the ↵Andrew Tridgell6-27/+419
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)
2007-10-10r7012: added smb.conf parametersAndrew Tridgell1-0/+16
web tls keyfile web tls certfile web tls cafile web tls crlfile (This used to be commit abfa3e9179557cf1853f490a479a0003ce4e11f7)
2007-10-10r7011: when using macros, the parameters should be specified unless its aAndrew Tridgell1-11/+11
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)
2007-10-10r7010: Merge libcli/libsmb.mk into libcli/config.mkTim Potter3-10/+10
(This used to be commit d7d48adce9628ee7a0d2f8ac3504745aaeb912b9)
2007-10-10r7009: the correct for maing it all build with my gcc-4.0Stefan Metzmacher1-1/+3
I assume the problem is caused by including a precompiled header twice... metze (This used to be commit 45f8b5dfa1d003666b551c95d4e3dce942c1a10e)
2007-10-10r7008: - split out the loadparm type definitions so loadparm internals can ↵Andrew Tridgell5-162/+199
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)
2007-10-10r7007: try to get ejs compiling againAndrew Tridgell1-1/+3
(This used to be commit 9bba51330d79283d1a5af7becde8655dd2146f94)