summaryrefslogtreecommitdiff
path: root/source3/web/swat.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid ofTim Potter1-1/+1
'..' from all #include preprocessor commands. This fixes bugzilla #1880 where OpenVMS gets confused about the '.' characters. (This used to be commit 7f161702fa4916979602cc0295919b541912acd6)
2007-10-10r2771: Second (and last) part of Swat-i18n-Patch from Björn JackeGünther Deschner1-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)
2007-10-10r492: BUG 483: patch from Michel Gravey <michel.gravey@optogone.com> to fix ↵Gerald Carter1-1/+4
password hash creation in SWAT (This used to be commit 08fc16d7e694213fa1abf81f1e10989888508697)
2004-02-21printf -> d_printfTim Potter1-1/+1
Bugzilla #1066. (This used to be commit 2285ec9737d7d1767e60cf43c3a55f10643371be)
2004-02-04This should be the correct fix for the lack of a prototype forAndrew Bartlett1-6/+0
remote_password_change(). Sorry for the original bug. Andrew Bartlett (This used to be commit 955436a6f6d7c2f580b2c4e1edbb7ee2fe5df858)
2004-02-02fix problems with proto.hGerald Carter1-1/+1
(This used to be commit 5a32f9568f128374df98491b43e6f5b299cb656c)
2004-02-02remerge andrew's cracklib patch from HEAD and fix a compile warningsGerald Carter1-0/+7
(This used to be commit b60f6ec30d05e4e5bba9934a416ddc8bc089824f)
2003-11-22Ensure that items in a list of strings containing whitespaceGerald Carter1-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. (This used to be commit 5bf91c79d620e34ac71d72c80f74e47754d49dcb)
2003-10-03Moving towards better i18n support in SWAT. This commit contains aTim Potter1-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")); (This used to be commit 351d16956d8125bc689ca84adcb71e0a57d6b7cc)
2003-09-26More bug #413. Fix bad html table row termination in SWAT wizard code found byTim Potter1-4/+3
Monyo. Also remove debugging d_printf() which snuck in the last commit. (This used to be commit 0192f41003af0f8e8c117cf7eb8ad886b8b03749)
2003-09-26Change title of SWAT globals page from 'Global Variables' to 'GlobalTim Potter1-1/+3
Parameters' to be more consistent with the other pages. (This used to be commit 02725d4a3cff5bf0b676c363200795d4cadecca1)
2003-08-19- Update 'preload modules' documention (bug #304)Jelmer Vernooij1-1/+10
- Fix WINS Server List in SWAT (bug #197) - Don't segfault SWAT when adding shares (bug #254) (This used to be commit dd43a29504fe2b6f9d13cdb9431347927548fc10)
2003-07-28Cleanup of loadparm and swat to correctly display all parameters as required.John Terpstra1-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. (This used to be commit de7d3063d9e07255da2cc4e67afa50c1e2ddf321)
2003-07-27Add buttons to Printers ViewJohn Terpstra1-0/+10
(This used to be commit 805c33b08902d0d02358b624ef9976dd0bde4909)
2003-07-26Format tidy up.John Terpstra1-6/+5
(This used to be commit 79d6e72af56838bdc1da437f76c905a47da0c0da)
2003-07-26Added buttons to change view mode. Fixes bug #212John Terpstra1-1/+17
(This used to be commit 37d2eed445ec825e31082e4e71c858e1e6356566)
2003-07-23convert snprintf() calls using pstrings & fstringsGerald Carter1-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. (This used to be commit 9f835b85dd38cbe655eb19021ff763f31886ac00)
2003-07-22Replace the eight (!) copies of dummy become/unbecome root with a single one.Tim Potter1-4/+0
(This used to be commit 8b818ce381595cdcb36631a2440d6aa0038805f1)
2003-05-26Metze's patches:John Terpstra1-24/+22
here's a small patch which renames the symbol 'log' to some better names to avoid compiler warnings about shodow global var 'log' in proto.h we now have a GLOBAL_SECTION_SNUM -1 so we should use it in swat too:-) (This used to be commit a4733a0748b4d24457558304ad47852c69905cb2)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij1-3/+0
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij1-0/+3
that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
2003-05-07Make fchown, fchmod conditional for systems that don't have them.Jeremy Allison1-0/+4
Jeremy. (This used to be commit cf78b1e7fe72aec72d03c86c46a8ca49df539c11)
2003-04-14Merge Jelmer's popt updates from HEAD.Tim Potter1-3/+2
(This used to be commit 98e84b3e83d2a365c818ea64f9418edb29d690f2)
2003-04-03Fixup swat warning.Jeremy Allison1-1/+1
Fix winbindd dual mode in the same was as in APP_HEAD. "Ken Cross" <kcross@nssolutions.com> noticed the problem. Jeremy. (This used to be commit 8bbcb833317245d7f5b8695e4a5c676f67003937)
2003-03-26A fixed type TRUE -> True, reported by Paul Green.John Terpstra1-1/+1
(This used to be commit 14499e64555481fdd5fa8ba656a4cba9a597a86b)
2003-03-20Make swat use poptJelmer Vernooij1-12/+15
(This used to be commit eccb6998111ce7a56bfd11578ccd7c09958f407e)
2003-03-17Merge from HEAD:Andrew Bartlett1-1/+1
new 'net ads dn' doxygen fixes net help fixes. (This used to be commit de24fcb097ebf0d1aec92e787622cab64d10c553)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett1-15/+15
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-11-09Sync with HEADJelmer Vernooij1-3/+3
(This used to be commit 1a25dc776ddc36de9a214e023becff1ceb10290c)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-53/+290
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-08-17sync 3.0 branch with HEADJelmer Vernooij1-8/+8
(This used to be commit d53d77cc8e21dfbfd376d529661ef299e14e31a0)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-1/+2
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-01-30Removed version number from file header.Tim Potter1-1/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-11-19Store some path names in global variables initialized to configureMartin Pool1-14/+23
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-10-14the next step in the intl changeover. This should get us compiling agian,Andrew Tridgell1-22/+10
and also completes the switch to lang_tdb.c. SWAT should now work with a po file in the lib/ directory also removed useless SYSLOG defines in many files (This used to be commit 5296b20ad85d7519c870768455cb4d8df048c55a)
2001-09-25Fixup passdb stuff to add new nisplus and ldap backends.Jeremy Allison1-1/+0
Jeremy. (This used to be commit 611bf806d569b70edabbc04a2f5408142370a550)
2001-09-24Added SWAT i18n feature:Motonobu Takahashi1-98/+137
TO enable configure with --with-i18n-swat to support this gettext is integrated and a new directories name "po" and "intl" are created. now these languages are supported: en - English (default) ja - Japanese po - Polish tr - Turkish To add your language, to create ${your_language}.po by translating source/po/en.po into your language is needed. some of html and image files of various language version are not included yet, though message catalogue files are installed. you need to copy files manually under ${swatdir}/lang/$ln/{help,images,included,using_samba} And also added a option to intall manual pages: of various lang version To enable configure with --with-manlangs but manual pages themself are not included yet. (This used to be commit 486b79a6fc4ba20a751aab544bd0f7ccff2b3d19)
2001-09-24convert all POST variables from display to unix charsetAndrew Tridgell1-1/+1
(This used to be commit cd6478ad9890949d0ef34a7078ec5518debe4a3c)
2001-09-10declare dbf in one spotAndrew Tridgell1-1/+0
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
2001-09-10replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell1-3/+3
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default. (This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)
2001-09-08convert more code to using d_printfAndrew Tridgell1-165/+165
(This used to be commit 60d297303488ed583537ca2853828fccd6da2ade)
2001-07-04The big character set handling changeover!Andrew Tridgell1-20/+7
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-06-23uhm some pointer went wrongSimo Sorce1-4/+4
(This used to be commit d0acacfc9df86abab24420f1807b4d5253e8c285)
2001-06-23handle P_LIST parametersSimo Sorce1-0/+25
(This used to be commit 26ab608c91c7357df3a79bc34111194f115de005)
2001-05-30make swat recover from previously bad umask from xinetdAndrew Tridgell1-2/+8
(This used to be commit 045d7e1b167efc75bb3d411b3fcc35bba58c4ef7)
2001-05-30Add border=0 in included swat images to get rid of the link border stuff.Tim Potter1-1/+1
Much prettier looking. (This used to be commit 16031364a8ce20cf425c758d3fd5035a776e9d9b)
2001-05-28make sure the umask is set in swatAndrew Tridgell1-0/+2
(This used to be commit 07c74fe83f77c73ff937a31b7df2f211596e9861)
2001-04-12fix broken links in SWAT due to upper case anchors in the generatedGerald Carter1-2/+5
HTML man pages. Spotted by Herb. (This used to be commit be45c82c3ab3b626cd761f2cec3b160df2b7fcac)
2001-04-05Setup syslog correctly in swat. Patch from Andrew Bartlett.Jeremy Allison1-0/+1
Jeremy. (This used to be commit ffd9bf192273370c1ebf6f1a2d5ebe8d8c434133)
2001-03-26Fix from Ryo Kawahara <rkawa@lbe.co.jp> to make SWAT correctly write and ↵Jeremy Allison1-7/+19
smb.conf file in utf8. Jeremy. (This used to be commit 42052d6079479452aa43eb37ad3d679d28337779)