1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

131 Commits

Author SHA1 Message Date
Stefan Metzmacher
fa322f0cc9 r22001: change prototype of dump_data(), so that it takes unsigned char * now,
which matches what samba4 has.

also fix all the callers to prevent compiler warnings

metze
2007-10-10 12:18:59 -05:00
Jeremy Allison
0119d2c183 r21963: Fix another uninitialized buffer used in test write - valgrind
fix.
Jeremy.
2007-10-10 12:18:53 -05:00
Jeremy Allison
e27d094620 r21948: Fix valgrind error in build farm samba3 smbtorture. We were
using an uninitialized buffer for read/write tests.
Jeremy.
2007-10-10 12:18:51 -05:00
Jeremy Allison
df07a662e3 r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).
Patch from Zack Kirsch <zack.kirsch@isilon.com>.
Jeremy.
2007-10-10 12:18:16 -05:00
Volker Lendecke
651e7e44e2 r18310: Add a little test for some gencache routines
Remove unused gencache_set_only
Use CONST_DISCARD instead of SMB_STRDUP

Volker
2007-10-10 11:51:19 -05:00
Stefan Metzmacher
9d71a037b1 r18070: be more verbose when errors happen
metze
2007-10-10 11:43:25 -05:00
Volker Lendecke
389910b2d3 r17853: Fix an uninitialized variable (m_time2). Jeremy, please check.
Thanks,

Volker
2007-10-10 11:38:54 -05:00
Jeremy Allison
425280a1d2 r17800: Start using struct timespec internally for file times
on the wire. This allows us to go to nsec resolution
for systems that support it. It should also now be
easy to add a correct "create time" (birth time)
for systems that support it (*BSD). I'll be watching
the build farm closely after this one for breakage :-).
Jeremy.
2007-10-10 11:38:48 -05:00
Jeremy Allison
42a417fb75 r17761: Handle times consistently across all client utils.
Fixes bugs reported in libsmbclient.
Jeremy.
2007-10-10 11:38:47 -05:00
Volker Lendecke
94817a8ef5 r17571: Change the return code of cli_session_setup from BOOL to NTSTATUS
Volker
2007-10-10 11:38:39 -05:00
Volker Lendecke
761cbd52f0 r17554: Cleanup 2007-10-10 11:38:38 -05:00
Volker Lendecke
68db058fdf r17457: Add a test to do some operations on group mapping.
Volker
2007-10-10 11:38:35 -05:00
Volker Lendecke
6915adb978 r17425: Add the multi-key wrapper. If it's necessary to add general blobs as keys,
this can trivially be added later.

Volker
2007-10-10 11:38:33 -05:00
Alexander Bokovoy
c9f8fafad6 r17338: Add support for multiple shares test inspired by Samba 4 torture's --unclist option. Triggered by -b sharelist_file option.
Based on Peter Samogyi's work. I'm not sure what concept for fstring replacement is currently in place though (talloc-ed strings? or it was for pstring only?)
2007-10-10 11:38:26 -05:00
Volker Lendecke
844c98eab4 r17190: Remove a warning from "opi", a 64-bit machine 2007-10-10 11:38:18 -05:00
Volker Lendecke
083ef11cc9 r16960: Some warnings from host "opi" 2007-10-10 11:19:15 -05:00
Jeremy Allison
9dafb7f48c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
to do the upper layer directories but this is what
everyone is waiting for....

Jeremy.
2007-10-10 11:19:14 -05:00
Derrell Lipman
f2a24de769 r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500
lp_load() could not be called multiple times to modify parameter settings based
 on reading from multiple configuration settings.  Each time, it initialized all
 of the settings back to their defaults before reading the specified
 configuration file.

 This patch adds a parameter to lp_load() specifying whether the settings should
 be initialized.  It does, however, still force the settings to be initialized
 the first time, even if the request was to not initialize them.  (Not doing so
 could wreak havoc due to uninitialized values.)
2007-10-10 11:06:18 -05:00
Deryck Hodge
0fdb062f35 r13072: Fix segfault in vfstest and smbtorture.
deryck
2007-10-10 11:06:12 -05:00
Jeremy Allison
4cd8e2a96b r11420: Fix issue pointed out by Dina Fine <dina@exanet.com>. We can
only tell at parse time from the wire if an incoming name
has wildcards or not. If it's a mangled name and we demangle
the demangled name may contain wildcard characters. Ensure
these are ignored.
Jeremy.
2007-10-10 11:05:15 -05:00
Gerald Carter
939c3cb5d7 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
2007-10-10 11:04:48 -05:00
Lars Müller
2720c82a95 r8653: Fix bug #2659. 2007-10-10 11:00:13 -05:00
Tim Potter
985dbb47d9 r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore. 2007-10-10 11:00:11 -05:00
Volker Lendecke
6d431eb676 r7902: Fix the build 2007-10-10 10:58:02 -05:00
Volker Lendecke
a405e7f479 r7390: Revision 7371 did not help :-( 2007-10-10 10:57:07 -05:00
Volker Lendecke
b4a6ace00d r7371: On one build farm box dirtest1 does not return, I think this might be due to
it being too slow. The build farm re-runs that with debuglevel 10, and this
ends up with a 400MB logfile which is not synced. Lets see if with this change
the machine pops up on build.samba.org....

Volker
2007-10-10 10:57:06 -05:00
Herb Lewis
173375f8d8 r6586: get rid of a few more compiler warnings 2007-10-10 10:56:46 -05:00
Simo Sorce
36eb9aa48a r6575: use samba4 torture please message on samba 3 torture 2007-10-10 10:56:45 -05:00
Tim Potter
3cf5ad4e80 r6176: Fix a possibly uninitialised variable warning. 2007-10-10 10:56:28 -05:00
Gerald Carter
85be4c5df3 r5968: derrell's large file fix for libsmbclient (BUG 2505) 2007-10-10 10:56:13 -05:00
Jeremy Allison
69e99d97d1 r5641: Fix from James Peach @ SGI for oplock2 test.
Jeremy.
2007-10-10 10:55:53 -05:00
Jeremy Allison
3d4d8bb654 r5589: Ensure the torture code that uses cli_list and cli_list_old
matches the new MS-DFS function prototypes. Should fix the
build farm tests.
Jeremy.
2007-10-10 10:55:48 -05:00
Jeremy Allison
99b89867c3 r5525: Add extra case to torture to test this (we currently fail with the wrong
error message but we correctly deny the open).
Jeremy.
2007-10-10 10:55:45 -05:00
Tim Potter
f00ae4ab0c r4268: Merge fix for bugzilla #2150. 2007-10-10 10:53:41 -05:00
Herb Lewis
1feda3649f r4103: lock timeout is in milliseconds (as in reply.c) 2007-10-10 10:53:34 -05:00
Andrew Bartlett
36741d3cf5 r1492: Rework our random number generation system.
On systems with /dev/urandom, this avoids a change to secrets.tdb for every fork().

For other systems, we now only re-seed after a fork, and on startup.
No need to do it per-operation.  This removes the 'need_reseed'
parameter from generate_random_buffer().

Andrew Bartlett
2007-10-10 10:52:13 -05:00
Volker Lendecke
49f3f0412f r1328: Fix the build 2007-10-10 10:52:06 -05:00
Jeremy Allison
fbc06831d3 r1325: Always use GetTimeOfDay() (wrapper). Ensure ldap replication
sleep time is not more than 5 seconds. Should fix issue
reported by Chris Garrigues <cwg@deepeddy.com>.
Jeremy.
2007-10-10 10:52:06 -05:00
Jeremy Allison
0661357484 r81: Make EA's case independent - fix smbtorture to test for this.
Jeremy.
2007-10-10 10:51:07 -05:00
Jeremy Allison
43db249fb8 Ensure we cope correctly with ea length of zero. Detect torture fail correctly.
Jeremy.
-
Jeremy Allison
01fb871762 Setting EA's to zero length deletes them.
Jeremy.
-
Jeremy Allison
0d239a9c07 Fix get/set of EA's in client library. Added torture test for it.
Jeremy.
-
Jeremy Allison
5eeeee302c Working (tested) client code for setting EA's by filename and fnum.
Now for parsing out the retrieved EA's.
Jeremy.
-
Jeremy Allison
5646b6c989 Merging Richard's rename test.
Jeremy.
-
Jim McDonough
4319df7fdc Janitor for tpot...bugzilla #1098, msleep already exists on aix -
Jeremy Allison
0ea0ada6c6 Make SMB_FILE_ACCESS_INFORMATION call work correctly.
Jeremy.
-
Jeremy Allison
5c6f8b1053 Make us bug-for-bug compatible with W2K3 - to get delete on close semantics
on an initial open the desired_access field *must* contain DELETE_ACCESS,
simply having it map from a GENERIC_ALL won't do. Fixes delete on close test.
Jeremy.
-
Volker Lendecke
3663ed2b96 Fix Bug # 924
Volker
-
Richard Sharpe
34351e457a A small fix to torture.c to cleanup the error handling and prevent crashes.
I really should clean up the comment as well.
-
Tim Potter
0519a7022b Final round of printf warnings fixes for the moment. -