cvs2svn Import User [Fri, 7 Nov 2003 23:18:18 +0000 (23:18 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-3-0-1pre2'.
Gerald Carter [Fri, 7 Nov 2003 23:18:17 +0000 (23:18 +0000)]
preparing for release of 3.0.1pre2
Gerald Carter [Fri, 7 Nov 2003 23:12:56 +0000 (23:12 +0000)]
last round of syncs for 3.0.1pre2
Gerald Carter [Fri, 7 Nov 2003 17:36:51 +0000 (17:36 +0000)]
last routnd of syncs for 3.01.pre2
Gerald Carter [Fri, 7 Nov 2003 16:10:30 +0000 (16:10 +0000)]
missed removing one file
Gerald Carter [Fri, 7 Nov 2003 16:09:24 +0000 (16:09 +0000)]
adding files from 3.0
Gerald Carter [Fri, 7 Nov 2003 16:05:56 +0000 (16:05 +0000)]
removing docs from release branch; the samba-docs & using_samba modules will be tagged to mark releases
Gerald Carter [Fri, 7 Nov 2003 15:52:30 +0000 (15:52 +0000)]
syncing tree with SAMBA_3_0
cvs2svn Import User [Fri, 24 Oct 2003 13:38:15 +0000 (13:38 +0000)]
This commit was manufactured by cvs2svn to create branch
'SAMBA_3_0_RELEASE'.
Jim McDonough [Fri, 24 Oct 2003 13:38:13 +0000 (13:38 +0000)]
New files for support of initshutdown pipe. Win2k doesn't respond properly
to all requests on the winreg pipe, so we need to handle this new pipe.
First part of fix for bug #534
Richard Sharpe [Fri, 24 Oct 2003 05:47:39 +0000 (05:47 +0000)]
Check for va_copy before you check for __va_copy, since va_copy is the
actual standard, and __va_copy was the proposed standard.
Jeremy Allison [Fri, 24 Oct 2003 01:19:23 +0000 (01:19 +0000)]
Andrew Bartlett patch to cope with Exchange 5.5 cleartext pop password auth.
Jeremy.
Volker Lendecke [Thu, 23 Oct 2003 16:51:08 +0000 (16:51 +0000)]
Merge from 3_0:
After a phonecall with jra finally commit this.
This changes our behaviour when the setresuid call is available. We now not
only change the effective uid but also the real uid when becoming
unprivileged. This is mainly for improved AFS compatibility, as AFS selects
the token to send to the server based on the real uid of the process.
I tested this with a W2k server with two non-root 'runas' sessions. They come
in via a single smbd as two different users using two session setups. Samba on
Linux can still switch between the two uids, proved by two different files
created via those sessions.
Volker
Jim McDonough [Thu, 23 Oct 2003 14:33:21 +0000 (14:33 +0000)]
Fix bug 451. Stop net -P from prompting for machine account password.
Based on work by Ken Cross (kcross@nssolutions.com).
Jim McDonough [Thu, 23 Oct 2003 13:47:21 +0000 (13:47 +0000)]
Volker's fix for bug #668. Change the \n after the password prompt to go
to tty instead of stdout.
Volker Lendecke [Thu, 23 Oct 2003 13:46:32 +0000 (13:46 +0000)]
Merge from 3_0:
According to Ethereal we have a 32-Bit quantity here. And with SSVAL valgrind
reports an unitialized read which is obviously correct. And I hate valgrind
errors ;-)
Volker
Richard Sharpe [Thu, 23 Oct 2003 06:35:45 +0000 (06:35 +0000)]
Apply the changes to libsmbclient that derrell has contributed. Fix some
of the problems with this.
From: Derrell.Lipman@unwireduniverse.com
Jeremy Allison [Wed, 22 Oct 2003 23:38:18 +0000 (23:38 +0000)]
Put strcasecmp/strncasecmp on the banned list (except for needed calls
in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at
all and I really want to discourage that.
Jeremy.
Jim McDonough [Wed, 22 Oct 2003 20:59:46 +0000 (20:59 +0000)]
Be sure referent ID is updated for incoming structures, too.
Alexander Bokovoy [Wed, 22 Oct 2003 15:52:36 +0000 (15:52 +0000)]
Fix segfault in mount.cifs helper when there is no options specified during mount
Volker Lendecke [Wed, 22 Oct 2003 07:31:17 +0000 (07:31 +0000)]
Merge from 3_0:
In cli_lsa_lookup_sids don't leave the domain field uninitialized if
some sid could not be mapped. Otherwise this call is unnecessarily
complicated to call.
Volker
Jeremy Allison [Tue, 21 Oct 2003 23:14:39 +0000 (23:14 +0000)]
Fix for bug #64, Win9x Nexus tools not working against Samba3.0. Missing
map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
Jeremy.
Jeremy Allison [Tue, 21 Oct 2003 21:18:58 +0000 (21:18 +0000)]
Patch from Stefan Metzmacher <metze@metzemix.de> to fix signing problems
when reverse connecting back to a client for printer notify.
Jeremy.
Jeremy Allison [Tue, 21 Oct 2003 20:17:42 +0000 (20:17 +0000)]
Merge tridge's AIX fixes.
Jeremy.
Jim McDonough [Tue, 21 Oct 2003 17:59:08 +0000 (17:59 +0000)]
Add server side support for epmapper pipe. Currently only does a fixed
mapping, but this is the base for changes to come.
Jeremy Allison [Tue, 21 Oct 2003 17:40:48 +0000 (17:40 +0000)]
Fix signing miss-sequence noticed by Stefan Metzmacher <metze@metzemix.de>
Jeremy.
Jim McDonough [Tue, 21 Oct 2003 16:27:46 +0000 (16:27 +0000)]
Fix typo
Gerald Carter [Tue, 21 Oct 2003 14:20:02 +0000 (14:20 +0000)]
call initgroups before becomming the user; patch from Fabio Cecchi
Tim Potter [Tue, 21 Oct 2003 04:54:20 +0000 (04:54 +0000)]
Merge of another fix from Monyo.
Tim Potter [Tue, 21 Oct 2003 04:46:23 +0000 (04:46 +0000)]
Merge of mmap blacklist fix from HEAD.
Tim Potter [Tue, 21 Oct 2003 04:45:33 +0000 (04:45 +0000)]
Merge ... krb5_keytab entry key vs keyblock member check from HEAD.
Tim Potter [Tue, 21 Oct 2003 04:43:48 +0000 (04:43 +0000)]
Merge of wrepld link fix.
Jim McDonough [Mon, 20 Oct 2003 21:10:18 +0000 (21:10 +0000)]
Update structures after ethereal showed some marshalling/unmarshalling
errors.
Jeremy Allison [Mon, 20 Oct 2003 21:02:05 +0000 (21:02 +0000)]
Fixed typo spotted by Daniel Jarboe <daniel.jarboe@custserv.com>.
Jeremy.
Jeremy Allison [Mon, 20 Oct 2003 19:04:06 +0000 (19:04 +0000)]
Merge Volker's fix.
It's a perfectly valid condition to have zero alias members.
Jeremy.
Jeremy Allison [Mon, 20 Oct 2003 19:02:04 +0000 (19:02 +0000)]
Merge Volker's fix.
We are doing NT error codes now.... If we have an NT error, report that
back the same way we handle the DOS error. Although I don't see why
BUFFER_TOO_SMALL should not be handled as an error, simply copy the logic.
This is only called from smbcacls and smbcquotas.
Jeremy.
Jim McDonough [Mon, 20 Oct 2003 18:35:12 +0000 (18:35 +0000)]
Several updates:
- add support for named pipe and netbios queries in parse code
- fix map request structure...unknown byte was alignment
- add sample of named pipe over netbios query in rpcclient (comment only)
Jeremy Allison [Mon, 20 Oct 2003 18:05:22 +0000 (18:05 +0000)]
Merge tridge's tdb updates.
Jeremy.
Gerald Carter [Mon, 20 Oct 2003 16:50:14 +0000 (16:50 +0000)]
more 2.2.x compatibility fixes - allow user looksup in the kerb5
sesssetup to fall back to 'user' instaed of failing is REA.LM\user
doesn't exist.
also fix include line in smb_acls.h as requested by metze
Gerald Carter [Mon, 20 Oct 2003 14:02:58 +0000 (14:02 +0000)]
make sure we have a devmode before copying a string to the devicename; patch from metze
Jelmer Vernooij [Sun, 19 Oct 2003 23:30:09 +0000 (23:30 +0000)]
Compile libsmbclient with DYNEXP
Jim McDonough [Sat, 18 Oct 2003 01:14:41 +0000 (01:14 +0000)]
Add epmapper commands to rpcclient
Jim McDonough [Sat, 18 Oct 2003 01:14:25 +0000 (01:14 +0000)]
Add epmapper client files to rpcclient build
Jim McDonough [Sat, 18 Oct 2003 01:13:01 +0000 (01:13 +0000)]
Add client side code to do endpoint map queries. Currently does one
fixed query. Updates to come soon.
Jim McDonough [Sat, 18 Oct 2003 01:07:37 +0000 (01:07 +0000)]
Fix tower length calculations and add some const
Jeremy Allison [Fri, 17 Oct 2003 21:19:17 +0000 (21:19 +0000)]
Typo broke win9x logins.
Jeremy.
Jim McDonough [Fri, 17 Oct 2003 19:47:06 +0000 (19:47 +0000)]
uuid itself might not be aligned (as is the case in epm map requests), so
it needs to be aligned outside the smb_io_rpc_uuid() call if a specific
rpc or struct needs it that way.
Gerald Carter [Fri, 17 Oct 2003 16:27:26 +0000 (16:27 +0000)]
* fix some compile warnings in the gums code
* add server support for DsEnumerateDomainTrusts()
Jim McDonough [Fri, 17 Oct 2003 15:07:53 +0000 (15:07 +0000)]
Add endpoint mapper parse code
Jim McDonough [Fri, 17 Oct 2003 15:07:23 +0000 (15:07 +0000)]
Add epmapper pipe
Jim McDonough [Fri, 17 Oct 2003 15:03:46 +0000 (15:03 +0000)]
Add (un)marshalling code for endpoint mapper map operation
Jim McDonough [Fri, 17 Oct 2003 15:02:38 +0000 (15:02 +0000)]
Add endpoint mapper rpc definitions
Richard Sharpe [Thu, 16 Oct 2003 22:03:34 +0000 (22:03 +0000)]
Remove DEBUG statement from wb_common.c as it should not be there.
Jeremy Allison [Thu, 16 Oct 2003 20:44:41 +0000 (20:44 +0000)]
Tidyup wrap checking.
Jeremy.
Jeremy Allison [Thu, 16 Oct 2003 18:17:41 +0000 (18:17 +0000)]
Fix buggy data_len calculation in echo. Add paranoia debug message.
Jeremy.
Jeremy Allison [Thu, 16 Oct 2003 00:45:14 +0000 (00:45 +0000)]
Ensure error code path doesn't free unmalloced memory. Bug #628.
Jeremy.
Simo Sorce [Wed, 15 Oct 2003 17:41:25 +0000 (17:41 +0000)]
created a new target: genparse
this target will build parse file with genstruct
it is the duty of the developer to commit updated files
this is made to make build platforms independent of a working perl
installation as always been with samba
so currently you need to run:
make genparse
and commit:
cvs ci include/tdbsam2_parse_info.h
if you change anything in genparse/genstruct code or tdbsam2 code.
Simo.
Gerald Carter [Tue, 14 Oct 2003 22:41:30 +0000 (22:41 +0000)]
updating version in copyright
Jeremy Allison [Tue, 14 Oct 2003 17:02:09 +0000 (17:02 +0000)]
Enable us to see what sequence number we were expecting when we fail a sign
(should help track down out of sequence bugs).
Jeremy.
Simo Sorce [Tue, 14 Oct 2003 07:50:36 +0000 (07:50 +0000)]
fix typo
Simo Sorce [Tue, 14 Oct 2003 07:43:41 +0000 (07:43 +0000)]
sorry folks, forgot to cvs add/remove before commit.
Tim Potter [Tue, 14 Oct 2003 04:00:39 +0000 (04:00 +0000)]
Delete unused label to fix compiler warning.
Tim Potter [Tue, 14 Oct 2003 04:00:08 +0000 (04:00 +0000)]
Enclose usage of st_blksize and st_blocks struct stat members in
#ifdef HAVE_STAT_ST_BLKSIZE and #ifdef HAVE_STAT_ST_BLOCKS,
respectively.
Fixes bug 550 reported by Joachim Schmitz <schmitz@hp.com>.
Tim Potter [Tue, 14 Oct 2003 03:39:29 +0000 (03:39 +0000)]
Set errno = ENOSYS if mmap not supported.
From Joachim Schmitz <schmitz@hp.com>
Tim Potter [Tue, 14 Oct 2003 03:13:21 +0000 (03:13 +0000)]
Use @PICSUFFIX@ instead of .po in Makefile.in since we have gone to
the trouble of detecting what the PIC suffix should actually be.
Change PICFLAG in configure.in to PICFLAGS for consistency.
Patches from Joachim Schmitz <schmitz@hp.com> for bug 574.
Tim Potter [Tue, 14 Oct 2003 02:55:13 +0000 (02:55 +0000)]
Ignore autogenerated tdbsam2_parse_info.h
Richard Sharpe [Mon, 13 Oct 2003 23:14:46 +0000 (23:14 +0000)]
Put back the changes that Simo reverted and fix a speling mistak.
Simo Sorce [Mon, 13 Oct 2003 21:26:10 +0000 (21:26 +0000)]
So here it is a non-intrusive patch with my latest work on gums (the
laternative to the current passdb).
Currently it is run through a comatibility module in the passdb layer, with
a subset of the functionality it may provide.
It is still work in progress, but as someone asked me about it, and as it
should make no difference to the normal code, I tought it was a good idea to
put it into.
It adds a dependency on perl. I know it is not very nice, but I'm sure we
will work out a solution for that.
As always blame me if I break something, but try to fix yourself, as I am
busy-busy-busy :-)
Simo.
Richard Sharpe [Mon, 13 Oct 2003 18:34:57 +0000 (18:34 +0000)]
Pull my previous changes into head as well.
Gerald Carter [Mon, 13 Oct 2003 14:06:27 +0000 (14:06 +0000)]
make sure to use the escaped DN; patch from Guenther Deschner; bug 592
Simo Sorce [Sun, 12 Oct 2003 20:48:30 +0000 (20:48 +0000)]
make nt-time <-> unix-time functions nearly reversible
Gerald Carter [Fri, 10 Oct 2003 19:33:21 +0000 (19:33 +0000)]
fixing up a few typos
Gerald Carter [Fri, 10 Oct 2003 18:09:18 +0000 (18:09 +0000)]
syncing using_samba tree
Gerald Carter [Fri, 10 Oct 2003 18:06:24 +0000 (18:06 +0000)]
adding files from the 3.0 branch
Gerald Carter [Fri, 10 Oct 2003 18:04:10 +0000 (18:04 +0000)]
syncing up for 3.0.1pre1
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
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: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.
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.
cvs2svn Import User [Thu, 9 Oct 2003 20:59:39 +0000 (20:59 +0000)]
This commit was manufactured by cvs2svn to create branch
'SAMBA_3_0_RELEASE'.
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:55:38 +0000 (20:55 +0000)]
Refuse to configure if --with-expsam=$BACKEND was specified, but
the libraries for $BACKEND were not found
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.