summaryrefslogtreecommitdiff
path: root/source4/web_server
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13926: More header splitups.Jelmer Vernooij2-0/+2
(This used to be commit 930daa9f416ecba1d75b8ad46bb42e336545672f)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij2-0/+3
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r13902: Stricter checking for the -fvisibility flagJelmer Vernooij2-0/+2
Add two more proto headers. (This used to be commit 0c95bf0cd33d8a6c35f692b796d7fbfd98b4d068)
2007-10-10r12817: Create a ESP variable with the struct socket_address * in it, so weAndrew Bartlett1-1/+5
can pass that do the auth subsystem. Andrew Bartlett (This used to be commit 699f06e5e8ef326808d010fadb51da04972ab385)
2007-10-10r12813: Remove unused file to avoid confusion. We now go via the authAndrew Bartlett1-341/+0
subsystem. Andrew Bartlett (This used to be commit 15a6f098ff28369bd7fa0a215e2ab150d18ac9f3)
2007-10-10r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett1-9/+16
structure that is more generic than just 'IP/port'. It now passes make test, and has been reviewed and updated by metze. (Thankyou *very* much). This passes 'make test' as well as kerberos use (not currently in the testsuite). The original purpose of this patch was to have Samba able to pass a socket address stucture from the BSD layer into the kerberos routines and back again. It also removes nbt_peer_addr, which was being used for a similar purpose. It is a large change, but worthwhile I feel. Andrew Bartlett (This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
2007-10-10r12801: Some more include/ cleanups (remove unused macros + move filesJelmer Vernooij1-1/+0
to specific dirs) (This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-2/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not usingJelmer Vernooij1-3/+2
the difference between these at all, and in the future the fact that INIT_OBJ_FILES include smb_build.h will be sufficient to have recompiles at the right time. (This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
2007-10-10r11244: Relative path names in .mk filesJelmer Vernooij1-2/+2
(This used to be commit 24e10300906c380919d2d631bfb3b8fd6b3f54ba)
2007-10-10r11214: Remove scons files (see ↵Jelmer Vernooij1-3/+0
http://lists.samba.org/archive/samba-technical/2005-October/043443.html) (This used to be commit 7fffc5c9178158249be632ac0ca179c13bd1f98f)
2007-10-10r10913: This patch isn't as big as it looks ...Andrew Tridgell1-1/+1
most of the changes are fixes to make all the ldb code compile without warnings on gcc4. Unfortunately That required a lot of casts :-( I have also added the start of an 'operational' module, which will replace the timestamp module, plus add support for some other operational attributes In ldb_msg_*() I added some new utility functions to make the operational module sane, and remove the 'ldb' argument from the ldb_msg_add_*() functions. That argument was only needed back in the early days of ldb when we didn't use the hierarchical talloc and thus needed a place to get the allocation function from. Now its just a pain to pass around everywhere. Also added a ldb_debug_set() function that calls ldb_debug() plus sets the result using ldb_set_errstring(). That saves on some awkward coding in a few places. (This used to be commit f6818daecca95760c12f79fd307770cbe3346f57)
2007-10-10r10586: Add MergedObject() builder. Default to Library() ratherJelmer Vernooij1-1/+1
then StaticLibrary() (This used to be commit b53313dc517986c69a4e4cb8fe3885b696f8faa1)
2007-10-10r10336: Add sconscript for a couple more subsystems.Jelmer Vernooij1-0/+3
(This used to be commit 59d4450453c25f5cce9b67b808ff0c4433c1d194)
2007-10-10r9504: use some low level ejs hackery to give much better exception error ↵Andrew Tridgell1-16/+10
messages in both the web server and smbscript. We can now give backtraces for all internal asserts, not just high level errors (This used to be commit 84c756b25ccb2bd75360bdb9b7b7643975d1f3b3)
2007-10-10r9409: fix a problem that volker noticed with web page timeouts causing smbdAndrew Tridgell2-2/+25
to crash. This is one of the downsides of the fact that the ejs engine is not event driven, resulting in the rendering of each web page being 'semi-async'. We need to protect the web context from the timeout processing until we have unwound the stack back to the point that the 'web' variable representing the page rendering logic won't be used any more. (This used to be commit 97e3c9eaf1a917eb504a2c3414c5d2b64cd4539a)
2007-10-10r9389: handle errors reading from files in web serverAndrew Tridgell1-4/+5
bug found by coverity (This used to be commit 1a3229777adf12f8148267af7b33689ebe880ed8)
2007-10-10r9183: more workarounds for the global variables in ejs. I will discuss ↵Andrew Tridgell1-0/+6
getting rid of these with the mbedthis people. (This used to be commit a5b9e74a5c23e724ae4ee222e6f128133b175494)
2007-10-10r9179: cope with simultaneous web requests using the same session variableAndrew Tridgell1-0/+6
(This used to be commit 7d6e6012198d6fd3770da22ec5e1770c9bcd4ed7)
2007-10-10r9122: cope with trailing garbage in POST contents in the web serverAndrew Tridgell1-1/+4
(This used to be commit de0ac6a9d6f38f9c8067f974e3bdc1c9a164d638)
2007-10-10r8726: increase default session timeout to 15 minutes to be less painful for ↵Andrew Tridgell1-1/+1
developers (This used to be commit d40e590674a20528a5649e1cfd377ee661265bb9)
2007-10-10r8665: fixed a segv at high debug level in the web serverAndrew Tridgell1-1/+4
thanks to volker for finding this (This used to be commit e02d7753f77327e3ca295a86afde9ea74ddcf5e0)
2007-10-10r8632: use <pre> around displayed exceptionsAndrew Tridgell1-1/+3
(This used to be commit 001917cc9dec4bdf8839ef175edad352b2763239)
2007-10-10r8520: fixed a pile of warnings from the build farm gcc -Wall output onAndrew Tridgell1-1/+1
S390. This is an attempt to avoid the panic we're seeing in the automatic builds. The main fixes are: - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats - use of NULL format statements to perform dn searches. - assumption that sizeof() returns an int (This used to be commit a58ea6b3854973b694d2b1e22323ed7eb00e3a3f)
2007-10-10r8483: switched our generated ejs rpc code over to the new OO interface. ThisAndrew Tridgell1-2/+0
means we don't pollute the name space, and also makes for faster startup times as we only create variables for the pipes that we use, not all pipes (This used to be commit 57d7a585e8162d21c7152952aa0cc7471968784f)
2007-10-10r8482: gnutls_x509_crt_set_subject_key_id is not available in some versionsAndrew Tridgell1-11/+0
of gnutls. Thanks to ab for spotting this. (This used to be commit 437c4057ae4e89725ddbdd026977510beb33c009)
2007-10-10r8399: move the ejs and esp code closer to the directory layout used by theAndrew Tridgell6-1709/+1
upstream sources. This makes it much easier to keep it up to date. I will separate out the mpr code into lib/appweb/mpr next (This used to be commit 52db7a052baeb0f11361ed69b71cb790039e3cc9)
2007-10-10r8361: ctype is* macros needs unsigned argumentsLove Hörnquist Åstrand1-1/+1
(This used to be commit 07a7ab0a6af7224c4290043442a304baef656e94)
2007-10-10r8351: When finished sending call stream_terminate_connection() with a niceTim Potter1-4/+4
message instead of NULL. Fix up some other terminate messgages to be consistent. (This used to be commit c0428ef3376e439cdc04fea046738cecb7a01560)
2007-10-10r8255: enable access to the ejs constants generated by pidl from the web ↵Andrew Tridgell1-0/+2
server esp pages (This used to be commit 354cdf893d7ce36afd6f2776308b3c864f29ce0b)
2007-10-10r7911: task_terminate() is defined in the macosx headers, so change the nameAndrew Tridgell1-1/+1
to task_server_terminate() (This used to be commit a7447e25ac203f0ee09ffdf72df1094eb70e7c0c)
2007-10-10r7751: only enable tls on the ldaps port in ldap server, and reject non-tlsAndrew Tridgell1-1/+1
connections on that port (This used to be commit 30da6a1cc41308a16a486111887f45bcf598f064)
2007-10-10r7744: converted the web server to use the lib/tls/ generic tls codeAndrew Tridgell6-546/+21
(This used to be commit 023fc567badba38b87895ea73515b2ce0b703a8c)
2007-10-10r7441: Get rid of // comments. Tridge, if this breaks anything, please ↵Volker Lendecke1-4/+4
revert it. More tomorrow Volker (This used to be commit 02efa4427d80aa1e9a8f0275c568d977faa0f9b8)
2007-10-10r7236: uhmm this require to be in tooSimo Sorce1-4/+2
(This used to be commit 3b5fc036f3ffe57282b291454f6c632306e4c8d5)
2007-10-10r7235: We do not need PAM here anymoreSimo Sorce1-12/+0
(This used to be commit f338697edd31a0aa675aadedf2a51d748b75f913)
2007-10-10r7234: that code path is diedSimo Sorce1-1/+0
(This used to be commit efbfabdefab621eca0b644f22b887ae2cdd50bf2)
2007-10-10r7231: remove some old stuffSimo Sorce1-105/+0
(This used to be commit 2e3316be9faf696fbb84e0a183de47418d7b9acd)
2007-10-10r7179: remove compiler warningsStefan Metzmacher1-4/+3
metze (This used to be commit 0e1b1c393718cbffea391ba753cf19d359ff36d6)
2007-10-10r7177: fill in REMOTE_ADDR correctlyStefan Metzmacher1-1/+2
metze (This used to be commit aab9b953da8e9416e0756f760a717cf9013b772b)
2007-10-10r7166: Move replacement stuff to seperate directoryJelmer Vernooij1-1/+1
(easier to add win32-specific bits later) Trim LIBBASIC a bit more (This used to be commit fc7f519e4ae2051e9515df5f549c8e1842b7e70b)
2007-10-10r7107: detect when a users session has expired and set ↵Andrew Tridgell1-0/+6
request['SESSION_EXPIRED'] (This used to be commit 0c2e42986ca3d10fbd19c91e2ea59af20e4fce30)
2007-10-10r7104: add support into the web server for session[] variables without ↵Andrew Tridgell1-14/+27
cookies by using query strings (This used to be commit 6ca3e3af89df534704eb5cbefb84bba7257f82bb)
2007-10-10r7087: always run the /scripting/preauth.esp page before processing anyAndrew Tridgell1-15/+55
request. If this page produces any output then that output is sent to the browser and the request is not processed This allows us to ensure that all pages are authenticated (This used to be commit 6a876d66119a79f7922f44d36c116eee72dd76f9)
2007-10-10r7086: make include() recognise the ".esp" extension and include the file asAndrew Tridgell1-5/+17
an esp script instead of as a ejs script (This used to be commit af97ded8d4151d33767d2b98bfcc3ca9a4fedc10)
2007-10-10r7079: remember to register the esp callsAndrew Tridgell1-0/+1
(This used to be commit ab27e58c08a065a5a84fcd763d0b4b070eb07886)
2007-10-10r7072: moved the esp hooks calls to the ejs level, so we can call them fromAndrew Tridgell3-357/+2
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-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 Potter1-5/+5
(This used to be commit f2e59d3adfd7813c3c2090350f8ff2a99a5533e9)