Gerald Carter [Mon, 6 Oct 2003 19:24:17 +0000 (19:24 +0000)]
cosmetic fix when DESTDIR=/ (default)
Gerald Carter [Mon, 6 Oct 2003 16:31:38 +0000 (16:31 +0000)]
default DESTDIR=/
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
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
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'.
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
Jeremy Allison [Fri, 3 Oct 2003 22:09:33 +0000 (22:09 +0000)]
Typo in error message.
Jeremy.
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
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
Jeremy Allison [Fri, 3 Oct 2003 20:13:11 +0000 (20:13 +0000)]
Grrr. compile patches before you apply !
Jeremy.
Volker Lendecke [Fri, 3 Oct 2003 17:40:26 +0000 (17:40 +0000)]
Two fixes, thanks to "Stefan Kanthak" <skanthak@arcor.de>
Volker
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
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
Gerald Carter [Fri, 3 Oct 2003 15:08:16 +0000 (15:08 +0000)]
abstract 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
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"));
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.
Tim Potter [Thu, 2 Oct 2003 23:50:22 +0000 (23:50 +0000)]
Portability fix from Joachim Schmitz. Closes bug #546.
Gerald Carter [Thu, 2 Oct 2003 21:22:58 +0000 (21:22 +0000)]
fixed for /sbin/mount.smbfs link when using $DESTDIR; bug 525
Jeremy Allison [Thu, 2 Oct 2003 18:22:51 +0000 (18:22 +0000)]
Portability fixes from schmitz@hp.com (Joachim Schmitz). Bug #549.
Jeremy.
Jeremy Allison [Thu, 2 Oct 2003 18:22:48 +0000 (18:22 +0000)]
Portability fixes from schmitz@hp.com (Joachim Schmitz). Bug #549.
Jeremy.
Jeremy Allison [Thu, 2 Oct 2003 17:53:57 +0000 (17:53 +0000)]
Portability fix from schmitz@hp.com (Joachim Schmitz). Bug #547.
Jeremy.
Jeremy Allison [Thu, 2 Oct 2003 17:53:55 +0000 (17:53 +0000)]
Portability fix from schmitz@hp.com (Joachim Schmitz). Bug #547.
Jeremy.
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.
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.
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.
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.
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
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.
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.
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
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
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
Jeremy Allison [Wed, 1 Oct 2003 21:17:46 +0000 (21:17 +0000)]
Fixed silly typo checking for signal_handler not signal.
Jeremy.
Jeremy Allison [Wed, 1 Oct 2003 21:17:22 +0000 (21:17 +0000)]
Fixed silly typo checking for signal_handler not signal.
Jeremy.
Jeremy Allison [Wed, 1 Oct 2003 19:33:30 +0000 (19:33 +0000)]
Allow ^C to interrupt smbpasswd if using our getpass.
Jeremy.
Jeremy Allison [Wed, 1 Oct 2003 19:33:27 +0000 (19:33 +0000)]
Allow ^C to interrupt smbpasswd if using our getpass.
Jeremy.
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
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
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
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
Gerald Carter [Wed, 1 Oct 2003 17:07:28 +0000 (17:07 +0000)]
remove 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
Gerald Carter [Wed, 1 Oct 2003 17:02:09 +0000 (17:02 +0000)]
Merge ... parameter changes from 3.0 and fix for bug 550
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
Gerald Carter [Wed, 1 Oct 2003 16:18:31 +0000 (16:18 +0000)]
mark 'mangled map' as depcreated and remove 'mangled stack'
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.
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.
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.
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.
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.
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.
Tim Potter [Mon, 29 Sep 2003 06:21:01 +0000 (06:21 +0000)]
Remove Japanese swat image files.
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.
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.
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.
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.
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.
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.
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
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)
Tim Potter [Mon, 29 Sep 2003 06:01:11 +0000 (06:01 +0000)]
Merge from 3.0:
>last minute updates from Buchan
Tim Potter [Mon, 29 Sep 2003 04:57:20 +0000 (04:57 +0000)]
Apply some NULL pointer paranoia to previous wins hook fix.
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.
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>
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>
Jelmer Vernooij [Sun, 28 Sep 2003 23:14:56 +0000 (23:14 +0000)]
Add draft about new registry subsystem
Volker Lendecke [Sun, 28 Sep 2003 17:47:06 +0000 (17:47 +0000)]
Minor typos. No, not merged to all branches...
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.
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
Jeremy Allison [Sat, 27 Sep 2003 01:29:18 +0000 (01:29 +0000)]
iconv isn't const safe. Neither should smb_iconv be.
Jeremy.
Jeremy Allison [Fri, 26 Sep 2003 21:03:32 +0000 (21:03 +0000)]
Ensure %S gets expanded in read/write lists.
Jeremy.
Jeremy Allison [Fri, 26 Sep 2003 19:28:20 +0000 (19:28 +0000)]
Fix for valid users = %S in homes share.
Jeremy.
Gerald Carter [Fri, 26 Sep 2003 14:44:11 +0000 (14:44 +0000)]
don'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
Jelmer Vernooij [Fri, 26 Sep 2003 12:22:03 +0000 (12:22 +0000)]
More updates to better conform to the DTD
Alexander Bokovoy [Fri, 26 Sep 2003 09:54:10 +0000 (09:54 +0000)]
Merge latest fixes from the release tree for WHATSNEW.txt
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.
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.
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.
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.
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.
Jelmer Vernooij [Fri, 26 Sep 2003 00:00:07 +0000 (00:00 +0000)]
Follow DTD more strictly
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.
Jelmer Vernooij [Thu, 25 Sep 2003 19:48:48 +0000 (19:48 +0000)]
Patch from Metze to document events interface
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).
Gerald Carter [Thu, 25 Sep 2003 01:44:09 +0000 (01:44 +0000)]
last minute updates from Buchan
Gerald Carter [Wed, 24 Sep 2003 17:14:01 +0000 (17:14 +0000)]
make sure to install the *msg files for SWAT
Gerald Carter [Wed, 24 Sep 2003 15:43:12 +0000 (15:43 +0000)]
syncing files from 3.0
Gerald Carter [Wed, 24 Sep 2003 15:42:29 +0000 (15:42 +0000)]
syncing whatsnew from release branch
Gerald Carter [Wed, 24 Sep 2003 15:23:28 +0000 (15:23 +0000)]
updating roadmap in docs
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"
Gerald Carter [Wed, 24 Sep 2003 15:08:05 +0000 (15:08 +0000)]
more syncs from 3.0
Gerald Carter [Wed, 24 Sep 2003 15:05:22 +0000 (15:05 +0000)]
syncing up docs, examples, & packaging from 3.0
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
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.
Tim Potter [Wed, 24 Sep 2003 02:45:43 +0000 (02:45 +0000)]
Another round of merges from 3.0:
>Reformat - preparing to fix bug #480 (which will be ugly).
>Jeremy.
Tim Potter [Wed, 24 Sep 2003 02:45:00 +0000 (02:45 +0000)]
Another round of merges from 3.0:
>Change error message displayed when --without-libiconv is used as
>an argument to configure. Closes bug 468.
Eloy Paris [Wed, 24 Sep 2003 02:39:04 +0000 (02:39 +0000)]
Debian updates in preparation for Samba 3.0.0.
Tim Potter [Wed, 24 Sep 2003 02:38:04 +0000 (02:38 +0000)]
Install message translation files for swat.