1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
Commit Graph

2640 Commits

Author SHA1 Message Date
Jeremy Allison
a344155b8d r8782: Fix bug #2918. The problem was using Inbuffer to push a deferred open message onto the queue
when we're in a chained message set - we're actually processing a different
buffer then. Added current_inbuf as a static inside smbd/process.c to ensure the
correct message gets pushed and processed.
Jeremy.
(This used to be commit ccef758171)
2007-10-10 11:00:16 -05:00
Gerald Carter
9365669a59 r8697: BUG 2908: make sure to allow for the trailing NULL
(This used to be commit 3b505a8243)
2007-10-10 11:00:15 -05:00
Jeremy Allison
d6973499de r8695: Patch from James Peach for hires timestamps and efficient
notify code. Bugid #2285. The last commit by me on behalf
of James as he will be able to do his own now :-).
Jeremy.
(This used to be commit 524298b3f3)
2007-10-10 11:00:15 -05:00
Jeremy Allison
58a3749e9c r8689: Fixes bugid #2889 for sure. Turns out the OS/2 dos box doesn't like two offsets
to be identical. Make offsets for . and .. different (and explicit).
Jeremy.
(This used to be commit 217cc66e46)
2007-10-10 11:00:15 -05:00
Jeremy Allison
aa63997c23 r8655: Still trying to fix #2889. We don't need the DPTR_MASK after
all, now thinking it might be to do with flags2...
Jeremy.
(This used to be commit a3ceabf7c6)
2007-10-10 11:00:14 -05:00
Jeremy Allison
21cd4ee355 r8615: Added "acl group control". Defaults to off. Docs to follow.
Jeremy.
(This used to be commit f7b169ed57)
2007-10-10 11:00:13 -05:00
Jeremy Allison
78e3b4f04b r8610: If I'm going to do a debug level zero, at least make it useful.
Jeremy.
(This used to be commit 99dae22dcf)
2007-10-10 11:00:13 -05:00
Jeremy Allison
87801bc387 r8609: Fix for bugid #2889. I think the problem is that the top 16 bits of the "server state" field must be
non-zero. As we're using the 32 bit field as an offset then normally this field
will be zero. W2K3 fills this field with a counter enumerating the number of
SMBsearch calls on this directory - starting at 1. Add back the 1<<31 bit flag
DPTR_MASK to ensure this is non-zero - with better checks on use.
Jeremy.
(This used to be commit 6415657942)
2007-10-10 11:00:13 -05:00
Jeremy Allison
01822a7e05 r8556: Fix bug #2878 - Norton commander not running on OS/2 client - we were
not correctly returning the requested open mode. Thanks to alex@infobit.ru
for reporting this.
Jeremy.
(This used to be commit 7ff7211b80)
2007-10-10 11:00:09 -05:00
Jeremy Allison
a747f1b87a r8552: Warning fix from jason@ncac.gwu.edu.
Jeremy.
(This used to be commit 8558001b38)
2007-10-10 11:00:08 -05:00
Jeremy Allison
023d2162d9 r8547: Code tidyup from Jason Mader <jason@ncac.gwu.edu>. Bugid #2885.
Jeremy.
(This used to be commit 4d69a682b3)
2007-10-10 11:00:08 -05:00
Jeremy Allison
8ebef3f4c8 r8545: Fix oplock bug introduced by oplock code "simplification" :-).
We *always* reply to an exclusive oplock break message even if
we have no record of the oplock (and we always did before 3.0.20pre2).
Jeremy.
(This used to be commit b1a94aadf2)
2007-10-10 11:00:08 -05:00
Volker Lendecke
411be313dd r8531: Fix a memleak
(This used to be commit ebf0cda797)
2007-10-10 11:00:07 -05:00
Volker Lendecke
3c6e5f6d47 r8521: Another micro-step: Don't pass down a flag where not necessary.
Volker
(This used to be commit 5f51b72ec7)
2007-10-10 11:00:07 -05:00
Volker Lendecke
787e526652 r8508: Rename EXCLUSIVE_BREAK_SENT to BREAK_TO_NONE_SENT.
Volker
(This used to be commit 1993e409a5)
2007-10-10 11:00:07 -05:00
Volker Lendecke
4fffd271d0 r8492: open_mode_check does not use the parameter p_flags, so remove it.
Volker
(This used to be commit ed9cb0061d)
2007-10-10 11:00:06 -05:00
Gerald Carter
dae78e57e2 r8472: abartlet's patch for parallel ntlmssp supporttrunk/source/smbd/sesssetup.c
(This used to be commit aab17a7095)
2007-10-10 11:00:06 -05:00
Jeremy Allison
0d8ef1cec4 r8457: Fix from Marcel Müller <mueller@maazl.de> to ensure
we correctly set the return packet size to include
the pad bytes in reply_readbmpx().
Jeremy.
(This used to be commit 3070ec288c)
2007-10-10 11:00:05 -05:00
Günther Deschner
200ff9c1e9 r8454: Fix Bug #2502
Removing deprecated lp_min_password_length (the same functionality is
provided by the account policy).

Note that we now allow to set passwords less then 5 chars (if the admins
decides to do so by setting the account policy).

Thanks to Daniel Beschorner <db@unit-netz.de>

Guenther
(This used to be commit fd91378925)
2007-10-10 11:00:05 -05:00
Günther Deschner
60e18904e6 r8402: allow to build with --enable-aio-support.
Guenther
(This used to be commit 49351d91c5)
2007-10-10 11:00:04 -05:00
Jeremy Allison
e24397f084 r8292: Tidy up function comments.
Jeremy.
(This used to be commit 8de6b1592a)
2007-10-10 10:58:19 -05:00
Jeremy Allison
a5b39d1f74 r8290: Fix for bug in SMBwriteBraw where we incorrectly
returned the number of bytes written. Patch from
Marcel Müller <mueller@maazl.de>.
Jeremy.
(This used to be commit 81e7a4a2cf)
2007-10-10 10:58:19 -05:00
Volker Lendecke
a32a7969c5 r8231: Patch from James Peach to fix the IRIX build.
Thanks,

Volker
(This used to be commit 1ebb3aa0d5)
2007-10-10 10:58:18 -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
Jeremy Allison
9b782f4935 r7985: Add "acl map full control", true by default, to allow people to change
mapping of rwx to full control or not. Requested feature at SambaXP.
Jeremy.
(This used to be commit c870579f4c)
2007-10-10 10:58:06 -05:00
Jeremy Allison
bf547ff1ad r7981: MS-DFS tidyup patches from James Peach <jpeach@sgi.com>.
Looking forward to the day he can commit these himself :-).
Jeremy.
(This used to be commit 12ff297829)
2007-10-10 10:58:06 -05:00
Jeremy Allison
f2f55d703d r7963: Add aio support to 3.0.
Jeremy.
(This used to be commit 1de27da470)
2007-10-10 10:58:05 -05:00
Simo Sorce
7ebd74e6c5 r7961: randomize reloading so that smbds do not pverload cupsd
by reloading printers all at the same time.
						sss
(This used to be commit da227d5f43)
2007-10-10 10:58:05 -05:00
Jeremy Allison
afc7af3fdf r7948: Ensure we call the vfs connection hook before doing a vfs stat.
Allows database vfs backends to initialise with a working connection.
Bugid #2827
Jeremy.
(This used to be commit 7ef6850056)
2007-10-10 10:58:03 -05:00
Jeremy Allison
ff7e5c2673 r7893: Add in the extra parameters to opendir() to fix the large directory/insane app
problem. Rev vfs version. Doesn't change the normal codepath.
Jeremy.
(This used to be commit 0f03a6bdcd)
2007-10-10 10:58:02 -05:00
Jeremy Allison
292d11bee5 r7888: Fix use of "protected".
Jeremy.
(This used to be commit af5fd615b3)
2007-10-10 10:58:01 -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
Jeremy Allison
81ee941285 r7846: Fix from bugzilla@kevinjamieson.com Kevin Jamieson - typo
in checking for .. in statcache. Bugid #2819.
Jeremy.
(This used to be commit a5619d7179)
2007-10-10 10:57:59 -05:00
Jeremy Allison
7e509e9b99 r7842: With the patch I sent Steve yesterday this gives us complete POSIX pathnames.
ie. files containing : and \ can be accessed from Linux.
Jeremy.
(This used to be commit e9b8d23d61)
2007-10-10 10:57:59 -05:00
Jeremy Allison
e9d3cc656f r7821: Don't check permissions for setting POSIX pathname request.
Jeremy.
(This used to be commit 06b40024f3)
2007-10-10 10:57:22 -05:00
Jeremy Allison
bf28978a70 r7798: CIFSFS client assumes wcnt == 10 for successful trans2 reply.
Jeremy.
(This used to be commit aea58e6bb6)
2007-10-10 10:57:21 -05:00
Jeremy Allison
ea41eedc20 r7796: Prepare for client setting capabilities to select posix pathnames on
the wire. Jerry do not merge this please. New SMB_SET_FS_INFO - level
0x200 as was discussed on the mailing list.
Jeremy.
(This used to be commit 55029b1a0c)
2007-10-10 10:57:21 -05:00
Jeremy Allison
a5808e7ddb r7693: Fix from James Peach @ SGI for null pointer ACL free.
Jeremy.
(This used to be commit 000477943c)
2007-10-10 10:57:19 -05:00
Jeremy Allison
d9e12b4df7 r7662: Allow someone with SeTakeOwnershipPrivilege to chown the user
of a file to themself.
Jeremy.
(This used to be commit f3319e224d)
2007-10-10 10:57:18 -05:00
Gerald Carter
b162a396fe r7624: * removed unmatched tdb_lock_by_string() call (should fix build farm issues)
* comment out services.tdb code until I finish rewriting it
(This used to be commit 707b782228)
2007-10-10 10:57:17 -05:00
Gerald Carter
e9e00ee9c2 r7620: when adding a new printer driver, we should copy the files
(not move) to the W32X86/{2,3}/ directory.  Printmig.exe
copies the driver files for all drivers to print$/W32X86
and the calls AddPrinterDriver() for each driver.  If we
move the file, then adding a driver which shares a file with
a previous driver will fail.

I can now restore drivers in bulk to a Samba 3 server.
(This used to be commit 46cd95c9b4)
2007-10-10 10:57:17 -05:00
Jeremy Allison
df4f8fc1c6 r7618: Typo...
Jeremy.
(This used to be commit 65d1365700)
2007-10-10 10:57:17 -05:00
Jeremy Allison
741b0a97bb r7617: Fix for bug #2801 - delete veto files was broken with the new
large directory code.
Jeremy.
(This used to be commit f397cc08b5)
2007-10-10 10:57:16 -05:00
Gerald Carter
d559edcce2 r7563: svcctl patches from Marcin; have cleaned up formating and am checking the code in to snapshot it before I start changing more things
(This used to be commit 560ce111ce)
2007-10-10 10:57:14 -05:00
Jeremy Allison
a59149b86a r7550: Steal the correct error return for invalid TID on NTcreateX from Samba4
(thanks tridge !).
Jeremy.
(This used to be commit 0288823aac)
2007-10-10 10:57:13 -05:00
Jeremy Allison
c3fedee2a6 r7474: A *foul* and *disgusting* hack to ensure that, at the very lowest
level, . and .. are the first two entries returned when reading a
directory. This also means we can't seek to these offsets, but we
will never be doing that anyway (as far as I can think). The reason
we have to do this is that the NT4 explorer will happily display a
folder marked ".." as a clickable folder (and probably would display
"." as a clickable folder too) if these are not in positions zero
and one of the returned file list. W2K seems to have fixed this but
there are too many older systems out there... Never mind, more for
the "Undocumented CIFS talk", coming to a CIFS2005 conference near
you soon.... :-).
Jeremy.
(This used to be commit 7b6e907922)
2007-10-10 10:57:10 -05:00
Jeremy Allison
6d39f3bdce r7452: Set sparse flag if needed. Based on code from jpeach@sgi.com.
Fixes bug #2774.
Jeremy.
(This used to be commit 5d366047de)
2007-10-10 10:57:09 -05:00
Jeremy Allison
db0b2f9ebe r7447: Sync up a little between HEAD and 3.0 in preparation for moving
the AIO code across.
Jeremy.
(This used to be commit e9604e65f4)
2007-10-10 10:57:09 -05:00
Gerald Carter
129b461673 r7440: * merge registry server changes from trunk (so far) for more
printmig.exe work
* merge the sys_select_signal(char c) change from trunk
  in order to keeo the winbind code in sync
(This used to be commit a112c5570a)
2007-10-10 10:57:09 -05:00
Jeremy Allison
66bb4f03c3 r7412: Now we're not memset'ing ensure we're valgrind clean.
Jeremy.
(This used to be commit 0d303ab2f3)
2007-10-10 10:57:08 -05:00