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

296 Commits

Author SHA1 Message Date
Volker Lendecke
bff03f0cd4 r11556: Fix "make everything" 2007-10-10 11:05:20 -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
Simo Sorce
a3b89cb5c1 r8682: fix vfstest, thanks to Rainer Link for spotting this one 2007-10-10 11:00:14 -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
Jeremy Allison
c7fe18761e r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the torture
tests on this as it's very late NY time (just wanted to get this work
into the tree). I'll test this over the weekend....
Jerry - in looking at the difference between the two trees there
seem to be some printing/ntprinting.c and registry changes we might
want to examine to try keep in sync.
Jeremy.
2007-10-10 10:58:18 -05:00
Volker Lendecke
6d431eb676 r7902: Fix the build 2007-10-10 10:58:02 -05:00
Jeremy Allison
9506b8e145 r7882: Looks like a large patch - but what it actually does is make Samba
safe for using our headers and linking with C++ modules. Stops us
from using C++ reserved keywords in our code.
Jeremy
2007-10-10 10:58:00 -05:00
Gerald Carter
a0ac9a8ffd r7415: * big change -- volker's new async winbindd from trunk 2007-10-10 10:57:08 -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
Volker Lendecke
3db2799822 r6640: Attempt to fix 'make everything' with the paranoid malloc checker.
Volker
2007-10-10 10:56:49 -05:00
Jeremy Allison
316df944a4 r6595: This is Volkers new-talloc patch. Just got the go-ahead from
Volker to commit. Woo Hoo !
Jeremy.
2007-10-10 10:56:46 -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
Tim Potter
17d13b5713 r6175: Fix crash bug and compiler warnings in strchr_m() test. Bugzilla #2565. 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
Gerald Carter
3f12dbb1cf r5749: fix some build issues 2007-10-10 10:55:59 -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
Gerald Carter
054b64fb86 r4645: patch from Rob to fix the build breakage in vfstest after the reload_printers() cleanup 2007-10-10 10:53:49 -05:00
Volker Lendecke
dc294c52e0 r4570: Replace cli->nt_pipe_fnum with an array of NT file numbers, one for each
supported pipe. Netlogon is still special, as we open that twice, one to do
the auth2, the other one with schannel.

The client interface is completely unchanged for those who only use a single
pie. cli->pipe_idx is used as the index for everything except the "real"
client rpc calls, which have been explicitly converted in my last commit. Next
step is to get winbind to just use a single smb connection for multiple pipes.

Volker
2007-10-10 10:53:47 -05:00
Tim Potter
f00ae4ab0c r4268: Merge fix for bugzilla #2150. 2007-10-10 10:53:41 -05:00
Jeremy Allison
6b25a6e088 r4236: More *alloc fixes.
Jeremy.
2007-10-10 10:53:39 -05:00
Herb Lewis
1feda3649f r4103: lock timeout is in milliseconds (as in reply.c) 2007-10-10 10:53:34 -05:00
Jeremy Allison
aaab112084 r3072: Fix for bug #1947 - incorrect use of getpwnam() etc. interface.
Jeremy.
2007-10-10 10:53:00 -05:00
Andrew Tridgell
4ce0505bc3 r2824: restored the is_case_sensitive option to ms_fnmatch() in Samba3. It is
very rarely used, but we sohuldn't be removing a feature in a minor
release of this kind.
2007-10-10 10:52:54 -05:00
Rafal Szczesniak
7fa94c3895 r2814: Exactly the same as "main" build fix.
rafal
2007-10-10 10:52:53 -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
65518960e5 r1444: Another attempt to fulfil the 100% promise. There might be two dots at the
end...

Volker
2007-10-10 10:52:11 -05:00
Volker Lendecke
f17cb54a6f r1396: Give the build farm a chance to be clean before 3.0.5. We don't accept
filenames ending in a dot.

Volker
2007-10-10 10:52:10 -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
cf84c0fe1a r1154: Change default setting for case sensitivity to "auto". If set to auto
then is the client supports it (current clients supported are Samba and
CIFSVFS - detected by the negprot strings "Samba", "POSIX 2" and a bare
"NT LM 0.12" string) then the setting of the per packet flag smb_flag
FLAG_CASELESS_PATHNAMES is taken into account per packet. This allows
the linux CIFS client to use Samba in a case sensitive manner.
Additional command in smbclient "case_sensitive", toggles the
flag in subsequent packets.
Docs to follow.
Jeremy.
2007-10-10 10:51:57 -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.
-
Alexander Bokovoy
9acd46ab46 Fix build after Jeremy -- yet another place where convert_string() wasn't updated -
Andrew Bartlett
a893a324f3 Given how core this code is, I figure it should have it's own testsuite.
Big thanks to tpot and mbp for showing how easy it can be to write a simple
unit test, and for providing the STF.

This also changes the strstr_m() code to use strstr_w() (avoiding
duplication) and fixes it so that it passes the STF.

(We now always restart before doing the unicode run, until sombody can
show me why the testsuite is wrong).

Andrew Bartlett
-
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.
-