| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix some typos
- Document better the differences in the behaviour between talloc 1.X and 2.X.
Previously this seemed a bit spongy to me.
Reviewed-by: Jelmer + Tridge
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Apr 4 11:05:42 CEST 2011 on sn-devel-104
(cherry picked from commit 513574afd759bcb3832374d3ae170f1ed0b0062b)
(cherry picked from commit db9670dd163432d6758a81c5aa6000c13e61b14a)
|
|
|
|
|
|
|
|
|
| |
Otherwise tc->name will end up pointing to garbage when it is not
set to a const but rather to a string allocate as child of the context itself.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
(cherry picked from commit 52182a528117c4dd9624f64b34a873c0903ad70a)
(cherry picked from commit 99495ea4d28de530fedc11c94d36bc304cf9ae4a)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This ensures that the sibling list of a pointer doesn't become invalid
during a free operation. It is an alternative fix to the fix in
6f51a1f45bf4de062cce7a562477e8140630a53d, and avoids the problem of
trying to calculate the parent pointer early
This should fix the subtle spoolss talloc bug that Simo found
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Aug 9 01:53:17 CEST 2011 on sn-devel-104
(cherry picked from commit cf986f200804ce873b43c1ecf2d5e1bd08eb8a25)
(cherry picked from commit 07554082cc9d286ca0628179c9e7f7a493016a57)
|
|
|
|
|
| |
Fix bug #8370 (vfs_chown_fsp broken -- returns in the wrong directory).
(cherry picked from commit 909ff854168bf89e8502ff1994a926613ca5a1d5)
|
|
|
|
|
|
| |
system libs exist
(cherry picked from commit c544a744db67c2860065b1c5d70dc14ac0fa19ba)
|
|
|
|
|
|
|
| |
with NULL
this fixes the fallback to the deprecated spelling idmap:script
(cherry picked from commit 9a41e24753b49b8ef1653dde763fb0764884e616)
|
|
|
|
|
|
|
|
| |
Signed-off-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit f0901792324425804592ac7032e3853b4d4c7829)
Fix bug #8365 (backport compiler warnings).
(cherry picked from commit 7039bbcd96a780965d69668d6541d316f7a4cd56)
|
|
|
|
|
| |
OS/2 sends an unexpected write&x/read&x chain
(cherry picked from commit 2aca833308049d005c647aabcd9d894f59698ef4)
|
|
|
|
|
|
|
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed May 18 11:58:14 CEST 2011 on sn-devel-104
(cherry picked from commit 192198ad70474e56d4708b65482eee976ea78a05)
Fix bug #8364 (gpfs vfs module build broken).
(cherry picked from commit 8ddea73f7845ee59d4035d40da87664e21e96ed9)
|
|
|
|
|
|
|
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Tue Aug 9 19:29:08 CEST 2011 on sn-devel-104
(cherry picked from commit 1e76662ae6aa77d7b6e9e8a0266fcb1a1320a7fb)
Fix bug #8363 (vfs_prealloc build broken on SLES8).
(cherry picked from commit 3f791d40daeaac748d5ebc86c8cbd8ce2c580aa9)
|
|
|
|
|
|
|
|
|
| |
0645deb1b4a70e45f88116fae16ec7f3a1b4d5ed)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Fix bug #7864 (cli_errstr() usage is wrong).
(cherry picked from commit 6b3b5f7dbe0cde783cf557f30865ef684e10ffd5)
|
|
|
|
|
|
| |
The last 4 patches address bug #8338 (MAC Lion - smbclient "Open AndX
Request->STATUS_NOT_SUPPORTED).
(cherry picked from commit 7803eec63dac2fa930ee3a33bcdb2921b5fb970a)
|
|
|
|
| |
(cherry picked from commit e7f68cc2a76edd8f7cccdc0445c6b9d61e111f46)
|
|
|
|
| |
(cherry picked from commit eb7a5a708ee39f3284983055a39889c98463366f)
|
|
|
|
| |
(cherry picked from commit c9f921156534d38ea2a40d3c5ce8b99d308e5340)
|
|
|
|
|
|
|
|
| |
This has been changed by one of the last minute commits.
Thanks to Christian Ambach for reporting!
Karolin
(cherry picked from commit 144f8dd732d47f1360741d516152993ac88cf9b9)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 185548092daa18a8630ae929a1372dc1e226c5f3)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 8498acb8f8c9e4db23f1845e00b7a76a38ba5d31)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 76022256cd23cd71354e21384e2350c761e9f373)
|
|
|
|
|
|
|
| |
simplify the check insmbacl4_find_equal_special()
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit d1ab64cbc2d62744f541eea0d80d7b522416ac1c)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we should not merge ACEs with different flags (e.g. CI/OI/I/)
Otherwise ACLs get wrong entries and thus wrong semantics
Example:
ACL:BUILTIN\Users:ALLOWED/0x0/FULL
ACL:BUILTIN\Users:ALLOWED/I/READ
got merged to
ACL:BUILTIN\Users:ALLOWED/I/FULL
This is not the same and also leads to wrong displays
in the Windows ACL dialog
Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Wed Jul 27 16:03:51 CEST 2011 on sn-devel-104
(cherry picked from commit 3c05013694c453411b78a1df884a80c8d48e7393)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ignore fd events without EVENT_FD_READ or EVENT_FD_WRITE also in
run_events_poll(). They are ignore when building the array
for the syscall in event_add_to_poll_args(), so we need to
ignore them run_events_poll() too.
metze
Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Aug 9 10:11:54 CEST 2011 on sn-devel-104
(cherry picked from commit 020032e114c0e966acf24f24e707942219d60cf3)
Fix bug #8358 (smbd exits with NT_STATUS_INTERNAL_ERROR in run_poll_events()).
(cherry picked from commit 6a587c926b7fdcb934b916a29bdd04bd0ef606b9)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(bug #8357)
Currently we skip, the "gone async" interim response on read and write,
this caused the aio code path to grant 0 credits to the client
in the read/write responses.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Aug 7 22:23:57 CEST 2011 on sn-devel-104
(cherry picked from commit 47bffb9b9243dc72d7305cd9ec3e63e176841bf5)
(cherry picked from commit cbd408df89ec51fb06fbfb935458eb8425639bed)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SLES 9's glibc for example had weird macros where the use of strncat resulted
in the use of strcat which we don't allow.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Thu Aug 4 17:50:24 CEST 2011 on sn-devel-104
(cherry picked from commit d3b4d75364210e2d2a4a1cd806f28b0021f22909)
Fix bug #8362 (build issue on old glibc systems).
(cherry picked from commit 87fa72a5202fe3780d4a61289bf755027cd078f4)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is more portable, as we have a strtoll replacement
in lib/replace.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Aug 6 11:55:45 CEST 2011 on sn-devel-104
(cherry picked from commit a6be0820d09b3f3eabfbb5f4356add303aa8a494)
Fix bug #8347 (CVE-2011-2522 regression for HP-UX, AIX and OSF).
(cherry picked from commit be41d88e55237214e5a27f7bd8d8c15e27d31579)
|
|
|
|
|
| |
Karolin
(cherry picked from commit d6f841bb3e465e7f05a886eafcb54f8d53b54327)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Found when reading with aio_fork beyond the end of file.
Metze, Jeremy, please check!
Without this we get
[2011/08/02 21:02:54.082661, 0] lib/util.c:778(smb_panic_s3)
PANIC (pid 2302): smbd/smb2_read.c:593: Type mismatch: name[NULL] expected[struct smbd_smb2_read_state]
[2011/08/02 21:02:54.094316, 0] lib/util.c:882(log_stack_trace)
BACKTRACE: 23 stack frames:
#0 bin/smbd(log_stack_trace+0x2d) [0xb72873d8]
#1 bin/smbd(smb_panic_s3+0x7c) [0xb7287529]
#2 bin/smbd(smb_panic+0x2f) [0xb7277e1f]
#3 /root/git/s3-work/source3/bin/libtalloc.so.2 [0xb6c6bc48]
#4 /root/git/s3-work/source3/bin/libtalloc.so.2 [0xb6c6ec79]
#5 /root/git/s3-work/source3/bin/libtalloc.so.2(_talloc_get_type_abort+0x34) [0xb6c6ecb3]
#6 bin/smbd [0xb6fbc405]
#7 bin/smbd(_tevent_req_notify_callback+0x4a) [0xb729a85a]
#8 bin/smbd [0xb729a888]
#9 bin/smbd(_tevent_req_done+0x19) [0xb729aa73]
#10 bin/smbd [0xb6fae517]
#11 bin/smbd [0xb6fad258]
#12 bin/smbd(smbd_aio_complete_aio_ex+0xf5) [0xb6fad6e8]
#13 /root/git/inst/modules/vfs/aio_fork.so [0xb66d4992]
#14 bin/smbd(run_events_poll+0x400) [0xb7297df2]
#15 bin/smbd(smbd_process+0xd75) [0xb6f9d3a7]
#16 bin/smbd [0xb756f07b]
#17 bin/smbd(run_events_poll+0x400) [0xb7297df2]
#18 bin/smbd [0xb7298254]
#19 bin/smbd(_tevent_loop_once+0x9e) [0xb72986ac]
#20 bin/smbd(main+0x185c) [0xb7570e59]
#21 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb6b08455]
#22 bin/smbd [0xb6f14e01]
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Aug 2 22:33:15 CEST 2011 on sn-devel-104
(cherry picked from commit 5068a0d14df8cc6f1b4517c64f4356abc6606b58)
Fix bug #8343 (SMB2 crash reading with aio_fork beyond the end of file).
(cherry picked from commit ad75107a33ff7e70d9939b80b3e7e06265ee030e)
|
|
|
|
|
|
|
|
|
|
|
| |
...lib/tevent/tevent_signal.c
Make SA_RESETHAND conditional on its existance.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Aug 1 22:03:45 CEST 2011 on sn-devel-104
(cherry picked from commit 0c67efdd68b9808542c090b9fd9920e4e37d85d0)
(cherry picked from commit 4b4155c7235d8ec0c93324a782bc815ef08a7ba3)
|
|
|
|
|
|
|
|
| |
via an uri
Fix null deref.
(cherry picked from commit cf0c36ab9a5129878b92a52d22aa814eaa737a4c)
(cherry picked from commit ca293af1f06891dfd13171d418047e4fa8c4fc14)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Check for HAVE_CTDB_CONTROL_SCHEDULE_FOR_DELETION_DECL instead of
CTDB_CONTROL_SCHEDULE_FOR_DELETION, which is an enum member and not a
define.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jul 12 18:56:30 CEST 2011 on sn-devel-104
(cherry picked from commit b807c58b655f1ffbf849f5de9eef66136bdb4a52)
(cherry picked from commit 3932178dd3a54723484e833cddf58ff68e7c3417)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
smb2_validate_message_id: bad message_id
Modify the credit granting algorithm to closer to what I believe
Windows does.
Split up max_credits into 1/16ths, and then scale
the requested credits by how many 16ths have been
currently granted. Less than 1/16th == grant all
requested (100%), scale down as more have been
granted. Never ask for less than 1 if the client
asked for at least 1.
(cherry picked from commit 3e854564315a7bdc5d9837526a813b2b858e0563)
|
|
|
|
|
|
|
|
| |
smb2_validate_message_id: bad message_id
Set default max credits to 8192 now this has been documented in the
SMB2 spec.
(cherry picked from commit 9d579ed2398d7f88c9c02076e612eed877d1ec88)
|
|
|
|
|
|
|
|
|
|
|
|
| |
registry shares
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Jul 22 16:53:49 CEST 2011 on sn-devel-104
(cherry picked from commit efbe1602bd014eada4811f336bdccbf4692d3807)
The last 2 patches address bug 8327 (config reload fails to reload shares from
registry).
(cherry picked from commit 254cc7ae23f2b0108bada37b6b59dd90ac198469)
|
|
|
|
|
|
| |
loaded (cherry picked from commit ec113a58a4dc4e4f3ea03f7818eb312325f69482)
(cherry picked from commit cc3c8d10940ef5d5d0e636b0f9d46606d46b0dc7)
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes WinXP joining a Samba3 domain, which was broken on hosts
with an even number of characters in the host name. The alignment
requested in the structure was ignored because of the overall
NDR_NOALIGN set on the packet.
Andrew Bartlett
Fix bug #8326 (WinXP cannot join a Samba3 domain with a 'even' hostname).
(cherry picked from commit 24fe5fea8fb7839dcbcf39a346a31c9e90e7beb9)
|
|
|
|
|
|
| |
Two uses of the setup array are not being correctly byte-swapped to little
endian.
(cherry picked from commit 146549d7250fefb365675154f0916c37e56faa5d)
|
|
|
|
|
|
|
| |
3b2fe4728d6d916508b677e696ecad88f8b7b9fd
Fix bug #8329 (a code file was accidentially commited).
(cherry picked from commit 0f9a24b7dc9aaae6145ec409191fc16b07c601a8)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In ancient times, when ctdb had not support for persistent databases and
tdb2 was introduced as a two-layer solution and it was more important than
today to be able to change the location of the permanent database file
because it had to reside on shared storage.
But these were times when idmap_tdb2 was not even officially released.
Nowadays, with ctdb handling the persistent idmap2.tdb database, the path
is stripped anyways, so this undocumented option has become unnecessary
and is hence removed.
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Jul 27 05:37:57 CEST 2011 on sn-devel-104
(cherry picked from commit 3276060da4e7d495bd5cf5cbf7237e64d948ee77)
The last 10 patches address
bug #8328 (final cleanup of idmap_tdb2 code and docs needed for release).
(cherry picked from commit 742b8c3c14ec8708eb5bfe5e7960c1c93ec0096c)
|
|
|
|
|
|
| |
67cd2f9d867fad1f7df2d6a6a5cdb723336ac495)
(cherry picked from commit 55019ced08d235a3ba9ae27b06379fcb827f9b28)
|
|
|
|
|
|
| |
4b5ada3d27198b49771acb70ae979087235be783)
(cherry picked from commit 4369aeb41c2fafd6a1e0baff5cbb05d223e869ab)
|
|
|
|
|
|
| |
picked from commit 551185573899b6e608863f833633d40ae04458d8)
(cherry picked from commit 5a5b069166d5f224526f6cae049fa14cf35c426a)
|
|
|
|
|
|
| |
picked from commit 7d3dc2164b3929c642127659593e69fc865a6184)
(cherry picked from commit 7f56b6269792300237193b69541f73fb32a986b3)
|
|
|
|
|
|
| |
picked from commit 86973eee43605a3680fb51470a81ea9ca7f1b515)
(cherry picked from commit 2abe73e5eed10af4ee030449322ddbc4c7054c08)
|
|
|
|
|
|
| |
(cherry picked from commit 2f253c2791ccb2421f26f563e3983ee950da1d05)
(cherry picked from commit 66216f6325f33c2a1d7c3e114754efc78d61aae2)
|
|
|
|
|
|
| |
picked from commit 4daab85ae60f2821a1d9d98f1edff6a318e8e3c1)
(cherry picked from commit 29e39194aaa15c44178b16a4abc5583f5ff4688f)
|
|
|
|
|
|
| |
to reflect the new variant "idmap config * : script" of configuring the idmap script
(cherry picked from commit 2aa19b4aeb9de43a0e2b94ad1202f2068b29c710)
(cherry picked from commit 22b9dc3f66c6786a962d7cb462b372fb955a199e)
|
|
|
|
|
|
|
|
|
|
|
| |
: script" instead
With this patch, "idmap config * : script" will override "idmap : script".
If "idmap : script" is present, a deprecation warning will be printed in any
case. If "idmap config * : script" is not set, then the value of "idmap :script"
will be used for backwards compatibility.
(cherry picked from commit b6c82f18f17cdded771d285930566c1d104686aa)
(cherry picked from commit 7812ce547973a0ad5a69c64e8e708e1b9f3a8687)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 5f9bc1433738002acd9a93946955494908af9c05)
|
|
|
|
|
| |
Karolin
(cherry picked from commit ef152f60c2be5b51c042979ad29596309059af1d)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 1a045c461ec74001596e9ccf8a676328216e547f)
|