summaryrefslogtreecommitdiffstats
path: root/source3/web/swat.c
Commit message (Collapse)AuthorAgeFilesLines
* s3/swat: Fix creation of the first share using SWAT.Volker Lendecke2009-01-061-1/+1
| | | | This fixes bug #5965.
* Fix more "ignore return value" warnings from gcc 4.3.Jeremy Allison2008-12-301-3/+5
| | | | Jeremy
* s3:loadparm: rename lp_local_ptr() to lp_local_ptr_by_snum()Michael Adam2008-12-151-2/+2
| | | | Michael
* Use str_list_equal() rather than str_list_compare().Jelmer Vernooij2008-10-181-1/+2
|
* Use separate make variables for libutil and libcrypto.Jelmer Vernooij2008-10-181-2/+2
|
* Fix swat. Bug #5613.Jeremy Allison2008-07-151-13/+18
| | | | | Jeremy (This used to be commit 15920f838835f5dbbac8712202267c2a99237686)
* Fix empty input fields in SWAT; [#5515].Andreas Schneider2008-06-031-4/+4
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit e1579c90fb27c07f95889dd8778daeef53e2ac16)
* Cleanup size_t return values in callers of convert_string_allocateTim Prouty2008-05-201-6/+8
| | | | | | This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)
* Add a talloc context parameter to current_timestring() to fix memleaks.Michael Adam2008-03-281-1/+5
| | | | | | | | | | | | | | current_timestring used to return a string talloced to talloc_tos(). When called by DEBUG from a TALLOC_FREE, this produced messages "no talloc stackframe around, leaking memory". For example when used from net conf. This also adds a temporary talloc context to alloc_sub_basic(). For this purpose, the exit strategy is slightly altered: a common exit point is used for success and failure. Michael (This used to be commit 16b5800d4e3a8b88bac67b2550d14e0aaaa302a9)
* loadparm: add convenience wrapper lp_kill_all_services()Michael Adam2008-03-121-1/+1
| | | | | Michael (This used to be commit 32bfd131e33d06be9dfaef02b57f5401d2bc7639)
* 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. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
* We don't need P_GSTRING or P_UGSTRING anymore.Jeremy Allison2007-12-071-15/+0
| | | | | Jeremy. (This used to be commit 78dc75600099b5b3b5a8ecffec747a227ff51d70)
* Remove some globalsVolker Lendecke2007-12-051-5/+12
| | | | (This used to be commit 31d0a846db08d845e6cdfd85def4ac1c34031e02)
* Make strhex_to_str clear on string limits. Remove pstring from web/*.cJeremy Allison2007-12-031-40/+59
| | | | | Jeremy. (This used to be commit f9c8d62389f8cb47837e5360209936176537df13)
* Make remote_password_change return malloced error stringsVolker Lendecke2007-11-231-3/+4
| | | | | This fixes a segfault in smbpasswd -r (This used to be commit 49949f0b85007c7c2b3c340c12f3d18909862135)
* Remove pstrings from pam_smbpass - make local_password_changeJeremy Allison2007-11-211-6/+8
| | | | | | return malloced strings. Jeremy. (This used to be commit f652fe2bdb7a3a36e83dcf4b08347543fdffb9f0)
* 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. (This used to be commit 1ea3ac80146b83c2522b69e7747c823366a2b47d)
* 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. (This used to be commit 793a9d24a163cb6cf5a3a0aa5ae30e9f8cf4744a)
* 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. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* 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. (This used to be commit 191e1ef840c293f8575cc0a3f3ffba2080431fae)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* 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 (This used to be commit af3308ce5a21220ff4c510de356dbaa6cf9ff997)
* 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. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
* r16426: Klocwork #1544, #1545, #1546, #1549, #1550, #1552, #1553, #1554Jeremy Allison2007-10-101-20/+20
| | | | | Jeremy. (This used to be commit e71cc6647a2eaba0eac95b6abb40745e45db72a4)
* r15465: Fix segfault in SWAT.Deryck Hodge2007-10-101-0/+2
| | | | | | | Fixes bug #3702. deryck (This used to be commit 4ad7276cef02b28308446c0eb76ea1190ffe9b05)
* r14255: Revert r14204 which was horribly broken.James Peach2007-10-101-0/+15
| | | | (This used to be commit 950ed28f9f3f57dc449bd3bd6e7be7acb1e3d26d)
* r14204: Remove the basically unused P_GSTRING and P_UGSTRINGJames Peach2007-10-101-15/+0
| | | | | parameter types. (This used to be commit 23328fe6fc5e3b4ed3dc35e1475d661a8593eb1a)
* r13383: pulling in swat-welcome patch from SuSE packagingGerald Carter2007-10-101-1/+5
| | | | (This used to be commit 1b955bbf59e5b11014405d888d58fefbc055ad38)
* r13316: Let the carnage begin....Gerald Carter2007-10-101-3/+3
| | | | | Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
* 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.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
* 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. (This used to be commit 417ef5bffaefee698cbea4b06aff691f01ac56d1)
* 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. (This used to be commit c2752347eb2deeb2798c580ec7fc751a847717e9)
* r12393: cleaning up swat bugs. *no one* tests swat it seems. This has been ↵Gerald Carter2007-10-101-100/+42
| | | | | | broken since r10656 (This used to be commit 85ea7afd8bd30e0a2bcbc7181f75fde63b016a34)
* 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) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
* r9790: remove 'set but not used' variables (reported by Jason Mader)Gerald Carter2007-10-101-3/+2
| | | | (This used to be commit 9c78f3b0d6c36854e082a89cb1ee5b80fcc9fe35)
* r9266: fix help links in swat editor after doc layout changesGerald Carter2007-10-101-2/+2
| | | | (This used to be commit 4d50671602def039034fa03615cc9a205eba89c5)
* 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 (This used to be commit 9506b8e145982b1160a2f0aee5c9b7a54980940a)
* r6959: Meant to fix this before commiting, just to be consistent.Deryck Hodge2007-10-101-1/+1
| | | | | deryck (This used to be commit 3732705605c757d8647efa2731070025f79ab302)
* r6958: Properly display quotes in SWAT. Thanks to JayDeryck Hodge2007-10-101-2/+22
| | | | | | | Fenlason <fenlason@redhat.com> for spotting this issue. deryck (This used to be commit cd12641383c50020104142cad0e705e2b58c50f4)
* r6395: Fix for Bug 2137, from Jay Fenlason <fenlason@redhat.com>Deryck Hodge2007-10-101-4/+4
| | | | | | | Encode quotes for display in HTML. deryck (This used to be commit b9b18a09ea3bf3edba15dc073dd20b195bc6082b)
* 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 (This used to be commit c9cacd553f8e7aa2db011cb7b22dd791b7460ea0)
* 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. (This used to be commit 8de04888097b3e125845340ba1a9a1bb79892e22)
* 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. (This used to be commit 7f161702fa4916979602cc0295919b541912acd6)
* 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 (This used to be commit 6d9f77c2bb95db4939b8ef375e22b188168b70ab)
* r492: BUG 483: patch from Michel Gravey <michel.gravey@optogone.com> to fix ↵Gerald Carter2007-10-101-1/+4
| | | | | | password hash creation in SWAT (This used to be commit 08fc16d7e694213fa1abf81f1e10989888508697)
* printf -> d_printfTim Potter2004-02-211-1/+1
| | | | | Bugzilla #1066. (This used to be commit 2285ec9737d7d1767e60cf43c3a55f10643371be)
* 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 (This used to be commit 955436a6f6d7c2f580b2c4e1edbb7ee2fe5df858)
* fix problems with proto.hGerald Carter2004-02-021-1/+1
| | | | (This used to be commit 5a32f9568f128374df98491b43e6f5b299cb656c)
* remerge andrew's cracklib patch from HEAD and fix a compile warningsGerald Carter2004-02-021-0/+7
| | | | (This used to be commit b60f6ec30d05e4e5bba9934a416ddc8bc089824f)