summaryrefslogtreecommitdiffstats
path: root/source/web/cgi.c
Commit message (Collapse)AuthorAgeFilesLines
* smbd/password.c: Fixed the HEAD branch changes that accidentally got propagated.Jeremy Allison1998-11-211-1/+24
| | | | | web/cgi.c web/swat.c: Updated with Andrew's latest fix. Jeremy.
* Changed (most) open()/fopen()/creat()/mmap() calls to use sys_XXX() instead.Jeremy Allison1998-11-171-2/+2
| | | | | | Needed as in the 64 bit file spec new open types are needed on many OS's to be able to seek past 32bits. Jeremy.
* remove code that allows installation via cgiAndrew Tridgell1998-11-141-20/+35
| | | | swat will now give an error message if run via cgi
* Added the security changes suggested by Andrew - become theJeremy Allison1998-11-121-8/+62
| | | | | user that authenticated to swat permanently (if not root). Jeremy.
* changed is_root() to am_root() to prevent clash with variable names.Andrew Tridgell1998-11-111-2/+2
|
* J.F.'s latest printer fixes plus his gcc -picky fix for web/cgi.cJeremy Allison1998-11-111-1/+1
| | | | Jeremy.
* rpc_server/srv_netlog.c: Fixed crash bug with ACB_PWNOTREQ.Jeremy Allison1998-11-111-2/+2
| | | | | | script/makeyodldocs.sh: Added code to make text docs for non-man page YODL docs. web/cgi.c web/swat.c: SGI compiler warnings fixed. Jeremy.
* added password change functionality to swatHerb Lewis1998-11-111-6/+33
|
* report ourselves as HTTP/1.0 not HTTP/1.1Andrew Tridgell1998-10-261-3/+3
|
* Changes to test in configure if capabilities are enabled on a system.Jeremy Allison1998-09-281-2/+0
| | | | | | | | | | Changes to get Samba to compile cleanly with the IRIX compiler with the options : -fullwarn -woff 1209,1174 (the -woff options are to turn off warnings about unused function parameters and controlling loop expressions being constants). Split prototype generation as we hit a limit in IRIX nawk. Removed "." code in smbd/filename.c (yet again :-). Jeremy.
* tridge the destroyer returns!Andrew Tridgell1998-09-051-168/+0
| | | | | | | | | | | | | | | | | | | | | | prompted by the interpret_security() dead code that Jean-Francois pointed out I added a make target "finddead" that finds potentially dead (ie. unused) code. It spat out 304 function names ... I went through these are deleted many of them, making others static (finddead also reports functions that are used only in the local file). in doing this I have almost certainly deleted some useful code. I may have even prevented compilation with some compile options. I apologise. I decided it was better to get rid of this code now and add back the one or two functions that are needed than to keep all this baggage. So, if I have done a bit too much "destroying" then let me know. Keep the swearing to a minimum :) One bit I didn't do is the ubibt code. Chris, can you look at that? Heaps of unused functions there. Can they be made static?
* use /swat/ prefix in both inetd and cgi modes, to enable a static header.htmlAndrew Tridgell1998-09-021-14/+4
|
* More abstraction of file system data types, to move to a 64Jeremy Allison1998-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | bit file interface for the NT SMB's. Created a new define, SMB_STRUCT_STAT that currently is defined to be struct stat - this wil change to a user defined type containing 64 bit info when the correct wrappers are written for 64 bit stat(), fstat() and lstat() calls. Also changed all sys_xxxx() calls that were previously just wrappers to the same call prefixed by a dos_to_unix() call into dos_xxxx() calls. This makes it explicit when a pathname translation is being done, and when it is not. Now, all sys_xxx() calls are meant to be wrappers to mask OS differences, and not silently converting filenames on the fly. Jeremy.
* fixed a bug in the base64 hanlding that led to auth failures for someAndrew Tridgell1998-09-011-2/+6
| | | | passwords with SWAT
* configure: Changes for extra headers.Jeremy Allison1998-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configure.in: Source for header changes. client/clitar.c: Fixed isXXX macros & debugs for gcc pedantic compile. include/config.h.in: Added MEMSET, BZERO, MEMORY, RPCSVC_YPCLNT, STRINGS headers. include/includes.h: Headers for the above. include/smb.h: Made SIGNAL_CAST POSIX by default void (*)(int). lib/access.c: Fixed isXXX macros & debugs for gcc pedantic compile. lib/charset.c: Fixed isXXX macros & debugs for gcc pedantic compile. lib/debug.c: Fixed signal functs. lib/kanji.c: Fixed isXXX macros & debugs for gcc pedantic compile. lib/smbrun.c: Fixed isXXX macros & debugs for gcc pedantic compile. lib/util.c: Fixed isXXX macros & debugs for gcc pedantic compile. libsmb/namequery.c: Fixed isXXX macros & debugs for gcc pedantic compile. locking/shmem.c: Fixed isXXX macros & debugs for gcc pedantic compile. locking/shmem_sysv.c: Fixed error messages in sysV stuff. nmbd/asyncdns.c: Fixed signal functs. nmbd/nmbd.c: Fixed isXXX macros & debugs for gcc pedantic compile. passdb/passdb.c: Fixed isXXX macros & debugs for gcc pedantic compile. passdb/smbpassfile.c: Fixed isXXX macros & debugs for gcc pedantic compile. smbd/chgpasswd.c: Fixed isXXX macros & debugs for gcc pedantic compile. smbd/ipc.c: Fixed isXXX macros & debugs for gcc pedantic compile. smbd/nttrans.c: Fixed fsp code path. smbd/password.c: fixed HAVE_YP_GET_DEFAULT_DOMAIN problem. smbd/printing.c: Fixed isXXX macros & debugs for gcc pedantic compile. smbd/reply.c: Fixed isXXX macros & debugs for gcc pedantic compile. smbd/server.c: Fixed isXXX macros & debugs for gcc pedantic compile. smbd/trans2.c: Fixed core dump bug. smbd/uid.c: Fixed isXXX macros & debugs for gcc pedantic compile. Jeremy.
* split the system password checking routines out of smbd/password.c andAndrew Tridgell1998-08-101-1/+1
| | | | | into passdb/pass_check.c. This means SWAT no longer needs to link to smbd/password.c
* This is a security audit change of the main source.Jeremy Allison1998-05-121-5/+5
| | | | | | | | | | | | | | | | | | It removed all ocurrences of the following functions : sprintf strcpy strcat The replacements are slprintf, safe_strcpy and safe_strcat. It should not be possible to use code in Samba that uses sprintf, strcpy or strcat, only the safe_equivalents. Once Andrew has fixed the slprintf implementation then this code will be moved back to the 1.9.18 code stream. Jeremy.
* Getting ready for first Red Hat Linux RPMs for 1.9.19 pre-alpha releaseJohn Terpstra1998-03-211-1/+1
|
* changed the method used for auto-reload on the status page to useAndrew Tridgell1998-03-181-1/+13
| | | | JavaScript. This avoids the nasty inetd problem.
* when CGI_LOGGING is on log the host name and IPAndrew Tridgell1998-03-171-1/+3
| | | | this is just so I can snoop on who is looking at the demo :-)
* this isn't a big commit, it just looks like it :-)Andrew Tridgell1998-03-171-0/+21
| | | | | | | | | I needed the client_name() and client_addr() functions in swat so I could tell who was connecting from where. The problem was that these functions didn't take a file descriptor parameter they just used the global "Client". So I needed to change all calls to pass a parameter ... lots of files.
* fixed support for running swat via cgi-binAndrew Tridgell1998-03-141-7/+43
|
* use password_ok() instead of calling crypt()Andrew Tridgell1998-03-121-11/+2
|
* added Date and Expires headers in the mini web server so clients knowAndrew Tridgell1998-03-101-10/+25
| | | | what they can cache.
* - remove redundent strstr()Andrew Tridgell1998-03-081-5/+0
| | | | - don't show printers in shares page
* allow for non-authenticated SWAT for demo purposesAndrew Tridgell1998-03-081-2/+2
|
* Jeremy is going to hate me ...Andrew Tridgell1998-03-081-2/+11
| | | | | | | | These are some hacks on SWAT. Maybe users will actually be able to work out how to use it now. Unfortunately these changes required some editing in loadparm.c and smb.h which will make Jeremys merge job harder. Sorry!
* This is *not* a big change (although it looks like one).Jeremy Allison1998-01-221-1/+1
| | | | | | | This is merely updating the Copyright statements from 1997 to 1998. It's a once a year thing :-). NO OTHER CHANGES WERE MADE. Jeremy.
* propogate my cgi changes to the main branchAndrew Tridgell1998-01-121-1/+1
|
* minor wsmbconf and cgi changesAndrew Tridgell1997-11-231-2/+17
|
* this new cgi code includes the ability to act as a mini web server,Andrew Tridgell1997-11-221-67/+510
| | | | | allowing people to use web configuration of Samba without installing a web server
* cgi.c is a simple set of CGI manipulation routinesAndrew Tridgell1997-09-111-0/+163
wsmbconf.c is a rudimentary web based smb.conf editor. Its really there just to demonstrate how such an editor can hook into loadparm.c, I don't expect anyone to actually use it as is. wsmbstatus.c is a simple web based smbstatus. Its probably broken.