Age | Commit message (Collapse) | Author | Files | Lines |
|
Merged from my Samba4 GSoC branch.
Volker, can you check if that's done the way you thought?
(This used to be commit f8560ea66ce522ff11d16f0e36e10853fe2639d7)
|
|
(This used to be commit 8f3e3a21008a2cb6ed73d8629aaf1fa565f19e79)
|
|
(This used to be commit f7e2eec35f7457ec70d75ef099b34f83c9dfd654)
|
|
(This used to be commit 595ea708ee8c9b6f86648dfdb5ff5a3feafe1f07)
|
|
In the future, we might put the new Linux splice(2) syscall here. This
should also work for reply_write, but getting that in is a bit trickier.
We need to decide very early before fetching the whole buffer that we
have a write call.
(This used to be commit 32921c878a7f60251a9217173951065784077077)
|
|
(This used to be commit cded66a7dc72d41e4d6ea90edd8b03ed080c042f)
|
|
(This used to be commit 4a5fa715a6af281282092644817599f79806981d)
|
|
(This used to be commit 26d1430283bd4ae8b8a84f3253e33417d509c1a4)
|
|
(This used to be commit 9ad91bd20592850d7b6393e1ac7f0e0919d69668)
|
|
(This used to be commit 748fdfbd7ba5cc844f1370a968465b19ae698f94)
|
|
(This used to be commit 30fd90346550f1c672edb51ab63b8139a6c4053e)
|
|
enums are not necessarily represented as 32-bit uints. On assignment
(see line 1029) implicit conversion happens, but not when pointers are
taken.
(This used to be commit 67ec6863dd91ca2421e4541add99dfd739805242)
|
|
Get the whole smb header from the second chained function, in particular
the error fields
(This used to be commit 0eb831ca0eadb725242cb4ad75eb7008a5c18bf2)
|
|
The argument to smb_setlen does not contain the nbt header of 4 bytes
The chained function might allocate outbuf itself (as now happens with
reply_read_and_X). This would erroneously overwrite the caller's outbuf.
Give it an outbuf pointer of it's own
(This used to be commit f923bba90866af14b32c0d0ab58acc00a5939fbb)
|
|
(This used to be commit 7af4c1f547accc973f8b3ed88958bdeaf941754a)
|
|
(This used to be commit 9d2354129dad1d4d015d463f138a196f9f72af2f)
|
|
(This used to be commit 304843315c5457ff0288d66d31f1ddb1ef2796f4)
|
|
(This used to be commit 96b218789401bb9e512339e7c6d9e0c9d9724420)
|
|
(This used to be commit 7926b5dfb8d05ad2fe40c3f7658a492f0450e505)
|
|
(This used to be commit 4e819aea0b783110d3b7a27105c588403e79eac9)
|
|
No idea what I've been smoking here.
Thanks to Stefan for closely looking
(This used to be commit 708f5af2e8c10d9a0d0027e3c31fa23689e746b8)
|
|
(This used to be commit 9ddacdfa131c4a4a852b3d30db1ee22d1852d0c2)
|
|
This is a temporary function anyway
(This used to be commit 9269e3d5882e97d1c884df6511fa6d63a7b1cfcd)
|
|
Jerry, please check this!
Thanks,
Volker
(This used to be commit db1b89072c3f214c3cb4be844cd7b417e5361615)
|
|
(This used to be commit 0ced8fcfe124f99159061143f29775aacd6e1c8f)
|
|
metze
(This used to be commit 34d821daf0af6ef1e51dfd5cd99741f426d6956e)
|
|
metze
(This used to be commit b9ae00f4980c305f2f7334b139f9bc72fd9afbd6)
|
|
metze
(This used to be commit 7a98e09f2e4d5eff074e2d71dd1ff2f019a4547a)
|
|
as we've done before revision 24002
metze
(This used to be commit 6014ecbbfd50bc8f4f351dec1f9dd35c3fe62456)
|
|
metze
(This used to be commit 1a177eb08d4022c1ef7b5400ffdf426bcb9b97ff)
|
|
as we've done before revision 24002
metze
(This used to be commit 2961a35e90aae44c8560b1f4b56bfa6343c837d7)
|
|
so use it...
metze
(This used to be commit 4154bee0d91dd2ace9a7a627418f652d0d11b959)
|
|
attached patches add EA support for Solaris. If no one disagrees, can
someone check this in please?
metze
(This used to be commit 81e5afc363e1f0bdc4768c0f5c696f4152fe5b44)
|
|
and alters the device id depending on the configured algorithm.
The algorithm is configured via "fileid:algorithm":
- "fsname" (default) uses a uint64 hash over the mount point
- "fsid" uses the fsid returned from statfs()
This is needed for "clustering = yes" on some clusterfilesystems
metze
(This used to be commit 30f9171cca3e4f523cde7dfc96096c32e5af50be)
|
|
We've checked num_rids != 0 above.
(This used to be commit dab5449f385248ab1fdd60b240ef6ad4a27ba7f2)
|
|
(This used to be commit 5ee0bfde50645b822cefefe90bc9168faeeb34ff)
|
|
left as nonzero as returned by the failed cli_session_setup_spnego. When we then try
to authenticate as the user in cli_session_setup this returns an
error "Bad userid" (as seen in wireshark).
"We should only leave cli->vuid != 0 on success. Looks like it's
getting set in the cli_session_setup_blob_receive() call and not
cleared again on error."
Jeremy.
(This used to be commit fa8e66dd8d2c68b91b27169c3c43820989f58758)
|
|
(This used to be commit c231f7b8f6025e2853eb6ecab43fe87566596234)
|
|
(This used to be commit f18b7a9a282ebb5c31a89a601798f9a0db51867e)
|
|
Remove the need for reply_prep_legacy for reply_pipe_write_and_X
(This used to be commit de143d5fa61aa487613dda729a43dc3d59a72899)
|
|
metze
(This used to be commit dd7e94258b0fc0157d890d71f05c6fe16b6a2ea9)
|
|
(This used to be commit 607e7d2447bf19eea872a3a4d1ad499a53f0a935)
|
|
(This used to be commit 36f2347561ab06b5d8175ad0a9c4da2817e759f9)
|
|
(This used to be commit 1297fac11778cb910d1bcd12b6d9d3a6269972db)
|
|
strlcpy does not like a NULL source. Fix a use-after-free.
(This used to be commit c2a214501788b5f0b6f555bd01ed310d331d07fa)
|
|
I had only tested with "net getlocalsid". posix_locking_init() calls this
with a NULL name...
(This used to be commit 3eee1fe28057e2e3da2e9d1506f57f3e35fd37b7)
|
|
This has been superseded by the "tdb_hashsize:<tdbname>" parameter
(This used to be commit df40d336afd256f05a0ec3724cc2096fb7114d81)
|
|
This makes it possible to set the default hashsize for any tdb. I would
like to remove the "open files database hash size" in favor of this one.
I'll check that removal in with the next commit, please complain/revert
if it's not ok.
Volker
(This used to be commit e9bd7a63a8d462b1fc3bab99ff843e25bffd156b)
|
|
The really pure bugfix would have replaced pparam by *pparam, but we pulled
the fid anyway.
Metze, in line 2421 the FSP_BELONGS_CONN is commented out, is that intended?
The FSCTL_CREATE_OR_GET_OBJECT_ID ioctl did not have it.
Volker
(This used to be commit 2c1376225b98a9325dfc2d00bad1722e63cf522b)
|
|
----------------------------------------------------------
In rare cases, Samba 3.0.25b shows directory contents at the wrong
position in the file tree when displaying a subdirectory of a DFS link.
The problem occurs whenever Windows XP asks for a DFS referral for a
subdirectory of a DFS link with a trailing backslash.
Windows does not do this very often, but we saw it several times per day
on our central DFS server.
smbd/msdfs.c, dfs_path_lookup() does the following with the requested
path:
- in line 390, the local copy 'localpath' is 'unix_convert'ed; the
trailing backslash is removed inside unix_convert
- in lines 417-20, 'dfspath' (another copy of the requested path) is
mangled another way without removing trailing backslashes
That's why the following loop (lines 435-461) that is meant to
synchronously cut off the last path component from both strings until it
comes to a DFS link, does not handle both strings the same. When the
original path ended with a backslash, 'canon_dfspath' has always one
component more than 'localpath', so that *consumedcntp gets too big in
line 446. This value is reported to the client.
----------------------------------------------------------
Bug #4860.
Jeremy.
(This used to be commit 42d1c6713a56197ca8dfebf74eb0d483102148f7)
|