| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Karolin
|
|
|
|
| |
(cherry picked from commit 79d68083411e9119933dbf5c850cb78f47e6f553)
|
|
|
|
|
|
| |
metze
(cherry picked from commit 1b7b0e924f3064a9774fd5d46bedc3d342b39ddb)
(cherry picked from commit f7a811f2ae3572791035014b6e20410b07ea011e)
|
|
|
|
|
|
| |
metze
(cherry picked from commit 2bb91392b46e347fe3b6803d10b10d8b40e4a4a6)
(cherry picked from commit 134893ef2b12b4b039c717588a8172613f6d1955)
|
|
|
|
|
|
|
|
|
|
| |
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(similar to commit feef594d275881466e2c3f59c0ff54609a9cc53b)
(cherry picked from commit 6a993cb333675f4079d439fa334edee2df604933)
(cherry picked from commit 8314ce63ff77f0472d4249adcea87123b3b3f5c2)
|
|
|
|
|
|
|
|
|
|
| |
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 543fa85a711337e979c7b631bda5db95d109ef59)
(cherry picked from commit 17efebde11eafd065c2cac39cdbe55b8d40d40be)
(cherry picked from commit 9e78bfdbe107519f2ddfa4d532771945a7691b46)
|
|
|
|
|
|
|
|
|
|
| |
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit f86ef9b53a903485deba94febf90dd4e657cc02b)
(cherry picked from commit a8040d59659e58c5cb92c1107a7ff012eff12729)
(cherry picked from commit 7baceea20252dec6b64e86ec8b5a73b62b373758)
|
|
|
|
|
|
|
|
|
|
| |
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit c2d4a84abe1b6cbf68d6e9f1bb1f8974d0b628fc)
(cherry picked from commit 2f27ffc4a2ba745341a5961b8f04e62da3fb089a)
(cherry picked from commit 132911954715bfa6df8566c0fb382ef07a7da96e)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
saf_join_store() should be called after a successful
domain join, the affinity to the dc used at join time
has a larger ttl, to avoid problems with delayed replication.
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 80e74a27c55c01221091e3eec930c2ac4433c22c)
(cherry picked from commit 895c40d03a07182c054a6fd857e7dd6838e698f4)
(cherry picked from commit 7b56268b3c9652e3089bd75e4e51dd626fa742a6)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the requested site
It could happen that all dcs in a site are unavailable
(some sites have only one dc) and then we need to fallback
to get all dcs.
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit c127367b1dd622eeceb1f47de0a047c297dda222)
(cherry picked from commit 0c43f96330f2935805ba4f0f8f858a027a90bc4c)
(cherry picked from commit caaf59383ceabdc555f7db098dae0455dea65023)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We use get_dc_name() for LDAP because it generates the selfwritten
krb5.conf with the correct kdc addresses and sets KRB5_CONFIG.
For CLDAP we need to use get_sorted_dc_list() to avoid recursion.
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit d2f7f81f4d61bae9c4be65cbc1bf962b6c24a31f)
(cherry picked from commit 7f779450cb0b0d9f36665c56c4acd0950daaeab2)
(cherry picked from commit 95c9a0272a72c029d75c3ffd1b5fad360b30f139)
|
|
|
|
|
|
|
|
|
|
|
|
| |
ads->config.tried_closest_dc was never set.
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit dfe5b00db35e1e7c7bb3ba36729fc3f97eb48db3)
(cherry picked from commit 588f5aae669910fee6da7f807f330163496b4170)
(cherry picked from commit b609f41baa035a15dafb18b2ec569a2b96968b17)
|
|
|
|
| |
(cherry picked from commit 6ffff93aa3d6e2ecf8716ad44db614cb746d1b56)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Windows returns NT_STATUS_FILE_IS_A_DIRECTORY, as does Samba 3.0. 3.2 and
following returned NT_STATUS_INVALID_PARAMETER which is wrong.
Before I converted reply_open_and_X to create_file() we called
open_file_ntcreate directly. Passing through open&X for a filename that exists
as a directory ends up in open_directory after having tried open_file_ntcreate.
Some check in there returns NT_STATUS_INVALID_PARAMETER. With this additional
FILE_NON_DIRECTORY_FILE flag we get the correct error message back from
create_file_unixpath before trying open_directory().
Survives make test, but as this also touches the other open variants I would
like others to review this.
Volker
(cherry picked from commit fc4366ca11cac97819eb06a744cf8e35b4524bcc)
|
|
|
|
|
|
|
| |
Crap, too many trees and no instant, infinitely fast rebuild
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 6459f00d1cad1d5e9e14851610ca7a92406ad54a)
|
|
|
|
|
|
|
| |
from commit 3c93c96fd0fe362c35fe8127058f94868abc9342)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 011bcdec1960f4e62538046814d381938956644c)
|
|
|
|
|
|
|
| |
from commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 25e2ff536b2eeffa18b91ab2141d8350d2130824)
|
|
|
|
|
| |
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit ca5ee1861f0aa170eb862efdb27256a62f20e2b0)
|
|
|
|
| |
(cherry picked from commit efa578bbfe49fdcb14ae6e390a0d54810174dfbc)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is done to help file systems that can tell us about the real upper/lower
case combination given a case-insensitive file name. The sample I will soon
push is the gpfs module (recent gpfs has a get_real_filename function), others
might have a similar function to help alleviate the 1million files in a single
directory problem.
Jeremy, please comment!
Thanks,
Volker
(cherry picked from commit bddb6a770f036a21f5485e4f1167628f70d56079)
|
|
|
|
|
| |
It sets errno, so it might as well return 0/-1.
(cherry picked from commit 95050a708c145e99f3c317a5e6834352cbdf5a8c)
|
|
|
|
| |
(cherry picked from commit 915b6fbf269a542603da289d8f67b6ca5226e1a0)
|
|
|
|
| |
(cherry picked from commit 9ce0855c11ed437e7e0776dbf725751ea7b84959)
|
|
|
|
|
| |
Karolin
(cherry picked from commit eef7ee5f31dc94639580b01283bc0dbe9a90dbde)
|
|
|
|
|
|
|
|
|
|
|
| |
The current name resolution scheme in mount.cifs is IPv4 only. Expand
it to be protocol-independent. Also take advantage of the fact that
getaddrinfo() returns a list of addresses and have mount.cifs try each
in turn until it hits one that's reachable and allows the socket to
connect.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 4f19e0850bb457b41ea2953ca0d4e9aeaf3bc09a)
|
|
|
|
|
| |
Guenther
(cherry picked from commit a42b38b34d4e97d2c196e67aef3b01d4f043b646)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 273edcb97c19e6318002aa9af950da22018a64dd)
|
|
|
|
|
| |
Guenther
(cherry picked from commit b39c3b6445a80cb04e131947408da6af689c5ac7)
|
|
|
|
|
|
| |
f5212c64d23a28fa40a14b45a8d1c0181f01a6da)
(cherry picked from commit a9b2522b6c400c5594073ff4b2a40983b5c492e7)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 210e4cb42833fc6e4f934bd5f4406f37ee0a347d)
|
|
|
|
|
| |
Guenther
(cherry picked from commit c1b0bfeefa57cdb0e2234474027003257a521ab8)
|
|
|
|
|
| |
Andreas Schneider, please check!
(cherry picked from commit 3673581e02baa1c65d8d08df041f2ebf9ee1780c)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 9e8aa924f34c1db89151e83f3b561c043da0c994)
|
|
|
|
|
| |
Guenther
(cherry picked from commit c38e067dffea512ff67384e6e2850ab682c27f46)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 7b2b810d30bf58df83ec3f2ec7505c43187d62f9)
|
|
|
|
|
| |
Guenther
(cherry picked from commit a8484c418afb5bb611e3b126e09e90d375f40b22)
|
|
|
|
|
|
| |
Guenther
(This used to be commit 6c346d0eb20af5ba9b09f30319420f7c91480da6)
(cherry picked from commit f97468bfecd3d227c7e942cb56f32c6aecf0887b)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 2dfeb2d5970f52e4948e22a2a4e4f47479a550dc)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 60222a78c00ad9d1d09789024184c430bff0f68b)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 650077c22b2e67815c9a2fd8a1cc56986c0aaced)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 704b0d35707483a8fbf89da55a2d161375e56b3a)
|
|
|
|
| |
(cherry picked from commit 7eea7edfd02778599771edd3356888c848578766)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 7a3091a48b844bbad93c61a0570fd23bd87f76e1)
|
|
|
|
|
|
|
| |
other calls as well.
Guenther
(cherry picked from commit 332456f09bfea29e5a6558b5bd3b8c585892a3f5)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 4260aadc2e00b6856d5cc2365ab751f3458472d5)
|
|
|
|
|
| |
Guenther
(cherry picked from commit e22e9c09d1cb9102180b2a5401d21f391894f1ac)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 2edf2cef9cb43a65ce8ee8e8a782d248856030dd)
|
|
|
|
|
| |
Guenther
(cherry picked from commit c94cd674409f01d71bd9174829b1f05b95c50703)
|
|
|
|
|
| |
Guenther
(cherry picked from commit e00a25dbba3daf06c744f998967c27c8a539e558)
|
|
|
|
|
| |
Guenther
(cherry picked from commit b5e5124439b0215c2a82bf816f364661b4ba7785)
|