summaryrefslogtreecommitdiffstats
path: root/source/web/swat.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-9/+9
| | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy.
* We don't need P_GSTRING or P_UGSTRING anymore.Jeremy Allison2007-12-071-15/+0
| | | | Jeremy.
* Remove some globalsVolker Lendecke2007-12-051-5/+12
|
* Make strhex_to_str clear on string limits. Remove pstring from web/*.cJeremy Allison2007-12-031-40/+59
| | | | Jeremy.
* Make remote_password_change return malloced error stringsVolker Lendecke2007-11-231-3/+4
| | | | This fixes a segfault in smbpasswd -r
* Remove pstrings from pam_smbpass - make local_password_changeJeremy Allison2007-11-211-6/+8
| | | | | return malloced strings. Jeremy.
* More pstring removal. This one was tricky. I had to addJeremy Allison2007-11-151-0/+3
| | | | | | one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy.
* Fix the popt / bool issues. Some places we used BOOLJeremy Allison2007-10-191-2/+2
| | | | | | where we meant int. Fix this. Thanks to metze for pointing this out. Jeremy.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-15/+15
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* r24701: Fix the swat buildVolker Lendecke2007-10-101-0/+25
| | | | | | | Swat has not been built by default for a while, so I did not notice that the _ macro is actually used. Re-add the lang_msg_rotate function, this time only to swat so that this is the only binary that has to take the 16k penalty.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r21784: Replace smb_register_idle_event() with event_add_timed(). This fixes ↵Volker Lendecke2007-10-101-1/+1
| | | | | | | | winbind who did not run the idle events to drop ldap connections. Volker
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-1/+1
| | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
* r16426: Klocwork #1544, #1545, #1546, #1549, #1550, #1552, #1553, #1554Jeremy Allison2007-10-101-20/+20
| | | | Jeremy.
* r15465: Fix segfault in SWAT.Deryck Hodge2007-10-101-0/+2
| | | | | | Fixes bug #3702. deryck
* r14255: Revert r14204 which was horribly broken.James Peach2007-10-101-0/+15
|
* r14204: Remove the basically unused P_GSTRING and P_UGSTRINGJames Peach2007-10-101-15/+0
| | | | parameter types.
* r13383: pulling in swat-welcome patch from SuSE packagingGerald Carter2007-10-101-1/+5
|
* r13316: Let the carnage begin....Gerald Carter2007-10-101-3/+3
| | | | Sync with trunk as off r13315
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2007-10-101-1/+1
| | | | | | | | | | | | lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.)
* r13140: Fix swat - make sure it can list running services (ensure loopback_ip)Jeremy Allison2007-10-101-0/+1
| | | | | is defined. Jerry - this needs to be in 3.0.21b. Jeremy.
* r12522: Try and fix bug #2926 by removing setlocale(LC_ALL, "C")Jeremy Allison2007-10-101-1/+1
| | | | | | and replace calls to isupper/islower/toupper/tolower with ASCII equivalents (mapping into _w variants). Jeremy.
* r12393: cleaning up swat bugs. *no one* tests swat it seems. This has been ↵Gerald Carter2007-10-101-100/+42
| | | | broken since r10656
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-42/+100
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r9790: remove 'set but not used' variables (reported by Jason Mader)Gerald Carter2007-10-101-3/+2
|
* r9266: fix help links in swat editor after doc layout changesGerald Carter2007-10-101-2/+2
|
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2007-10-101-5/+5
| | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy
* r6959: Meant to fix this before commiting, just to be consistent.Deryck Hodge2007-10-101-1/+1
| | | | deryck
* r6958: Properly display quotes in SWAT. Thanks to JayDeryck Hodge2007-10-101-2/+22
| | | | | | Fenlason <fenlason@redhat.com> for spotting this issue. deryck
* r6395: Fix for Bug 2137, from Jay Fenlason <fenlason@redhat.com>Deryck Hodge2007-10-101-4/+4
| | | | | | Encode quotes for display in HTML. deryck
* r5179: Add -P (password-menu-only) option to swat. Admins can allow usersDeryck Hodge2007-10-101-1/+4
| | | | | | | to use swat to change their password without allowing them to see the "View" and "Status" buttons. deryck
* r4369: Patch for bug #2190 (SWAT displaying parameters in UNIX charset)Jeremy Allison2007-10-101-6/+18
| | | | | not utf8. Fixed by Shiro Yamada <shiro@miraclelinux.com>. Jeremy.
* r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid ofTim Potter2007-10-101-1/+1
| | | | | '..' from all #include preprocessor commands. This fixes bugzilla #1880 where OpenVMS gets confused about the '.' characters.
* r2771: Second (and last) part of Swat-i18n-Patch from Björn JackeGünther Deschner2007-10-101-227/+230
| | | | | | | | | | | | | <bjacke@sernet.de> "Do not use display charset for swat output. In HTML we do not care about the "locale charmap" because HTML code is UTF-8 only now. Additionally take care that we convert files from statuspage from unix charset to UTF-8. Thus we have correct HTML output under all circumstances. We now also convert the share names correctly from unix encoding to web encoding and vice vera. " Guenther
* r492: BUG 483: patch from Michel Gravey <michel.gravey@optogone.com> to fix ↵Gerald Carter2007-10-101-1/+4
| | | | password hash creation in SWAT
* printf -> d_printfTim Potter2004-02-211-1/+1
| | | | Bugzilla #1066.
* This should be the correct fix for the lack of a prototype forAndrew Bartlett2004-02-041-6/+0
| | | | | | | | remote_password_change(). Sorry for the original bug. Andrew Bartlett
* fix problems with proto.hGerald Carter2004-02-021-1/+1
|
* remerge andrew's cracklib patch from HEAD and fix a compile warningsGerald Carter2004-02-021-0/+7
|
* Ensure that items in a list of strings containing whitespaceGerald Carter2003-11-221-2/+10
| | | | | | | | | | | are written out surrounded by single quotes. This means that both double and single quotes are now used to surround strings in smb.conf. This is a slight change from the previous behavior but needed or else things like printer admin = +ntadmin, 'VALE\Domain, Admin' get written to smb.conf by SWAT.
* Moving towards better i18n support in SWAT. This commit contains aTim Potter2003-10-031-67/+72
| | | | | | | | | | | | | | | | | | | | | | bunch of updates to bug 413 from Monyo: 1) pick up proper strings to call msg strings for example to add strings in wizard menu in web/swat.c, web/statuspage.c and param/loadparm.c. 2) define N_() macro in include/intl.h to pick up some strings in param/loadparm.c 3) quote all name and value tag with '"' For example in swat.c:720 the "Edit Parameter Values" string is displayd only as "Edit" because value tag is not quoted like: value=Edit Parameter Values These tags should be quoted though it sometimes works well without quotation. 4) modify the msg strings not to contain HTML tags or other non-message strings. For example dprintf(_("test\n")); is modified to dprintf("%s\n", _("test"));
* More bug #413. Fix bad html table row termination in SWAT wizard code found byTim Potter2003-09-261-4/+3
| | | | Monyo. Also remove debugging d_printf() which snuck in the last commit.
* Change title of SWAT globals page from 'Global Variables' to 'GlobalTim Potter2003-09-261-1/+3
| | | | Parameters' to be more consistent with the other pages.
* - Update 'preload modules' documention (bug #304)Jelmer Vernooij2003-08-191-1/+10
| | | | | - Fix WINS Server List in SWAT (bug #197) - Don't segfault SWAT when adding shares (bug #254)
* Cleanup of loadparm and swat to correctly display all parameters as required.John Terpstra2003-07-281-26/+9
| | | | | No change to what is displayed has been made at this time. I do intend to change the display order before 3.0.0 ships.
* Add buttons to Printers ViewJohn Terpstra2003-07-271-0/+10
|
* Format tidy up.John Terpstra2003-07-261-6/+5
|
* Added buttons to change view mode. Fixes bug #212John Terpstra2003-07-261-1/+17
|
* convert snprintf() calls using pstrings & fstringsGerald Carter2003-07-231-2/+2
| | | | | | to pstr_sprintf() and fstr_sprintf() to try to standardize. lots of snprintf() calls were using len-1; some were using len. At least this helps to be consistent.