summaryrefslogtreecommitdiffstats
path: root/source3/web
Commit message (Collapse)AuthorAgeFilesLines
* Added the security changes suggested by Andrew - become theJeremy Allison1998-11-122-79/+107
| | | | | | user that authenticated to swat permanently (if not root). Jeremy. (This used to be commit 7d55bf379177a4a448e39577ae0af603d5e958f6)
* Added enable user button. Fixed bug where log was always printed.Jeremy Allison1998-11-121-5/+15
| | | | | Jeremy. (This used to be commit 43ddc857793ffe507017fc989d60403e33e2ada3)
* changed is_root() to am_root() to prevent clash with variable names.Andrew Tridgell1998-11-112-13/+11
| | | | (This used to be commit 52f47b8d2ef5ee64e2f8dcfeb6840071e57904d1)
* J.F.'s latest printer fixes plus his gcc -picky fix for web/cgi.cJeremy Allison1998-11-111-1/+1
| | | | | Jeremy. (This used to be commit bd4e2972f50cafd932a5c915cdeeef7eedda07cc)
* rpc_server/srv_netlog.c: Fixed crash bug with ACB_PWNOTREQ.Jeremy Allison1998-11-112-7/+5
| | | | | | | 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. (This used to be commit 80e0f7e1071f032c5004aecb01a91d1397e6a161)
* added password change functionality to swatHerb Lewis1998-11-112-60/+534
| | | | (This used to be commit 06d4026cf1521766b52766193774f1fd8dd70c81)
* swat.c updated to use new yodl generated smb.conf.5.html file for helpHerb Lewis1998-11-111-5/+17
| | | | | added smb.conf.5.html to swat/help (This used to be commit 9f250a80c66fb3e2b9039218771f0b4d5088a0ae)
* report ourselves as HTTP/1.0 not HTTP/1.1Andrew Tridgell1998-10-261-3/+3
| | | | (This used to be commit b2210614e810c8e84c9a14a8e32e05f95d92479b)
* get away with dummy and .dummy filesAlexandre Oliva1998-09-291-1/+0
| | | | (This used to be commit 90a8a02484a0897b053fd6531b7fec5d23098b6f)
* Changes to test in configure if capabilities are enabled on a system.Jeremy Allison1998-09-282-5/+3
| | | | | | | | | | | 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. (This used to be commit e0567433bd72aec17bf5a54cc292701095d25f09)
* automated generation of .dummy files for each subdirectory;Alexandre Oliva1998-09-281-1/+0
| | | | | | dummy.in files are no longer needed, and new directories will be taken care of automatically, at configure (or config.status --recheck) time (This used to be commit 237a8e5fe62d757c04b8207cbbee4df1470cfe4e)
* replace getpass() with getsmbpass() if getsmbpass.c compilesAlexandre Oliva1998-09-211-1/+1
| | | | (This used to be commit 9a5bdf5c1bef689fe0d6879949df869efbc34783)
* major autoconf clean-upAlexandre Oliva1998-09-211-0/+1
| | | | | fix problems in builds with srcdir!=builddir (This used to be commit 1ffc3b807a3f80644c974b454ff5e6f68e89b546)
* 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? (This used to be commit 2204475c87f3024ea8fd1fbd7385b2def617a46f)
* use /swat/ prefix in both inetd and cgi modes, to enable a static header.htmlAndrew Tridgell1998-09-022-19/+8
| | | | (This used to be commit ddb788c24d043b18506138a7759b8128df1673aa)
* 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. (This used to be commit 28aa182dbffaa4ffd86047e608400de4b26e80eb)
* spruced up SWAT a bit - it now uses the new Samba logo at the top andAndrew Tridgell1998-09-011-21/+27
| | | | | a table to give it a little border (This used to be commit d35c6e80988d96049d4624b47ae9ea015edafc59)
* fixed a bug in the base64 hanlding that led to auth failures for someAndrew Tridgell1998-09-011-2/+6
| | | | | passwords with SWAT (This used to be commit edcde70108ab643a29f3e0e0cc97609287da6e87)
* this checkin gets rid of the global Files[] array and makes it localAndrew Tridgell1998-08-151-1/+0
| | | | | | | | in files.c it should now be faily easy to expand the default MAX_OPEN_FILES to many thousands. (This used to be commit b088c804f98908eb02f05ab2f2e8a61691a0a582)
* 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. (This used to be commit 1b9cbcd02e575dc0a95fa589f720df30a4acc46b)
* this is the bug change to using connection_struct* instead of cnum.Andrew Tridgell1998-08-141-2/+0
| | | | | | | | | Connections[] is now a local array in server.c I might have broken something with this change. In particular the oplock code is suspect and some .dll files aren't being oplocked when I expected them to be. I'll look at it after I've got some sleep. (This used to be commit c7ee025ead4a85b6fa44a832047b878451845fb6)
* 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 used to be commit 90d93889d722670cbb517017531264630af759bf)
* some merge cleanupsAndrew Tridgell1998-07-291-0/+0
| | | | (This used to be commit 1d655b7c64231b0aec0548bb90fc3dcc3f37791c)
* merge from the autoconf2 branch to the main branchAndrew Tridgell1998-07-291-0/+1
| | | | (This used to be commit 3bda7ac417107a7b01d91805ca71c4330657ed21)
* 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. (This used to be commit 2d774454005f0b54e5684cf618da7060594dfcbb)
* 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. (This used to be commit 6b0c1733d2ebf3b8f09f3bf88b8648d8b371bb1f)
* 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. (This used to be commit 61c1dbb9785ed1e6fe40f93c7cc65024884df6f5)
* 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. (This used to be commit a6edde4f004d3ba65d938acd3e6e094664a6c468)
* 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. (This used to be commit 5d3e874d780d595415cc27a7f5945fc2e694c3ac)
* Getting ready for first Red Hat Linux RPMs for 1.9.19 pre-alpha releaseJohn Terpstra1998-03-211-1/+1
| | | | (This used to be commit 4e424d0ba652bf9c5dfd3c44216b6145538cf821)
* 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. (This used to be commit 112cf61cb6c24b7ea6d2d9a3cf96f68bf1c44560)
* 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. (This used to be commit 4c04e1d2aea64ba0b53846c04235669eef0b28ca)
* 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. (This used to be commit 9d9b13880963a0e3cf5213ce2a24c52f4a11a472)
* oops, I got the sense of the show_defaults parameter to lp_dump()Andrew Tridgell1998-03-171-1/+1
| | | | | wrong. (This used to be commit b92c3b13d74acb39cdbd2c70eab2ef081c344d5a)
* 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 used to be commit 78abb9fec3aac235ad26d0192351dc81ade6c584)
* 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. (This used to be commit a776058900a727591bd7b69debdaa25c0e31d693)
* - 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. (This used to be commit 4488d8932fa072bf8a3ae236ab666618051b5e83)
* show full path in ps by setting it in argv[0]Andrew Tridgell1998-03-171-2/+2
| | | | (This used to be commit 89a4dc6cf9175d5fcdd827d90e4fed26576a4570)
* fixed call to execl() to get argv[0] right (thanks to Herb)Andrew Tridgell1998-03-171-2/+2
| | | | (This used to be commit aaa4db4de3eb16d50d0263c8e69ace6217355f11)
* changed the date formattingAndrew Tridgell1998-03-151-3/+11
| | | | (This used to be commit 57aa1db47cda9c625cd1ef742fece14d14590590)
* - 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 (This used to be commit c634b799874795d42dae28fb4440ea452dc89b1b)
* safer killing of connections - it ensures the process is still a validAndrew Tridgell1998-03-151-7/+13
| | | | | smbd when killing (This used to be commit 78675036e81e2cde7209d9e68956d71ef6661137)
* - 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 (This used to be commit abd4a17e21d12be3d1747e94ceb1915abaf135e3)
* a smaller backgroundAndrew Tridgell1998-03-151-1/+1
| | | | (This used to be commit bcec95740f96aa4a3b022f41e2167cc74afeea92)
* added a background image based on Pauls SAMBA logo but manipulated aAndrew Tridgell1998-03-141-1/+1
| | | | | little with GIMP (This used to be commit 57f4dfcbf307ad4e261e59f0545d500b3bae71e5)
* new files to support starting/stopping the serverAndrew Tridgell1998-03-142-0/+160
| | | | (This used to be commit 087981009d57006ff80a0cf50891d4473f86f1bb)
* 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. (This used to be commit 20bb22d61b986d2036c681fc33db60f2b2b3c1c7)
* 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. (This used to be commit b0e1183b2cbeb7a3150b7250cd19d14c9e5508b6)
* - added separatorsAndrew Tridgell1998-03-141-13/+43
| | | | | - added "view config" button (This used to be commit 486a059fe169baedc605ee9bc0a0ca5a4165fe65)
* another fix for running under cgi-binAndrew Tridgell1998-03-141-2/+2
| | | | (This used to be commit 6e2248532a063a83b682c967a65377488810f9eb)