1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

201 Commits

Author SHA1 Message Date
Tim Potter
b4cf9e9505 r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid of
'..' from all #include preprocessor commands.   This fixes bugzilla #1880
where OpenVMS gets confused about the '.' characters.
(This used to be commit 7f161702fa4916979602cc0295919b541912acd6)
2007-10-10 10:52:55 -05:00
Günther Deschner
b2dc329d43 r2771: Second (and last) part of Swat-i18n-Patch from Björn Jacke
<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-10 10:52:52 -05:00
Gerald Carter
db1ff9b348 r1833: patch from James Peach to get swat to look for index.html by default when given a trailing directory/
(This used to be commit 980740da784ce00ad1b388872297b82d4d368044)
2007-10-10 10:52:21 -05:00
Gerald Carter
7309594b07 r492: BUG 483: patch from Michel Gravey <michel.gravey@optogone.com> to fix password hash creation in SWAT
(This used to be commit 08fc16d7e694213fa1abf81f1e10989888508697)
2007-10-10 10:51:26 -05:00
Gerald Carter
931df5850e r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
(This used to be commit a7e2730ec4389e0c249886a8bfe1ee14c5abac41)
2007-10-10 10:51:05 -05:00
Jeremy Allison
e3f5b54270 Restore the contract on all convert_stringXX() interfaces. Add a "allow_bad_conv"
boolean parameter that allows broken iconv conversions to work. Gets rid of the
nasty errno checks in mangle_hash2 and check_path_syntax and allows correct
return code checking.
Jeremy.
(This used to be commit 7b96765c23637613f079d37566d95d5edd511f05)
2004-03-11 22:48:24 +00:00
Gerald Carter
474758956c BUG 488: fix the 'show client in col 1' button and corrctely enumerate active connections
(This used to be commit d77d38560d1bdc10a58408f449fbc320275bcacc)
2004-03-05 18:37:01 +00:00
Tim Potter
37d0cb0b70 printf -> d_printf
Bugzilla #1066.
(This used to be commit 2285ec9737d7d1767e60cf43c3a55f10643371be)
2004-02-21 00:28:48 +00:00
Andrew Bartlett
d198c55877 Make more functions static, and remove duplication in the use of functions
in lib/smbpasswd.c that were exact duplicates of functions in passdb/passdb.c

(These should perhaps be pulled back out to smbpasswd.c, but that can occour
later).

Andrew Bartlett
(This used to be commit fcdc5efb1e245c8fa95cd031f67ec56093b9056e)
2004-02-08 08:38:42 +00:00
Andrew Bartlett
ccaf0e7fb1 This should be the correct fix for the lack of a prototype for
remote_password_change().

Sorry for the original bug.

Andrew Bartlett
(This used to be commit 955436a6f6d7c2f580b2c4e1edbb7ee2fe5df858)
2004-02-04 11:12:25 +00:00
Gerald Carter
7ca6d16605 fix problems with proto.h
(This used to be commit 5a32f9568f128374df98491b43e6f5b299cb656c)
2004-02-02 20:16:24 +00:00
Gerald Carter
19cc1a9f20 remerge andrew's cracklib patch from HEAD and fix a compile warnings
(This used to be commit b60f6ec30d05e4e5bba9934a416ddc8bc089824f)
2004-02-02 00:08:35 +00:00
Andrew Bartlett
3b38606491 Fix bug 916 - do not perform a + -> space substitution for squid URL encoded
strings, only form input in SWAT.

Andrew Bartlett
(This used to be commit 8d54f5fe0c5689660f37788916b37014754ce23e)
2003-12-25 09:37:41 +00:00
Gerald Carter
7d9fb45339 include WWW-Authenticate field in 401 response for bad auth attempt; bug 629
(This used to be commit 879d0f15ea260d61c56c5b841065ecb2f5ec26ca)
2003-11-22 06:16:01 +00:00
Gerald Carter
8a53eed206 fix winbind ping call so that SWAT correctly determines if winbindd is running; bug 398
(This used to be commit 04e37283f230b28f3019bfab3a71dde5e4ae4e23)
2003-11-22 04:47:34 +00:00
Gerald Carter
11f4893145 Ensure that items in a list of strings containing whitespace
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-11-22 04:33:36 +00:00
Volker Lendecke
d5573ccde3 Simple rename of get_socket_addr to get_peer_addr and get_socket_name to
get_peer_name. This is to get closer to the getsockname/getpeername system
functions.

Next step will be the %i macro for the local IP address. I still want to play
%L-games in times of port 445.

Volker
(This used to be commit d7162122eaf5d897e5de51604e431bfbaa20e905)
2003-11-07 09:03:02 +00:00
Jeremy Allison
bb0598faf5 Put strcasecmp/strncasecmp on the banned list (except for needed calls
in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at
all and I really want to discourage that.
Jeremy.
(This used to be commit d7e35dfb9283d560d0ed2ab231f36ed92767dace)
2003-10-22 23:38:20 +00:00
Gerald Carter
da8048b4fa call initgroups before becomming the user; patch from Fabio Cecchi
(This used to be commit 5a8dbccd66911642fabb6b8b38fff4477b76c3a1)
2003-10-21 14:19:32 +00:00
Tim Potter
635dff7528 Moving towards better i18n support in SWAT. This commit contains a
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-10-03 01:42:53 +00:00
Tim Potter
af921c452d More bug #413. Fix bad html table row termination in SWAT wizard code found by
Monyo.  Also remove debugging d_printf() which snuck in the last commit.
(This used to be commit 0192f41003af0f8e8c117cf7eb8ad886b8b03749)
2003-09-26 02:04:03 +00:00
Tim Potter
d2596d418f Change title of SWAT globals page from 'Global Variables' to 'Global
Parameters' to be more consistent with the other pages.
(This used to be commit 02725d4a3cff5bf0b676c363200795d4cadecca1)
2003-09-26 01:32:20 +00:00
Gerald Carter
8bfe26b62d metze's autogenerate patch for version.h
(This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
2003-08-20 17:13:38 +00:00
Jelmer Vernooij
f3404f3e4a - Update 'preload modules' documention (bug #304)
- Fix WINS Server List in SWAT (bug #197)
- Don't segfault SWAT when adding shares (bug #254)
(This used to be commit dd43a29504fe2b6f9d13cdb9431347927548fc10)
2003-08-19 15:18:27 +00:00
John Terpstra
8dea1bb932 Cleanup of loadparm and swat to correctly display all parameters as required.
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-28 05:47:15 +00:00
John Terpstra
b4918ea2be Add buttons to Printers View
(This used to be commit 805c33b08902d0d02358b624ef9976dd0bde4909)
2003-07-27 19:49:23 +00:00
John Terpstra
50548f4ddc Format tidy up.
(This used to be commit 79d6e72af56838bdc1da437f76c905a47da0c0da)
2003-07-26 17:46:47 +00:00
John Terpstra
168beb5360 Added buttons to change view mode. Fixes bug #212
(This used to be commit 37d2eed445ec825e31082e4e71c858e1e6356566)
2003-07-26 16:56:38 +00:00
Gerald Carter
3a5dc7c2ec convert snprintf() calls using pstrings & fstrings
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-23 12:33:59 +00:00
Tim Potter
80c1f1d865 Fixup a bunch of printf-style functions and debugs to use unsigned long when
displaying pid_t, uid_t and gid_t values.  This removes a whole lot of warnings
on some of the 64-bit build farm machines as well as help us out when 64-bit
uid/gid/pid values come along.
(This used to be commit f93528ba007c8800a850678f35f499fb7360fb9a)
2003-07-22 04:31:20 +00:00
Tim Potter
274f1f8806 Replace the eight (!) copies of dummy become/unbecome root with a single one.
(This used to be commit 8b818ce381595cdcb36631a2440d6aa0038805f1)
2003-07-22 00:20:53 +00:00
John Terpstra
b311be4a01 Metze's patches:
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-26 16:54:39 +00:00
Jelmer Vernooij
0914e541f5 Reverse previous patch from Stefan and me after comments by Andrew Bartlett
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10 11:49:51 +00:00
Jelmer Vernooij
c507ebe567 Patch from metze and me that adds dummy smb_register_*() functions so
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-10 10:53:48 +00:00
Jeremy Allison
fae80fe1a0 Make fchown, fchmod conditional for systems that don't have them.
Jeremy.
(This used to be commit cf78b1e7fe72aec72d03c86c46a8ca49df539c11)
2003-05-07 18:28:24 +00:00
John Terpstra
8f6e88dbb6 Added patch from Stephen Roylance.
(This used to be commit 71369f90890eeca399fec55d978a5dd4a13f077f)
2003-04-24 02:35:00 +00:00
John Terpstra
9c6e58869f Added Stephen Roylance's patch - Adds to Status page, a Start All, Restart All
and Stop All deamons button.
(This used to be commit 57cfcb3108935f46cb3938b403a3eaba2888fb55)
2003-04-22 23:19:09 +00:00
Tim Potter
63cbbe2692 Merge Jelmer's popt updates from HEAD.
(This used to be commit 98e84b3e83d2a365c818ea64f9418edb29d690f2)
2003-04-14 03:30:20 +00:00
Jeremy Allison
e6c48331eb Fixup swat warning.
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-04-03 01:51:13 +00:00
John Terpstra
a50253f744 A fixed type TRUE -> True, reported by Paul Green.
(This used to be commit 14499e64555481fdd5fa8ba656a4cba9a597a86b)
2003-03-26 03:40:24 +00:00
Jelmer Vernooij
f46edac4bf Make swat use popt
(This used to be commit eccb6998111ce7a56bfd11578ccd7c09958f407e)
2003-03-20 11:16:14 +00:00
Andrew Bartlett
c945a9c97f Merge from HEAD:
new 'net ads dn'

doxygen fixes

net help fixes.
(This used to be commit de24fcb097ebf0d1aec92e787622cab64d10c553)
2003-03-17 22:33:34 +00:00
Jelmer Vernooij
938f37afc2 Fix HTTP error codes (patch by Vance Lankhaar)
(This used to be commit e660b0b8d034c6cb9771601c64b952380d136ca1)
2003-02-28 08:48:26 +00:00
Jim McDonough
17ec9642cd base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().
(This used to be commit d510ff85fb0dafddf3dea9412a09eeee6e70f0cb)
2003-02-18 23:17:59 +00:00
Andrew Bartlett
9c858c3188 Merge from HEAD - convert username/password to unix before checking them in
SWAT.
(This used to be commit 8485c51bc47f45a6263bda83a0bc3ba15abcd250)
2003-02-01 07:27:01 +00:00
Andrew Bartlett
1cba0a7579 Merge from HEAD:
- NTLMSSP over SPENGO (sesssion-setup-and-x) cleanup and code refactor.
  - also consequential changes to the NTLMSSP and SPNEGO parsing functions
  - and the client code that uses the same functions
 - Add ntlm_auth, a NTLMSSP authentication interface for use by applications
   like Squid and Apache.
  - also consquential changes to use common code for base64 encode/decode.
 - Winbind changes to support ntlm_auth (I don't want this program to need
   to read smb.conf, instead getting all it's details over the pipe).
 - nmbd changes for fstrcat() instead of fstrcpy().

Andrew Bartlett
(This used to be commit fbb46da79cf322570a7e3318100c304bbf33409e)
2003-01-28 12:07:02 +00:00
Gerald Carter
01b805e06b connect to the actual netbios name in smb.conf and not LOCALHOST
(This used to be commit 50d65996e497a6b4647b74dadb4a7f3f5dddf2ed)
2003-01-17 14:34:07 +00:00
Gerald Carter
99cdb46208 *lots of small merges form HEAD
*sync up configure.in
*don't build torture tools in make all
*make sure to remove torture tools as part of make clean
(This used to be commit 0fb724b3216eeeb97e61ff12755ca3a31bcad6ef)
2003-01-15 18:57:41 +00:00
Gerald Carter
f5d5df9644 patch to include support for daemontools from Michael Handler
(This used to be commit a8db1b611d83bfd8dcf60f1e6d8fcbf57c798528)
2003-01-03 17:39:30 +00:00
Andrew Bartlett
634c54310c Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
(This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2003-01-03 08:28:12 +00:00