1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

298 Commits

Author SHA1 Message Date
Derrell Lipman
9c15bd311d 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.)
(This used to be commit f2a24de769)
2007-10-10 11:06:18 -05:00
Deryck Hodge
2f7bc0e53d r13072: Fix segfault in vfstest and smbtorture.
deryck
(This used to be commit 0fdb062f35)
2007-10-10 11:06:12 -05:00
Volker Lendecke
9df784b6f2 r11556: Fix "make everything"
(This used to be commit bff03f0cd4)
2007-10-10 11:05:20 -05:00
Jeremy Allison
6baec64a73 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.
(This used to be commit 4cd8e2a96b)
2007-10-10 11:05:15 -05:00
Gerald Carter
54abd2aa66 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)
(This used to be commit 939c3cb5d7)
2007-10-10 11:04:48 -05:00
Simo Sorce
728dbab082 r8682: fix vfstest, thanks to Rainer Link for spotting this one
(This used to be commit a3b89cb5c1)
2007-10-10 11:00:14 -05:00
Lars Müller
b0f1c8df16 r8653: Fix bug #2659.
(This used to be commit 2720c82a95)
2007-10-10 11:00:13 -05:00
Tim Potter
ab398643a4 r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.
(This used to be commit 985dbb47d9)
2007-10-10 11:00:11 -05:00
Jeremy Allison
af8a691db1 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.
(This used to be commit c7fe18761e)
2007-10-10 10:58:18 -05:00
Volker Lendecke
ad54e2f0c2 r7902: Fix the build
(This used to be commit 6d431eb676)
2007-10-10 10:58:02 -05:00
Jeremy Allison
19ca97a70f 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
(This used to be commit 9506b8e145)
2007-10-10 10:58:00 -05:00
Gerald Carter
fed660877c r7415: * big change -- volker's new async winbindd from trunk
(This used to be commit a0ac9a8ffd)
2007-10-10 10:57:08 -05:00
Volker Lendecke
eeca550731 r7390: Revision 7371 did not help :-(
(This used to be commit a405e7f479)
2007-10-10 10:57:07 -05:00
Volker Lendecke
5c286aab36 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
(This used to be commit b4a6ace00d)
2007-10-10 10:57:06 -05:00
Volker Lendecke
55739e9f86 r6640: Attempt to fix 'make everything' with the paranoid malloc checker.
Volker
(This used to be commit 3db2799822)
2007-10-10 10:56:49 -05:00
Jeremy Allison
7b9d6ac23e r6595: This is Volkers new-talloc patch. Just got the go-ahead from
Volker to commit. Woo Hoo !
Jeremy.
(This used to be commit 316df944a4)
2007-10-10 10:56:46 -05:00
Herb Lewis
1c4bbe0654 r6586: get rid of a few more compiler warnings
(This used to be commit 173375f8d8)
2007-10-10 10:56:46 -05:00
Simo Sorce
4bbef96aba r6575: use samba4 torture please message on samba 3 torture
(This used to be commit 36eb9aa48a)
2007-10-10 10:56:45 -05:00
Tim Potter
bdae18b799 r6176: Fix a possibly uninitialised variable warning.
(This used to be commit 3cf5ad4e80)
2007-10-10 10:56:28 -05:00
Tim Potter
219ad7da07 r6175: Fix crash bug and compiler warnings in strchr_m() test. Bugzilla #2565.
(This used to be commit 17d13b5713)
2007-10-10 10:56:28 -05:00
Gerald Carter
b3e57cb3ff r5968: derrell's large file fix for libsmbclient (BUG 2505)
(This used to be commit 85be4c5df3)
2007-10-10 10:56:13 -05:00
Gerald Carter
cf1ebf6b62 r5749: fix some build issues
(This used to be commit 3f12dbb1cf)
2007-10-10 10:55:59 -05:00
Jeremy Allison
b6211e0262 r5641: Fix from James Peach @ SGI for oplock2 test.
Jeremy.
(This used to be commit 69e99d97d1)
2007-10-10 10:55:53 -05:00
Jeremy Allison
2f158e1565 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.
(This used to be commit 3d4d8bb654)
2007-10-10 10:55:48 -05:00
Jeremy Allison
9150205f98 r5525: Add extra case to torture to test this (we currently fail with the wrong
error message but we correctly deny the open).
Jeremy.
(This used to be commit 99b89867c3)
2007-10-10 10:55:45 -05:00
Gerald Carter
aedb05350a r4645: patch from Rob to fix the build breakage in vfstest after the reload_printers() cleanup
(This used to be commit 054b64fb86)
2007-10-10 10:53:49 -05:00
Volker Lendecke
c85d9e735c 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
(This used to be commit dc294c52e0)
2007-10-10 10:53:47 -05:00
Tim Potter
92e9793480 r4268: Merge fix for bugzilla #2150.
(This used to be commit f00ae4ab0c)
2007-10-10 10:53:41 -05:00
Jeremy Allison
54fdd5c7dc r4236: More *alloc fixes.
Jeremy.
(This used to be commit 6b25a6e088)
2007-10-10 10:53:39 -05:00
Herb Lewis
c7385a29d8 r4103: lock timeout is in milliseconds (as in reply.c)
(This used to be commit 1feda3649f)
2007-10-10 10:53:34 -05:00
Jeremy Allison
d330d8610d r3072: Fix for bug #1947 - incorrect use of getpwnam() etc. interface.
Jeremy.
(This used to be commit aaab112084)
2007-10-10 10:53:00 -05:00
Andrew Tridgell
d9b8eaabc5 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.
(This used to be commit 4ce0505bc3)
2007-10-10 10:52:54 -05:00
Rafal Szczesniak
c56e526e19 r2814: Exactly the same as "main" build fix.
rafal
(This used to be commit 7fa94c3895)
2007-10-10 10:52:53 -05:00
Andrew Bartlett
9d0783bf21 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
(This used to be commit 36741d3cf5)
2007-10-10 10:52:13 -05:00
Volker Lendecke
4499082b83 r1444: Another attempt to fulfil the 100% promise. There might be two dots at the
end...

Volker
(This used to be commit 65518960e5)
2007-10-10 10:52:11 -05:00
Volker Lendecke
8c518daa86 r1396: Give the build farm a chance to be clean before 3.0.5. We don't accept
filenames ending in a dot.

Volker
(This used to be commit f17cb54a6f)
2007-10-10 10:52:10 -05:00
Volker Lendecke
75925d8098 r1328: Fix the build
(This used to be commit 49f3f0412f)
2007-10-10 10:52:06 -05:00
Jeremy Allison
c531f726c4 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.
(This used to be commit fbc06831d3)
2007-10-10 10:52:06 -05:00
Jeremy Allison
2acd084866 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.
(This used to be commit cf84c0fe1a)
2007-10-10 10:51:57 -05:00
Jeremy Allison
bd04072585 r81: Make EA's case independent - fix smbtorture to test for this.
Jeremy.
(This used to be commit 0661357484)
2007-10-10 10:51:07 -05:00
Jeremy Allison
a1994d1c96 Ensure we cope correctly with ea length of zero. Detect torture fail correctly.
Jeremy.
(This used to be commit 43db249fb8)
2004-03-30 18:38:21 +00:00
Jeremy Allison
578d715755 Setting EA's to zero length deletes them.
Jeremy.
(This used to be commit 01fb871762)
2004-03-29 23:39:13 +00:00
Jeremy Allison
099974aa15 Fix get/set of EA's in client library. Added torture test for it.
Jeremy.
(This used to be commit 0d239a9c07)
2004-03-29 22:21:47 +00:00
Jeremy Allison
651d5b4683 Working (tested) client code for setting EA's by filename and fnum.
Now for parsing out the retrieved EA's.
Jeremy.
(This used to be commit 5eeeee302c)
2004-03-27 02:13:58 +00:00
Alexander Bokovoy
82053806f5 Fix build after Jeremy -- yet another place where convert_string() wasn't updated
(This used to be commit 9acd46ab46)
2004-03-12 12:57:39 +00:00
Andrew Bartlett
32665c36c8 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
(This used to be commit a893a324f3)
2004-03-09 11:15:44 +00:00
Jeremy Allison
863c784ef4 Merging Richard's rename test.
Jeremy.
(This used to be commit 5646b6c989)
2004-02-26 01:33:35 +00:00
Jim McDonough
24df38dbc6 Janitor for tpot...bugzilla #1098, msleep already exists on aix
(This used to be commit 4319df7fdc)
2004-02-23 02:54:03 +00:00
Jeremy Allison
ef8f827449 Make SMB_FILE_ACCESS_INFORMATION call work correctly.
Jeremy.
(This used to be commit 0ea0ada6c6)
2004-02-20 23:19:39 +00:00
Jeremy Allison
7d7849b18a 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.
(This used to be commit 5c6f8b1053)
2004-02-20 22:45:53 +00:00