summaryrefslogtreecommitdiffstats
path: root/source/web
Commit message (Collapse)AuthorAgeFilesLines
* This is a security audit change of the main source.Jeremy Allison1998-05-123-9/+9
| | | | | | | | | | | | | | | | | | 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.
* changed to use slprintf() instead of sprintf() just aboutAndrew Tridgell1998-05-111-1/+1
| | | | | | | everywhere. I've implemented slprintf() as a bounds checked sprintf() using mprotect() and a non-writeable page. This should prevent any sprintf based security holes.
* clitar.c: #ifdef'ed out all the bits that were giving 'defined but not used'Jeremy Allison1998-05-081-5/+5
| | | | | | | | | messages. nttrans.c: More updates. smb.h: Removed stuff that didn't belong in the smb_passwd struct. Persuaded Luke to use a new structure. web/swat.c: Fixed gcc complaints about shadowing global 'string'. Jeremy.
* The globals section now shows non-default variables (like theHerb Lewis1998-05-082-23/+125
| | | | | | | | | | | view config section does) in the basic view. There is also a reset button to undo all changes you have made (that haven't been committed). In addition each field now has a "Set Default" button. Multi-choice fields are now select fields instead of a set of radio buttons. On the status screen I added a "restart" option for stopping then starting smbd and nmbd.
* Added patch from Bruce Tenison <btenison@dibbs.net> to allow encryptedJeremy Allison1998-04-301-0/+2
| | | | | | | | passwords to be stored over time, allowing a smbpasswd file migration. Adds new parameter "update encrypted". Will also add to 1.9.18 branch. Docs update to follow. Jeremy.
* Getting ready for first Red Hat Linux RPMs for 1.9.19 pre-alpha releaseJohn Terpstra1998-03-211-1/+1
|
* don't set the Expires header on any page generated from a POST. ThisAndrew Tridgell1998-03-181-1/+3
| | | | | stops the "POST data has expired" problem when using the back button in netscape.
* moved the refresh script to the end of the page so that silly thingsAndrew Tridgell1998-03-181-9/+12
| | | | like a refresh of 0 actually work.
* changed the method used for auto-reload on the status page to useAndrew Tridgell1998-03-182-6/+22
| | | | JavaScript. This avoids the nasty inetd problem.
* oops, I got the sense of the show_defaults parameter to lp_dump()Andrew Tridgell1998-03-171-1/+1
| | | | wrong.
* 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-172-0/+22
| | | | | | | | | 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.
* - added "Full View"/"Normal View" on the "view config" pageAndrew Tridgell1998-03-172-7/+61
| | | | | - added the ability to auto-refresh the status page. There is a problem with this (it can kill inetd!). Hopefully we can fix that.
* show full path in ps by setting it in argv[0]Andrew Tridgell1998-03-171-2/+2
|
* fixed call to execl() to get argv[0] right (thanks to Herb)Andrew Tridgell1998-03-171-2/+2
|
* changed the date formattingAndrew Tridgell1998-03-151-3/+11
|
* - claim the null connection after the session request to mak sure weAndrew Tridgell1998-03-151-9/+10
| | | | | | have the netbios name - fix another kill connection bug
* safer killing of connections - it ensures the process is still a validAndrew Tridgell1998-03-151-7/+13
| | | | smbd when killing
* - added the ability to kill off individual connections from SWAT (fromAndrew Tridgell1998-03-153-137/+205
| | | | | | | | | the status page) - split the claim_connection() code into its own file - fixed the claim_connection() code to lock the file when manipulating it - always claim a null connection at startup - fixed a bug in the pidfile code
* a smaller backgroundAndrew Tridgell1998-03-151-1/+1
|
* added a background image based on Pauls SAMBA logo but manipulated aAndrew Tridgell1998-03-141-1/+1
| | | | little with GIMP
* new files to support starting/stopping the serverAndrew Tridgell1998-03-142-0/+160
|
* added the ability to start/stop the server from SWAT.Andrew Tridgell1998-03-141-3/+46
| | | | | | | | I needed to modify the way the pidfile is handled in nmbd and smbd to do this. Jeremy, you may wish to look at what I've done as it probably breaks the Whistle use of pidfiles. In particular I've removed the -f option and instead smbd and nmbd always create a pidfile in the lock directory.
* if a local parameter is changed at the global level then propogate theAndrew Tridgell1998-03-141-1/+23
| | | | change to all shares that are currently set to the default value.
* - added separatorsAndrew Tridgell1998-03-141-13/+43
| | | | - added "view config" button
* another fix for running under cgi-binAndrew Tridgell1998-03-141-2/+2
|
* fixed support for running swat via cgi-binAndrew Tridgell1998-03-142-10/+50
|
* use password_ok() instead of calling crypt()Andrew Tridgell1998-03-121-11/+2
|
* added status page to SWAT. Similar to smbstatus output but in a HTMLAndrew Tridgell1998-03-101-2/+109
| | | | table
* added a "home" iconAndrew Tridgell1998-03-101-0/+1
|
* added Date and Expires headers in the mini web server so clients knowAndrew Tridgell1998-03-102-10/+26
| | | | what they can cache.
* - remove redundent strstr()Andrew Tridgell1998-03-082-6/+1
| | | | - don't show printers in shares page
* allow for non-authenticated SWAT for demo purposesAndrew Tridgell1998-03-082-5/+8
|
* Jeremy is going to hate me ...Andrew Tridgell1998-03-082-2/+494
| | | | | | | | 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.