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