cvs2svn Import User [Fri, 10 Oct 2003 16:24:27 +0000 (16:24 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Gerald Carter [Fri, 10 Oct 2003 16:24:26 +0000 (16:24 +0000)]
adding notice about new samba-docs cvs modeule
Gerald Carter [Fri, 10 Oct 2003 16:21:39 +0000 (16:21 +0000)]
removing docs from HEAD
Andrew Bartlett [Fri, 10 Oct 2003 14:24:19 +0000 (14:24 +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
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
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.
Jeremy Allison [Fri, 10 Oct 2003 02:02:02 +0000 (02:02 +0000)]
Ensure cancelling a blocking lock returns the correct error message.
Testing with Samba4 RAW-MUX code.
Jeremy.
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.
Jeremy Allison [Fri, 10 Oct 2003 01:53:35 +0000 (01:53 +0000)]
Make us pass Samba4 lock tester (with one different error message).
Jeremy.
Jelmer Vernooij [Thu, 9 Oct 2003 22:56:08 +0000 (22:56 +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.
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.
Jelmer Vernooij [Thu, 9 Oct 2003 22:40:14 +0000 (22:40 +0000)]
Remove duplicate samba.7 manpages (with first letter uppercase)
Jeremy Allison [Thu, 9 Oct 2003 21:04:51 +0000 (21:04 +0000)]
Match W2K insanty w.r.t. writelock and writeclose. Samba4 torture tester.
Jeremy.
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.
Jelmer Vernooij [Thu, 9 Oct 2003 20:59:38 +0000 (20:59 +0000)]
Move sysquotas autoconf tests to a seperate file in tests/
Patch by Stefan Metzmacher <metze@metzemix.de>
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>
Jelmer Vernooij [Thu, 9 Oct 2003 20:55:38 +0000 (20:55 +0000)]
Refuse to configure if --with-expsam=$BACKEND was specified, but
the libraries for $BACKEND were not found
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
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.
Jeremy Allison [Thu, 9 Oct 2003 19:01:13 +0000 (19:01 +0000)]
At least give a message if we're returning a short read for W2K compatibility.
Jeremy.
Tim Potter [Thu, 9 Oct 2003 06:29:50 +0000 (06:29 +0000)]
Merge from 3.0:
>cosmetic fix when DESTDIR=/ (default)
>fixed for /sbin/mount.smbfs link when using $DESTDIR; bug 525
Tim Potter [Thu, 9 Oct 2003 06:29:08 +0000 (06:29 +0000)]
Merge from 3.0:
>Remove duplicate function (now in rpc_parse/parse_prs.c) and fix a RPC debug
>(I renamed the element of the structure).
>
>Andrew Bartlett
Tim Potter [Thu, 9 Oct 2003 06:27:01 +0000 (06:27 +0000)]
Merge from 3.0:
>Make pdb_ldap.c compile with SUN iPlanet headers. Whether this works will be
>tested soon, but this fix is somewhat obvious.
>
>Volker
Tim Potter [Thu, 9 Oct 2003 06:25:40 +0000 (06:25 +0000)]
Merge from 3.0:
>Typo in error message.
>Jeremy.
Tim Potter [Thu, 9 Oct 2003 06:16:16 +0000 (06:16 +0000)]
Merge from 3.0:
>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 [Thu, 9 Oct 2003 06:13:11 +0000 (06:13 +0000)]
Merge from 3.0:
>Portability fix from Joachim Schmitz. Closes bug #546.
Tim Potter [Thu, 9 Oct 2003 06:12:44 +0000 (06:12 +0000)]
Merge from 3.0:
>Fix spelling mistake.
Tim Potter [Thu, 9 Oct 2003 06:10:52 +0000 (06:10 +0000)]
Merge from 3.0:
>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 [Thu, 9 Oct 2003 06:02:07 +0000 (06:02 +0000)]
Merge from 3.0:
>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.
>Fallback to our defaults (CP850/ASCII/UTF8) if there is no native
>iconv on the platform. This allows to compile and complain about it
>at runtime
Tim Potter [Thu, 9 Oct 2003 05:59:16 +0000 (05:59 +0000)]
Merge from 3.0:
>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.
>fixed for /sbin/mount.smbfs link when using $DESTDIR; bug 525
Tim Potter [Thu, 9 Oct 2003 05:51:52 +0000 (05:51 +0000)]
Merge from 3.0:
- Don't install text docs
Tim Potter [Thu, 9 Oct 2003 05:50:06 +0000 (05:50 +0000)]
Merge from 3.0:
- Updated *.msg files from running genmsg
- Add genmsg program
- Add Jelmer's Dutch translation
Tim Potter [Thu, 9 Oct 2003 05:48:23 +0000 (05:48 +0000)]
Merge from 3.0:
>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
Jeremy Allison [Thu, 9 Oct 2003 01:46:03 +0000 (01:46 +0000)]
Changes to allow Samba3 to pass the Samba4 RAW-READ tests.
Jeremy.
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.
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.
Jeremy Allison [Wed, 8 Oct 2003 23:21:25 +0000 (23:21 +0000)]
Fixup error code returns from Samba4 tester. Ensure invalid paths are
validated the same way.
Jeremy.
Jelmer Vernooij [Wed, 8 Oct 2003 15:57:28 +0000 (15:57 +0000)]
Add Dutch swat translation
Jeremy Allison [Tue, 7 Oct 2003 17:23:59 +0000 (17:23 +0000)]
Max warnings with gcc.
Jeremy.
Gerald Carter [Tue, 7 Oct 2003 16:35:03 +0000 (16:35 +0000)]
make sure to call get_user_groups() with the full winbindd name for a user if he;she has one; bug 406
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
Jeremy Allison [Tue, 7 Oct 2003 05:06:58 +0000 (05:06 +0000)]
Tut tut - always run with max warnings on gcc...
Jeremy.
Tim Potter [Tue, 7 Oct 2003 02:09:58 +0000 (02:09 +0000)]
Fix spelling mistake.
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.
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.
Jeremy Allison [Tue, 7 Oct 2003 00:05:59 +0000 (00:05 +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.
Jeremy Allison [Mon, 6 Oct 2003 21:49:42 +0000 (21:49 +0000)]
Fix for bug #562 (incorrect mode sum) by h-yamasaki@pd.jp.nec.com.
Jeremy.
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.
Gerald Carter [Mon, 6 Oct 2003 19:24:39 +0000 (19:24 +0000)]
cosmetic fix when DESTDIR=/ (default)
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:42:01 +0000 (16:42 +0000)]
default DESTDIR=/
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.