kai/samba.git
20 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)

20 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)

20 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)

20 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)

20 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)

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

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 years agoFollow DTD more strictly
Jelmer Vernooij [Fri, 26 Sep 2003 00:00:07 +0000 (00:00 +0000)]
Follow DTD more strictly
(This used to be commit 1e098b5b17b0fa505c528305c75d3c972935b100)

20 years agoFix for #480. Change the interface for init_unistr2 to not take a length
Jeremy Allison [Thu, 25 Sep 2003 21:26:16 +0000 (21:26 +0000)]
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 f82c273a42f930c7152cfab84394781744815e0e)

20 years agoPatch from Metze to document events interface
Jelmer Vernooij [Thu, 25 Sep 2003 19:48:48 +0000 (19:48 +0000)]
Patch from Metze to document events interface
(This used to be commit 228c03ce663ecbb76df06590aaa87a8dba2fc0c7)

20 years agoAdd some updates necessary to build the 3.0 docs (forgot them last night).
Jelmer Vernooij [Thu, 25 Sep 2003 19:25:13 +0000 (19:25 +0000)]
Add some updates necessary to build the 3.0 docs (forgot them last night).
(This used to be commit 72434db17a86a8c277ca989ac858cb54cbc815dc)

20 years agolast minute updates from Buchan
Gerald Carter [Thu, 25 Sep 2003 01:44:09 +0000 (01:44 +0000)]
last minute updates from Buchan
(This used to be commit 13636235af569fcdfcfc75033f30e21afb78ce05)

20 years agomake sure to install the *msg files for SWAT
Gerald Carter [Wed, 24 Sep 2003 17:14:01 +0000 (17:14 +0000)]
make sure to install the *msg files for SWAT
(This used to be commit 12a49e096421de34d2daa934fc4f33ec4e91dfff)

20 years agosyncing files from 3.0
Gerald Carter [Wed, 24 Sep 2003 15:43:12 +0000 (15:43 +0000)]
syncing files from 3.0
(This used to be commit b167f0989d004ba0940196c242c782ac698d1212)

20 years agosyncing whatsnew from release branch
Gerald Carter [Wed, 24 Sep 2003 15:42:29 +0000 (15:42 +0000)]
syncing whatsnew from release branch
(This used to be commit 6988eb854e55954000d8f9196d865bfbffb7eeda)

20 years agoupdating roadmap in docs
Gerald Carter [Wed, 24 Sep 2003 15:23:28 +0000 (15:23 +0000)]
updating roadmap in docs
(This used to be commit 9f44a3d29bc99f455fe8ea8522cb5fd6f2e7156b)

20 years ago* sync more files from 3.0
Gerald Carter [Wed, 24 Sep 2003 15:16:57 +0000 (15:16 +0000)]
* sync more files from 3.0
* set version string to "CVS 3.1.0alpha1"
(This used to be commit c6a61ffcbd0c95afd94bd33fd832b24bc8209de5)

20 years agomore syncs from 3.0
Gerald Carter [Wed, 24 Sep 2003 15:08:05 +0000 (15:08 +0000)]
more syncs from 3.0
(This used to be commit bb7d5ce3762afcb14905fc2c1112df8a7475ffe3)

20 years agosyncing up docs, examples, & packaging from 3.0
Gerald Carter [Wed, 24 Sep 2003 15:05:22 +0000 (15:05 +0000)]
syncing up docs, examples, & packaging from 3.0
(This used to be commit dd1348c566b4700ea01bd89639e2d3330c878167)

20 years agoDon't #ifdef an AFS option with WITH_ADS. Thanks, jerry!
Volker Lendecke [Wed, 24 Sep 2003 06:42:32 +0000 (06:42 +0000)]
Don't #ifdef an AFS option with WITH_ADS. Thanks, jerry!

Volker
(This used to be commit a6c54cbe205a6882d49fc77c04ed21b4f1de4396)

20 years agoAnother round of merges from 3.0:
Tim Potter [Wed, 24 Sep 2003 02:46:59 +0000 (02:46 +0000)]
Another round of merges from 3.0:

>Fix return of result. Patch from Yasuma Takeda <yasuma@miraclelinux.com>
>Jeremy.

>Applied Monyo's patch for bug #412 which allows \n characters to
>appear in msg strings.

>Put in some DEBUGs for swat language selection.  Part of bug 456.
(This used to be commit 0105b72db85141da30746c06ad7f5cec15bf9640)