samba.git
17 years agoMatch Samba 2.2, and make ACB_NORMAL the default ACB value.
Andrew Bartlett [Fri, 10 Oct 2003 12:57:44 +0000 (12:57 +0000)]
Match Samba 2.2, and make ACB_NORMAL the default ACB value.

(Samba 2.2 did this in the LDAP code, but it fits better as a generic thing)

Andrew Bartlett
(This used to be commit dfd6bef580525cf719988c3a6eaaf47c46542de5)

17 years agoEnsure cancelling a blocking lock returns the correct error message.
Jeremy Allison [Fri, 10 Oct 2003 02:02:05 +0000 (02:02 +0000)]
Ensure cancelling a blocking lock returns the correct error message.
Testing with Samba4 RAW-MUX code.
Jeremy.
(This used to be commit 533847c95d475921b0421ae113f52c44979939d2)

17 years agoMake us pass Samba4 lock tester (with one different error message).
Jeremy Allison [Fri, 10 Oct 2003 01:53:38 +0000 (01:53 +0000)]
Make us pass Samba4 lock tester (with one different error message).
Jeremy.
(This used to be commit 7622a9dbbded8d07f976ec965adca5e92de3d2b0)

17 years agoWe need to make sure that the files that contain the static_init_$subsystem;
Jelmer Vernooij [Thu, 9 Oct 2003 22:52:51 +0000 (22:52 +0000)]
We need to make sure that the files that contain the static_init_$subsystem;
macro get recompiled after configure has ran.
This was done by touching the source file. This patch changes it to removing
the object file, so that you don't need write-access to the source directory.
(This used to be commit 1a95f5c9a9ad10046c481b7d3ad4e15a77e23144)

17 years agoRemove duplicate samba.7 manpages (with first letter uppercase)
Jelmer Vernooij [Thu, 9 Oct 2003 22:40:14 +0000 (22:40 +0000)]
Remove duplicate samba.7 manpages (with first letter uppercase)
(This used to be commit 8dd3d041994ec367016bd60b4ae3c8bb326e4b97)

17 years agoMatch W2K insanty w.r.t. writelock and writeclose. Samba4 torture tester.
Jeremy Allison [Thu, 9 Oct 2003 21:04:48 +0000 (21:04 +0000)]
Match W2K insanty w.r.t. writelock and writeclose. Samba4 torture tester.
Jeremy.
(This used to be commit c682fae16a2fa18f951c69ba29b1a576f4e27d6b)

17 years agoMove sysquotas autoconf tests to a seperate file.
Jelmer Vernooij [Thu, 9 Oct 2003 20:58:11 +0000 (20:58 +0000)]
Move sysquotas autoconf tests to a seperate file.
Patch by Stefan Metzmacher <metze@metzemix.de>
(This used to be commit 9f6cd8177db9a88f681f28a8dca044595ddaae88)

17 years agoRefuse to configure if --with-expsam=$BACKEND was used but no libraries
Jelmer Vernooij [Thu, 9 Oct 2003 20:20:18 +0000 (20:20 +0000)]
Refuse to configure if --with-expsam=$BACKEND was used but no libraries
were found for $BACKEND
(This used to be commit 76229085dbc76942b9b83604ea820a433fad4b0f)

17 years agoAt least give a message if we're returning a short read for W2K compatibility.
Jeremy Allison [Thu, 9 Oct 2003 19:01:31 +0000 (19:01 +0000)]
At least give a message if we're returning a short read for W2K compatibility.
Jeremy.
(This used to be commit 84c993d9cd0bc57a8b8b9aa716af1336620e2c87)

17 years agoChanges to allow Samba3 to pass the Samba4 RAW-READ tests.
Jeremy Allison [Thu, 9 Oct 2003 01:46:01 +0000 (01:46 +0000)]
Changes to allow Samba3 to pass the Samba4 RAW-READ tests.
Jeremy.
(This used to be commit e7565dbba696adbb0fd8cca6b86a1a7e5a655f2e)

17 years agoFixup error code returns from Samba4 tester. Ensure invalid paths are
Jeremy Allison [Wed, 8 Oct 2003 23:21:36 +0000 (23:21 +0000)]
Fixup error code returns from Samba4 tester. Ensure invalid paths are
validated the same way.
Jeremy.
(This used to be commit 6ad2f0ba27566ab3928ccbbbb3c3a64b09ca139c)

17 years agoAdd Dutch swat translation
Jelmer Vernooij [Wed, 8 Oct 2003 15:57:28 +0000 (15:57 +0000)]
Add Dutch swat translation
(This used to be commit 8646f1014fae1e645179846feb3fbc2beeef58d4)

17 years agomake sure to call get_user_groups() with the full winbindd name for a user if he...
Gerald Carter [Tue, 7 Oct 2003 16:34:23 +0000 (16:34 +0000)]
make sure to call get_user_groups() with the full winbindd name for a user if he;she has one; bug 406
(This used to be commit 1737b36e9193e30285c598ad75d90f610bab47fe)

17 years agoTut tut - always run with max warnings on gcc...
Jeremy Allison [Tue, 7 Oct 2003 05:06:58 +0000 (05:06 +0000)]
Tut tut - always run with max warnings on gcc...
Jeremy.
(This used to be commit 3ebbd67dec2044ed8022491747e65b90f1354602)

17 years agoFix spelling mistake.
Tim Potter [Tue, 7 Oct 2003 02:09:58 +0000 (02:09 +0000)]
Fix spelling mistake.
(This used to be commit 229f4856ee1d894ad747ace63dab7e691f8d0409)

17 years agoAdd script to generate msg files from SWAT sources.
Tim Potter [Tue, 7 Oct 2003 02:06:41 +0000 (02:06 +0000)]
Add script to generate msg files from SWAT sources.

Re-generate msg files.  Monyo has updated the Japanese translation.
Others remain incomplete.
(This used to be commit 9cf7021b88879d414abd4c58bb5e257a42f0cf4b)

17 years agoVersion of patch from nick@isilon.com (Nicholas Kirsch) for bug #564.
Jeremy Allison [Tue, 7 Oct 2003 00:06:01 +0000 (00:06 +0000)]
Version of patch from nick@isilon.com (Nicholas Kirsch) for bug #564.
Canonicalise SMB_INFO_ALLOCATION in the same was as SMB_FS_FULL_SIZE_INFORMATION.
Jeremy.
(This used to be commit 166efa30d2d680d8c19529c46ace3db115b43532)

17 years agoFix for bug #562 (incorrect mode sum) by h-yamasaki@pd.jp.nec.com.
Jeremy Allison [Mon, 6 Oct 2003 21:49:40 +0000 (21:49 +0000)]
Fix for bug #562 (incorrect mode sum) by h-yamasaki@pd.jp.nec.com.
Jeremy.
(This used to be commit 7fb8a1bd3880b093a884749fc496cd702480752c)

17 years agocosmetic fix when DESTDIR=/ (default)
Gerald Carter [Mon, 6 Oct 2003 19:24:17 +0000 (19:24 +0000)]
cosmetic fix when DESTDIR=/ (default)
(This used to be commit e660b5752aa129c49b0b665845de2fe4c160be00)

17 years agodefault DESTDIR=/
Gerald Carter [Mon, 6 Oct 2003 16:31:38 +0000 (16:31 +0000)]
default DESTDIR=/
(This used to be commit 266fa232d95e86a86ec00570657508ed42c80228)

17 years ago4 changes
Gerald Carter [Mon, 6 Oct 2003 14:06:25 +0000 (14:06 +0000)]
4 changes

  * default to 1 CPU (patch from Nir Soffer)
  * clear up some messy syntax (extra ;'s)
  * remove duplicate installation of *msg files
  * remove unnecessary build of smbspool`& modules
(This used to be commit 175d4aa334f510146bc673a0049110f0873775bc)

17 years agosplit some security related functions in their own files.
Simo Sorce [Mon, 6 Oct 2003 01:38:46 +0000 (01:38 +0000)]
split some security related functions in their own files.
(no need to include all of smbd files to use some basic sec functions)

also minor compile fixes
couldn't compile to test these due to some kerberos problems wirh 3.0,
but on HEAD they're working well, so I suppose it's ok to commit
(This used to be commit c78f2d0bd15ecd2ba643bb141cc35a3405787aa1)

17 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Mon, 6 Oct 2003 01:24:49 +0000 (01:24 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 096b997588880991af8e07034cc4f041daa87b97)

17 years agosplit some security related functions in their own files.
Simo Sorce [Mon, 6 Oct 2003 01:24:48 +0000 (01:24 +0000)]
split some security related functions in their own files.
(no need to include all of smbd files to use some basic sec functions)

also minor compile fixes
(This used to be commit 66074d3b097d8cf2a231bf08c7f4db62da68189d)

17 years agoTypo in error message.
Jeremy Allison [Fri, 3 Oct 2003 22:09:33 +0000 (22:09 +0000)]
Typo in error message.
Jeremy.
(This used to be commit 8996c51770845d60b41c2c967b030ff30eef1001)

17 years agodon't call ads_destroy() twice; fixes segfault in winbindd when DC goes down; bug 437
Gerald Carter [Fri, 3 Oct 2003 21:43:56 +0000 (21:43 +0000)]
don't call ads_destroy() twice; fixes segfault in winbindd when DC goes down; bug 437
(This used to be commit 9da4d1f7dbb289dd1db5e57a4fd78004bbfbd26b)

17 years agodon't call ads_destroy() twice; fixes segfault in winbindd when DC goes down; bug 437
Gerald Carter [Fri, 3 Oct 2003 21:43:09 +0000 (21:43 +0000)]
don't call ads_destroy() twice; fixes segfault in winbindd when DC goes down; bug 437
(This used to be commit 1cfbd92404270e0c67a3b295fc9cf461b29d3503)

17 years agoGrrr. compile patches before you apply !
Jeremy Allison [Fri, 3 Oct 2003 20:13:11 +0000 (20:13 +0000)]
Grrr. compile patches before you apply !
Jeremy.
(This used to be commit dfbde4be7191895d79762855b21f5c62d53d5267)

17 years agoTwo fixes, thanks to "Stefan Kanthak" <skanthak@arcor.de>
Volker Lendecke [Fri, 3 Oct 2003 17:40:26 +0000 (17:40 +0000)]
Two fixes, thanks to "Stefan Kanthak" <skanthak@arcor.de>

Volker
(This used to be commit 0b6e13e6af4f754d89ffab57474b8421a711c5a2)

17 years agocleaning out patch list; patch from Steve L. to change the cwd before the postexec...
Gerald Carter [Fri, 3 Oct 2003 15:11:38 +0000 (15:11 +0000)]
cleaning out patch list; patch from Steve L. to change the cwd before the postexec script
(This used to be commit bbc403ec6ee119f1bbb636deb40563dfdf258a74)

17 years agocleaning out patch list; patch from Steve L. to change the cwd before the postexec...
Gerald Carter [Fri, 3 Oct 2003 15:11:24 +0000 (15:11 +0000)]
cleaning out patch list; patch from Steve L. to change the cwd before the postexec script
(This used to be commit 497e14ba19f4f637e1203d73981ea1c401a19542)

17 years agoabstract UUID parsing code to an individual function; patch from Anthony
Gerald Carter [Fri, 3 Oct 2003 15:08:16 +0000 (15:08 +0000)]
abstract UUID parsing code to an individual function; patch from Anthony
(This used to be commit 6cbdbdf9e1e76837c8ef03e795db11caa74ccf18)

17 years agoabstract UUID parsing code to an individual function; patch from Anthony
Gerald Carter [Fri, 3 Oct 2003 15:07:15 +0000 (15:07 +0000)]
abstract UUID parsing code to an individual function; patch from Anthony
(This used to be commit 9365c619d6feb15289d963e9e70e1f947b7f8c3f)

17 years agoMoving towards better i18n support in SWAT. This commit contains a
Tim Potter [Fri, 3 Oct 2003 01:42:53 +0000 (01:42 +0000)]
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)

17 years agoExplicitly initialise the value of AR for vendor makes that don't do
Tim Potter [Fri, 3 Oct 2003 00:06:46 +0000 (00:06 +0000)]
Explicitly initialise the value of AR for vendor makes that don't do
this (HPUX 11).  Currently it's initialised to 'ar' but this may have
to be changed if any systems pop up that have archivers that aren't
named 'ar'. Closes bug #552.
(This used to be commit 6aada3bd3e08abedc4c043d1ceb667ca73f8cd62)

17 years agoPortability fix from Joachim Schmitz. Closes bug #546.
Tim Potter [Thu, 2 Oct 2003 23:50:22 +0000 (23:50 +0000)]
Portability fix from Joachim Schmitz.  Closes bug #546.
(This used to be commit 803ae4517265e4bb4639c4966e104b392913c7c0)

17 years agofixed for /sbin/mount.smbfs link when using $DESTDIR; bug 525
Gerald Carter [Thu, 2 Oct 2003 21:22:58 +0000 (21:22 +0000)]
fixed for /sbin/mount.smbfs link when using $DESTDIR; bug 525
(This used to be commit dc6d14c2bd1a8509e40c198065b8dc930c37d3ed)

17 years agoPortability fixes from schmitz@hp.com (Joachim Schmitz). Bug #549.
Jeremy Allison [Thu, 2 Oct 2003 18:22:51 +0000 (18:22 +0000)]
Portability fixes from schmitz@hp.com (Joachim Schmitz). Bug #549.
Jeremy.
(This used to be commit 93669f329eccec34d4a1da6239ae9759f067fb8b)

17 years agoPortability fixes from schmitz@hp.com (Joachim Schmitz). Bug #549.
Jeremy Allison [Thu, 2 Oct 2003 18:22:48 +0000 (18:22 +0000)]
Portability fixes from schmitz@hp.com (Joachim Schmitz). Bug #549.
Jeremy.
(This used to be commit 6defe43e6d48619cee31b6c7fc602973e8eeef3f)

17 years agoPortability fix from schmitz@hp.com (Joachim Schmitz). Bug #547.
Jeremy Allison [Thu, 2 Oct 2003 17:53:57 +0000 (17:53 +0000)]
Portability fix from schmitz@hp.com (Joachim Schmitz). Bug #547.
Jeremy.
(This used to be commit bbc7b189b9b4b3a5ef0a5ddbb7d2d755f6341fdf)

17 years agoPortability fix from schmitz@hp.com (Joachim Schmitz). Bug #547.
Jeremy Allison [Thu, 2 Oct 2003 17:53:55 +0000 (17:53 +0000)]
Portability fix from schmitz@hp.com (Joachim Schmitz). Bug #547.
Jeremy.
(This used to be commit 9519ffc7cbdb37a4279c8804230596978679220e)

17 years agoPortability fix from schmitz@hp.com (Joachim Schmitz) for bug #548.
Jeremy Allison [Thu, 2 Oct 2003 17:36:47 +0000 (17:36 +0000)]
Portability fix from schmitz@hp.com (Joachim Schmitz) for bug #548.
Jeremy.
(This used to be commit 6677eba28a1f2de11c36e3edc5b7d2854452bd04)

17 years agoPortability fix from schmitz@hp.com (Joachim Schmitz) for bug #548.
Jeremy Allison [Thu, 2 Oct 2003 17:36:45 +0000 (17:36 +0000)]
Portability fix from schmitz@hp.com (Joachim Schmitz) for bug #548.
Jeremy.
(This used to be commit a0828a2a1ce04075f0a7cb4a201cea0781998237)

17 years agoCorrect fix for excel read-only bug. Add panic for logic error in developer mode.
Jeremy Allison [Thu, 2 Oct 2003 17:26:44 +0000 (17:26 +0000)]
Correct fix for excel read-only bug. Add panic for logic error in developer mode.
Jeremy.
(This used to be commit 0857932c1c1960fd68a10f3d1f8c300b7a28b6d7)

17 years agoCorrect fix for excel read-only bug. Add panic for logic error in developer mode.
Jeremy Allison [Thu, 2 Oct 2003 17:26:42 +0000 (17:26 +0000)]
Correct fix for excel read-only bug. Add panic for logic error in developer mode.
Jeremy.
(This used to be commit f00af98f379463829b1ef62d78dda0365c1d7997)

17 years agoMake pdb_ldap.c compile with SUN iPlanet headers. Whether this works will be
Volker Lendecke [Thu, 2 Oct 2003 09:26:51 +0000 (09:26 +0000)]
Make pdb_ldap.c compile with SUN iPlanet headers. Whether this works will be
tested soon, but this fix is somewhat obvious.

Volker
(This used to be commit 227882d6f79fb5909998996e1be08df723c49e8e)

17 years agoFix for not opening Excel 2000 files that are read-only. Needs tidying
Jeremy Allison [Thu, 2 Oct 2003 00:55:22 +0000 (00:55 +0000)]
Fix for not opening Excel 2000 files that are read-only. Needs tidying
up but works for now.
Jeremy.
(This used to be commit 9ad9e0dfafed4558e5ab215991d9912cd44f1127)

17 years agoFix for not opening Excel 2000 files that are read-only. Needs tidying
Jeremy Allison [Thu, 2 Oct 2003 00:55:20 +0000 (00:55 +0000)]
Fix for not opening Excel 2000 files that are read-only. Needs tidying
up but works for now.
Jeremy.
(This used to be commit d9b9113a0815aeeddb8fdcccb64e7692fe02a9c2)

17 years agoRemove duplicate function (now in rpc_parse/parse_prs.c) and fix a RPC debug
Andrew Bartlett [Wed, 1 Oct 2003 23:04:34 +0000 (23:04 +0000)]
Remove duplicate function (now in rpc_parse/parse_prs.c) and fix a RPC debug
(I renamed the element of the structure).

Andrew Bartlett
(This used to be commit 641652cad97b761ba11d4e89b7c9ad098c7dd1c2)

17 years agocommit sign only patch from Andrew; bug 167; tested using 2k & XP clientspreviously...
Gerald Carter [Wed, 1 Oct 2003 22:00:19 +0000 (22:00 +0000)]
commit sign only patch from Andrew; bug 167; tested using 2k & XP clientspreviously joined to the Samba domain
(This used to be commit 9d2e585e5e6f9066c6901aa8d8308734f8667296)

17 years agocommit sign only patch from Andrew; bug 167; tested using 2k & XP clientspreviously...
Gerald Carter [Wed, 1 Oct 2003 21:18:32 +0000 (21:18 +0000)]
commit sign only patch from Andrew; bug 167; tested using 2k & XP clientspreviously joined to the Samba domain
(This used to be commit 3802f5895ee18507c6f467bd11db0b1147a6fdfd)

17 years agoFixed silly typo checking for signal_handler not signal.
Jeremy Allison [Wed, 1 Oct 2003 21:17:46 +0000 (21:17 +0000)]
Fixed silly typo checking for signal_handler not signal.
Jeremy.
(This used to be commit 202d4e46527993d359df7cd04fb611c22cc920c3)

17 years agoFixed silly typo checking for signal_handler not signal.
Jeremy Allison [Wed, 1 Oct 2003 21:17:22 +0000 (21:17 +0000)]
Fixed silly typo checking for signal_handler not signal.
Jeremy.
(This used to be commit 6c38a79be796935ab24764302805deea878b360d)

17 years agoAllow ^C to interrupt smbpasswd if using our getpass.
Jeremy Allison [Wed, 1 Oct 2003 19:33:30 +0000 (19:33 +0000)]
Allow ^C to interrupt smbpasswd if using our getpass.
Jeremy.
(This used to be commit 7d79a55d9af517ed63f8a4641bbc34564a4ef889)

17 years agoAllow ^C to interrupt smbpasswd if using our getpass.
Jeremy Allison [Wed, 1 Oct 2003 19:33:27 +0000 (19:33 +0000)]
Allow ^C to interrupt smbpasswd if using our getpass.
Jeremy.
(This used to be commit 8a284463458cfaaff9986bbc459dfc113f921c6c)

17 years agosave and restore CFLAGS before/after AC_PROG_CC; this macro seems to overwrite the...
Gerald Carter [Wed, 1 Oct 2003 18:54:29 +0000 (18:54 +0000)]
save and restore CFLAGS before/after AC_PROG_CC; this macro seems to overwrite the CFLAGS variable
(This used to be commit aa7fccf6ad81da8a4a14abd699d1f765e18cd10c)

17 years agosave and restore CFLAGS before/after AC_PROG_CC; this macro seems to overwrite the...
Gerald Carter [Wed, 1 Oct 2003 18:54:06 +0000 (18:54 +0000)]
save and restore CFLAGS before/after AC_PROG_CC; this macro seems to overwrite the CFLAGS variable
(This used to be commit dbf7fc4feb7f9c7cb720ce2dcbc8bb16badfe1f2)

17 years agomake sure libnss_winbind.so.2 is included in the RedHAT RPMS
Gerald Carter [Wed, 1 Oct 2003 17:56:51 +0000 (17:56 +0000)]
make sure libnss_winbind.so.2 is included in the RedHAT RPMS
(This used to be commit ceeb18d171d0e4ffc5c47ac4018909f266fd122c)

17 years agomake sure libnss_winbind.so.2 is included in the RedHAT RPMS
Gerald Carter [Wed, 1 Oct 2003 17:56:28 +0000 (17:56 +0000)]
make sure libnss_winbind.so.2 is included in the RedHAT RPMS
(This used to be commit 6b16d9e0ad9d79efb754cdccaf1d8f907eadaa9f)

17 years agoremove duplicate smbspool link on SWAT's front page; bug 541
Gerald Carter [Wed, 1 Oct 2003 17:07:28 +0000 (17:07 +0000)]
remove duplicate smbspool link on SWAT's front page; bug 541
(This used to be commit b19316e071bfee15c8bbf1a521d87f1a4ab53cbe)

17 years agoremove duplicate smbspool link on SWAT's front page; bug 541
Gerald Carter [Wed, 1 Oct 2003 17:07:12 +0000 (17:07 +0000)]
remove duplicate smbspool link on SWAT's front page; bug 541
(This used to be commit c00e58c934baa8366ac571fbed015bceb77bd597)

17 years agomerge of parameter changes from 3.0 and fix for bug 550
Gerald Carter [Wed, 1 Oct 2003 17:02:09 +0000 (17:02 +0000)]
Merge ... parameter changes from 3.0 and fix for bug 550
(This used to be commit b6433f5db77a1d62309946c6f23c18c6c299d0c5)

17 years agowrap internals of sys_setgroups() so the sys_XX() call can be done unconditionally...
Gerald Carter [Wed, 1 Oct 2003 17:01:21 +0000 (17:01 +0000)]
wrap internals of sys_setgroups() so the sys_XX() call can be done unconditionally; bug 550
(This used to be commit 9df3f53e6ae751d522c7ac21deb785f1fa05f225)

17 years agomark 'mangled map' as depcreated and remove 'mangled stack'
Gerald Carter [Wed, 1 Oct 2003 16:18:31 +0000 (16:18 +0000)]
mark 'mangled map' as depcreated and remove 'mangled stack'
(This used to be commit cd06472e420ba0647a73c6e04d180c088acdb626)

17 years agowhen we don't have a working iconv library we must default to using only builtin...
Andrew Tridgell [Tue, 30 Sep 2003 01:30:15 +0000 (01:30 +0000)]
when we don't have a working iconv library we must default to using only builtin charsets. Defaulting to CP850 when we have just determined that it doesn't work just guarantees that Samba won't work at all (in fact it just seg faults at startup). This fixes Samba on AIX, and I expect on a bunch of other platforms.
(This used to be commit 9635a28181525e5e8cfb8ef77642446a0a4ba280)

17 years agoTake care of condition where DOS and NT error codes must differ. Found by
Jeremy Allison [Mon, 29 Sep 2003 23:35:41 +0000 (23:35 +0000)]
Take care of condition where DOS and NT error codes must differ. Found by
DOS program test by Amir Hardon <hardon@actcom.co.il>.
Jeremy.
(This used to be commit c11a7e5846002b16d0cb2991b5a7df0636b070d5)

17 years agoTake care of condition where DOS and NT error codes must differ. Found by
Jeremy Allison [Mon, 29 Sep 2003 23:35:39 +0000 (23:35 +0000)]
Take care of condition where DOS and NT error codes must differ. Found by
DOS program test by Amir Hardon <hardon@actcom.co.il>.
Jeremy.
(This used to be commit 294f376aa908a9c56b73b9bfe48d56012a8f557b)

17 years agoMerge from 3.0:
Tim Potter [Mon, 29 Sep 2003 06:23:56 +0000 (06:23 +0000)]
Merge from 3.0:

>iconv isn't const safe. Neither should smb_iconv be.
>Jeremy.
(This used to be commit 7bd450f8b678e835ba4f9cfdc3d096b04da6f8f7)

17 years agoMerge from 3.0:
Tim Potter [Mon, 29 Sep 2003 06:22:55 +0000 (06:22 +0000)]
Merge from 3.0:

>Apply some NULL pointer paranoia to previous wins hook fix.

>Fix broken wins hook functionality.  A i18n fixe caused the name type
>to be appended to the netbios name between angle brackets.  This interfered
>the 'sh -c' used to implement smbrun().  Closes bug #528.
(This used to be commit 12659ae74965f8a088361cb4fbf8730cdad84af1)

17 years agoMerge from 3.0:
Tim Potter [Mon, 29 Sep 2003 06:22:04 +0000 (06:22 +0000)]
Merge from 3.0:

>Allow d_printf() to handle strings with escaped quotation marks since the
>msg file includes the escape character.
>
>Fixes bug #489.
(This used to be commit 0871be2bfad8bfa5d4f0ff78e732c1073055da2e)

17 years agoRemove Japanese swat image files.
Tim Potter [Mon, 29 Sep 2003 06:21:01 +0000 (06:21 +0000)]
Remove Japanese swat image files.
(This used to be commit fab80c98a05645f420014c61f1d7f156f400ec55)

17 years agoMerge from 3.0:
Tim Potter [Mon, 29 Sep 2003 06:20:55 +0000 (06:20 +0000)]
Merge from 3.0:

>Fix to parse the level-2 strings. From Anthony Liguori aliguor@us.ibm.com.
>Jeremy.
(This used to be commit 3420320714798427bf9b760ed89fa4ce9346ad19)

17 years agoMerge from 3.0:
Tim Potter [Mon, 29 Sep 2003 06:20:11 +0000 (06:20 +0000)]
Merge from 3.0:

>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.

>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 1ab70b41a9eba59272c0af5a8036c32366734177)

17 years agoMerge from 3.0:
Tim Potter [Mon, 29 Sep 2003 06:18:42 +0000 (06:18 +0000)]
Merge from 3.0:

>Ensure %S gets expanded in read/write lists.
>Jeremy.
(This used to be commit 424acd6ee92c46c565886c3305c3492737538d3d)

17 years agoMerge from 3.0:
Tim Potter [Mon, 29 Sep 2003 06:18:00 +0000 (06:18 +0000)]
Merge from 3.0:

>Fix for valid users = %S in homes share.
>Jeremy.
(This used to be commit 799da7092c5b56914512f843789adbedec5ac8f5)

17 years agoMerge from 3.0:
Tim Potter [Mon, 29 Sep 2003 06:17:09 +0000 (06:17 +0000)]
Merge from 3.0:

>Fix for #480. Change the interface for init_unistr2 to not take a length
>but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string.
>This is not the case. Count it after conversion.
>Jeremy.
(This used to be commit e2ab9e54cd0ec0002175cf18ff364f4aebaf85a0)

17 years agoMerge from 3.0:
Tim Potter [Mon, 29 Sep 2003 06:07:30 +0000 (06:07 +0000)]
Merge from 3.0:

>Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  This
>is the same way AC_CHECK_LIB works.  Fix for bug 508.
>
>This may have to go a few rounds on the build farm to ensure it works
>everywhere.
(This used to be commit e2da7c8a9dc0e4c698c330422682feccae879bbd)

17 years agoMerge from 3.0:
Tim Potter [Mon, 29 Sep 2003 06:06:49 +0000 (06:06 +0000)]
Merge from 3.0:

>make sure to install the *msg files for SWAT
(This used to be commit e7006f27729679d56f52838699d894cf6143c019)

17 years agoMerge from 3.0:
Tim Potter [Mon, 29 Sep 2003 06:06:11 +0000 (06:06 +0000)]
Merge from 3.0:

>last minute updates from Buchan

(actually was my change to add swat msg translation files to rpm)
(This used to be commit 1c14a9d267c41ad632923dd44e324e8b99dd1fee)

17 years agoMerge from 3.0:
Tim Potter [Mon, 29 Sep 2003 06:01:11 +0000 (06:01 +0000)]
Merge from 3.0:

>last minute updates from Buchan
(This used to be commit e3e13cbc19d00b10d161a46a78e993232c1504c8)

17 years agoApply some NULL pointer paranoia to previous wins hook fix.
Tim Potter [Mon, 29 Sep 2003 04:57:20 +0000 (04:57 +0000)]
Apply some NULL pointer paranoia to previous wins hook fix.
(This used to be commit 0281c5b764971c5300b99b82d89c812ded5a1335)

17 years agoFix broken wins hook functionality. A i18n fixe caused the name type
Tim Potter [Mon, 29 Sep 2003 04:41:45 +0000 (04:41 +0000)]
Fix broken wins hook functionality.  A i18n fixe caused the name type
to be appended to the netbios name between angle brackets.  This interfered
the 'sh -c' used to implement smbrun().  Closes bug #528.
(This used to be commit 92b37b3ef097e84adace1295af42853c07ddbec2)

17 years agoTestparm fixes:
Jelmer Vernooij [Mon, 29 Sep 2003 02:40:09 +0000 (02:40 +0000)]
Testparm fixes:
 - Also check global 'hosts allow'/'hosts deny' when checking access to share
 - Warn when user specifies 2 arguments instead of 1 or 3.

Patch from Jay Fenlason <fenlason@redhat.com>
(This used to be commit 034fe96f9c3d3328bc69ef328f10690336dc35b0)

17 years agoTestparm fixes:
Jelmer Vernooij [Mon, 29 Sep 2003 02:39:41 +0000 (02:39 +0000)]
Testparm fixes:
 - Also check global 'hosts allow'/'hosts deny' when checking access to share
 - Warn when user specifies 2 arguments instead of 1 or 3.

Patch from Jay Fenlason <fenlason@redhat.com>
(This used to be commit 2690c185f01b8fb4307dc803fb90c00400f2da69)

17 years agoAdd draft about new registry subsystem
Jelmer Vernooij [Sun, 28 Sep 2003 23:14:56 +0000 (23:14 +0000)]
Add draft about new registry subsystem
(This used to be commit 6d310e98e0d8654a95de98fcd4aa55e3c681157d)

17 years agoMinor typos. No, not merged to all branches...
Volker Lendecke [Sun, 28 Sep 2003 17:47:06 +0000 (17:47 +0000)]
Minor typos. No, not merged to all branches...
(This used to be commit 47ad635d5debdfab9fc065ebfcf5c40ad5b82101)

17 years agoChange AC_CHECK_LIB_EXT to prepend libraries instead of append. This
Tim Potter [Sun, 28 Sep 2003 11:11:07 +0000 (11:11 +0000)]
Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  This
is the same way AC_CHECK_LIB works.  Fix for bug 508.

This may have to go a few rounds on the build farm to ensure it works
everywhere.
(This used to be commit afe8c708f1a7f0c0eb5b7f28b5af193c75ec2178)

17 years agoStart to put some real 'meat' into the ntlm_auth docs.
Andrew Bartlett [Sun, 28 Sep 2003 02:35:29 +0000 (02:35 +0000)]
Start to put some real 'meat' into the ntlm_auth docs.

Andrew Bartlett
(This used to be commit 227c7daf36f82f6b7935add09b37f44a9965335b)

17 years agoiconv isn't const safe. Neither should smb_iconv be.
Jeremy Allison [Sat, 27 Sep 2003 01:29:18 +0000 (01:29 +0000)]
iconv isn't const safe. Neither should smb_iconv be.
Jeremy.
(This used to be commit 238bb74c16417140d85a304890b97e04df389ae9)

17 years agoEnsure %S gets expanded in read/write lists.
Jeremy Allison [Fri, 26 Sep 2003 21:03:32 +0000 (21:03 +0000)]
Ensure %S gets expanded in read/write lists.
Jeremy.
(This used to be commit 7d7096fc3a899349b46691dcc30b86b04964fe52)

17 years agoFix for valid users = %S in homes share.
Jeremy Allison [Fri, 26 Sep 2003 19:28:20 +0000 (19:28 +0000)]
Fix for valid users = %S in homes share.
Jeremy.
(This used to be commit c7f4e56ad5c25d477f20944e5b404ebafda9e1a8)

17 years agodon't write to static pointers; patch from Anthony
Gerald Carter [Fri, 26 Sep 2003 14:44:11 +0000 (14:44 +0000)]
don't write to static pointers; patch from Anthony
(This used to be commit b766fe78a7d8e4095d42e123f2b21369113c1f14)

17 years agodon't write to static pointers; patch from Anthony
Gerald Carter [Fri, 26 Sep 2003 14:43:36 +0000 (14:43 +0000)]
don't write to static pointers; patch from Anthony
(This used to be commit 5840cbe5f6207471ccd3d518a6aee91d84e24a1f)

17 years agoMore updates to better conform to the DTD
Jelmer Vernooij [Fri, 26 Sep 2003 12:22:03 +0000 (12:22 +0000)]
More updates to better conform to the DTD
(This used to be commit ca5371803cd18166cc9f8605be737b3760e69d4f)

17 years agoMerge latest fixes from the release tree for WHATSNEW.txt
Alexander Bokovoy [Fri, 26 Sep 2003 09:54:10 +0000 (09:54 +0000)]
Merge latest fixes from the release tree for WHATSNEW.txt
(This used to be commit c49205bee49b3ee6fd204683e30d463130c8f479)

17 years agoFix to parse the level-2 strings. From Anthony Liguori aliguor@us.ibm.com.
Jeremy Allison [Fri, 26 Sep 2003 06:35:11 +0000 (06:35 +0000)]
Fix to parse the level-2 strings. From Anthony Liguori aliguor@us.ibm.com.
Jeremy.
(This used to be commit e4c955c98e90901b047c475f204af93a57578248)

17 years agoMore bug #413. Fix bad html table row termination in SWAT wizard code found by
Tim Potter [Fri, 26 Sep 2003 02:04:03 +0000 (02:04 +0000)]
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)

17 years agoRemoved japanese swat icons at the request of Monyo. More work on
Tim Potter [Fri, 26 Sep 2003 01:43:58 +0000 (01:43 +0000)]
Removed japanese swat icons at the request of Monyo.  More work on
bug #413.
(This used to be commit f150e3ebd497ce7ba770649eef1000a70506df62)

17 years agoChange title of SWAT globals page from 'Global Variables' to 'Global
Tim Potter [Fri, 26 Sep 2003 01:32:20 +0000 (01:32 +0000)]
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)

17 years agoAllow d_printf() to handle strings with escaped quotation marks since the
Tim Potter [Fri, 26 Sep 2003 01:24:09 +0000 (01:24 +0000)]
Allow d_printf() to handle strings with escaped quotation marks since the
msg file includes the escape character.

Fixes bug #489.
(This used to be commit 8ce279e47184623e74f795294ffba842e4f2e848)