summaryrefslogtreecommitdiffstats
path: root/source/web/swat.c
Commit message (Collapse)AuthorAgeFilesLines
* don't show create printer entries on printers page if you don't have haveHerb Lewis1999-01-121-4/+6
| | | | write access.
* Makefile.in configure configure.in include/config.h.in: Added -c -o fixes ↵Jeremy Allison1998-12-291-0/+4
| | | | | | | from Tim Rice. utils/smbpasswd.c web/swat.c: Added set_auth_parameters() call where needed for OSF1_ENC_SEC. Jeremy.
* swat.c 1. fixed bug where non-default parameters were not beingHerb Lewis1998-12-181-8/+38
| | | | | | | | | | | | | | | | | | shown in basic view of shares and printers pages. 2. Rearranged shares and printers pages so delete button is near dropdown (since it applies to value in dropdown) Added Reset Values button when share is selected. 3. Added note at beginning of printers page and flagged the auto loaded printers in the dropdown. Still need reference in man page that explains options better. 4. Don't show create and delete options if don't have write access in printers and shares page. statuspage.c Don't show start/stop/restart buttons or kill button if not root.
* include/includes.h: Added MAXHOSTNAMELEN in case it wasn't defined.Jeremy Allison1998-12-171-9/+9
| | | | | web/swat.c: Re-arranged static function to remove compile warning. Jeremy.
* loadparm.c added function to reset number of services (for swat)Herb Lewis1998-12-161-4/+9
| | | | | swat.c fixed create new share and printer proto.h new function in loadparm.c
* fix globals page broken by my last checkinHerb Lewis1998-12-151-2/+4
| | | | (that will teach me to check in anything while I am sick).
* smb.h add new FLAG_SHARE to indicate which parameters are usedHerb Lewis1998-12-141-1/+3
| | | | | | | on share page loadparm.c added FLAG_SHARE and FLAG_PRINT to various parameters to tell swat which page these belong to swat.c only print parameters marked on printers and shares pages
* need to reload auto printer services on a save_reloadHerb Lewis1998-12-111-0/+2
|
* Makefile.in added PRINTER_OBJ to SWAT_OBJ so swat canHerb Lewis1998-12-101-9/+17
| | | | | | | | | | | | | | enumerate printers param/loadparm.c added parameter to lp_dump to limit number of items dumped. Pulled real dump code into new function lp_dump_one so it can be called by swat utils/testparm.c extra parameter added for lp_dump call web/statuspage.c got rid of extra > being printed when smbd not running web/swat.c allow auto loaded printers to be enumerated in printer page include/proto.h changed number of parameters in lp_dump and new function lp_dump_one defined.
* allow initial creation of smb.conf with SWATAndrew Tridgell1998-12-101-6/+13
|
* don't allow users to view the smb.conf unless they have read accessAndrew Tridgell1998-12-101-15/+21
|
* Added SWAT updates from HEAD.Jeremy Allison1998-11-281-20/+24
| | | | Jeremy.
* One more cut'n'paste bug. (Ooops).Jeremy Allison1998-11-211-1/+1
| | | | Jeremy.
* smbd/password.c: Fixed the HEAD branch changes that accidentally got propagated.Jeremy Allison1998-11-211-13/+6
| | | | | web/cgi.c web/swat.c: Updated with Andrew's latest fix. Jeremy.
* smbd/password.c: Even though the password server is supposed to be a NetBIOS ↵Jeremy Allison1998-11-211-1/+1
| | | | | | | | | name, allow a longer name and use a called name of *SMBSERVER is so. web/swat.c: Changed hideous '?' help to a 'help<6 spaces> link. Looks *so* much nicer :-). Jeremy.
* Changed (most) open()/fopen()/creat()/mmap() calls to use sys_XXX() instead.Jeremy Allison1998-11-171-3/+3
| | | | | | 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.
* - new prototypesAndrew Tridgell1998-11-141-3/+16
| | | | | - much as I hate doing it I've removed the "commit changes" button for users that don't have write access to smb.conf (Jeremy insisted)
* allow all user to view the configAndrew Tridgell1998-11-141-36/+22
|
* remove code that allows installation via cgiAndrew Tridgell1998-11-141-1/+1
| | | | swat will now give an error message if run via cgi
* Makefile.in configure configure.in include/config.h.in: Changes for DGUX and ↵Jeremy Allison1998-11-131-9/+9
| | | | | | | | | | | | | | UNIXWARE. groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf. include/includes.h: Fix YP problem. include/smb.h: Fix ZERO_STRUCTP. lib/util_sock.c: Added strerror() in debugs. passdb/ldap.c: Don't use snprinf, use slprintf. rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf. script/installman.sh: DGUX changes. smbd/open.c smbd/oplock.c: Fixed gcc warnings. web/swat.c: Changes USER to SWAT_USER.
* %\ is an interesting printf argument, but I prefer %sAndrew Tridgell1998-11-121-1/+1
|
* Removed code that used printf/fprintf in password changin libraries.Herb Lewis1998-11-121-3/+19
| | | | Now passes strings instead.
* .cvsignore: Removed old entries.Herb Lewis1998-11-121-21/+24
| | | | | | | | | | | | client/client.c: include/client.h: Added some debug messages that the old client used to generate. These are needed to make scripts such as 'findsmb' work - there may be other changes to keep backwards output compatibility. Do we need a -old-client-compat argument ? libsmb/clientgen.c: Fixed crash bug where malloc'ed data wasn't being cleared - corrupted malloc chains. web/swat.c: John's changes to get rid of "ghost" table entries.
* changes from John Sygulla for changing remote passwordsHerb Lewis1998-11-121-17/+79
|
* handle null usernamesAndrew Tridgell1998-11-121-8/+5
|
* show all buttons in demo modeAndrew Tridgell1998-11-121-1/+1
|
* fixed demo modeAndrew Tridgell1998-11-121-5/+10
|
* extracted the password change code from smbpasswd and used it in swatAndrew Tridgell1998-11-121-299/+54
| | | | instead of opening pipes and other horrible stuff.
* Added the security changes suggested by Andrew - become theJeremy Allison1998-11-121-71/+45
| | | | | user that authenticated to swat permanently (if not root). Jeremy.
* Added enable user button. Fixed bug where log was always printed.Jeremy Allison1998-11-121-5/+15
| | | | Jeremy.
* changed is_root() to am_root() to prevent clash with variable names.Andrew Tridgell1998-11-111-11/+9
|
* rpc_server/srv_netlog.c: Fixed crash bug with ACB_PWNOTREQ.Jeremy Allison1998-11-111-5/+3
| | | | | | 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-54/+501
|
* 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
* replace getpass() with getsmbpass() if getsmbpass.c compilesAlexandre Oliva1998-09-211-1/+1
|
* use /swat/ prefix in both inetd and cgi modes, to enable a static header.htmlAndrew Tridgell1998-09-021-5/+4
|
* 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 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 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.
* 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-081-19/+110
| | | | | | | | | | | 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.
* 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.
* oops, I got the sense of the show_defaults parameter to lp_dump()Andrew Tridgell1998-03-171-1/+1
| | | | wrong.
* this isn't a big commit, it just looks like it :-)Andrew Tridgell1998-03-171-0/+1
| | | | | | | | | 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-171-7/+28
| | | | | - added the ability to auto-refresh the status page. There is a problem with this (it can kill inetd!). Hopefully we can fix that.
* - added the ability to kill off individual connections from SWAT (fromAndrew Tridgell1998-03-151-137/+0
| | | | | | | | | 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