| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This reverts commit 2e65d8bce755ddfa35bae5ad4c5107db7e18515a.
|
|
|
|
|
| |
Not sure if we can ever not get domain and dns_domain, but gcc complained
(cherry picked from commit e56b0b947a5c357c4e84b330c38d7a7f569be201)
|
|
|
|
|
|
|
|
| |
<fumiyas@osstech.co.jp>.
Fix for smbclient and libsmbclient.
Jeremy.
(cherry picked from commit 71d00ef2888834ebed2a387a111a95bac1d227ad)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 738729cad0b88a2f453d61d38e1088003afd0a9e)
|
|
|
|
|
|
|
|
|
| |
This is a step in fixing bug 5707.
Thanks to Igor Galić <i.galic@brainsware.org> for reporting!
Volker
(cherry picked from commit 1558a5c1977b1f87600ec487238fa8db009f41fd)
|
|
|
|
| |
(cherry picked from commit 85dd9c64ca2ffa31d02ee10a3745fd596e80786e)
|
|
|
|
|
|
|
|
|
|
| |
When we negotiated NETLOGON_NEG_PASSWORD_SET2 we need to use
NetrServerPasswordSet2 to change the machine password.
Tested with NT4, W2k, W2k3 and W2k8.
Guenther
(cherry picked from commit 8ae7040a5e64f1a1d2088aeca1dab90470455d8a)
|
|
|
|
| |
This reverts commit 6d42b1e372b67eba83dbd5200bfb131b74cac180.
|
|
|
|
|
|
|
|
|
|
| |
When we negotiated NETLOGON_NEG_PASSWORD_SET2 we need to use
NetrServerPasswordSet2 to change the machine password.
Tested with NT4, W2k, W2k3 and W2k8.
Guenther
(cherry picked from commit 8ae7040a5e64f1a1d2088aeca1dab90470455d8a)
|
|
|
|
|
|
| |
(sorry).
(cherry picked from commit e2caa65a698ca7109aa44656ff9399104cf0663b)
|
|
|
|
|
|
|
| |
dos errors are used and there is no error. It should
be mapped directly to NT_STATUS_OK. smbclient to older
servers didn't work.
(cherry picked from commit 43054b199cb2a5f12c8e0c2bb14cf2328a945152)
|
|
|
|
|
|
|
|
|
|
| |
Here is a patch to allow many subsystems to be re-initialized. The only
functional change I made was to remove the null context tracking, as the memory
allocated here is designed to be left for the complete lifetime of the program.
Freeing this early (when all smb contexts are destroyed) could crash other
users of talloc.
Jeremy.
(cherry picked from commit 4779f1efccc8364fd8b3ba446aa96ba0bddec689)
|
|
|
|
|
| |
Guenther
(cherry picked from commit eb7c3dc2ca92ef7885eef8f89e4397b5df486b65)
|
|
|
|
|
|
|
| |
before we compile the new code.
Jeremy.
(cherry picked from commit fc309e41a45079d58c03dc6fb0c35ceb4517f0ae)
|
|
|
|
|
|
|
| |
krb5_auth_con_set_req_cksumtype().
Jeremy.
(cherry picked from commit 02862653724355b32e0c6e38e0ebcbb1a9954759)
|
|
|
|
|
|
| |
work by me and advice by Love.
Jeremy.
(cherry picked from commit 5f419135ba1acae6bc37692fa77ae1162b62e0e3)
|
|
|
|
|
|
| |
as proposed by James Peach.
Jeremy.
(cherry picked from commit 1ee1e8306f3578c19fe015145eb8da1013f7b820)
|
|
|
|
|
| |
Signed-off-by: Andreas Schneider <anschneider@suse.de>
(cherry picked from commit 88c9cf2fdc8f3d704f7f27c25ef6dc6940d451d3)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 8dd833b908cc8d4c0aa34cdece014d0e160aaf9e)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 096ff390a24ce971c9a207493dc1b5d9f88518b6)
|
|
|
|
|
|
|
|
|
|
|
| |
Jerry promised to check :-). Vl also please review.
Jeremy.
Okay -- I have to admit that this is the better fix. With my fixes I got a
double-free when using security=domain. Sorry...
Volker
(cherry picked from commit 3b0d688b1b16c9054340d08986d0fa91f7fff9ad)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Win2008 domain (merged from v3-0-test).
commit 8dc4e979776aae0ecaa74b51dc1eac78a7631405
Author: Steven Danneman <sdanneman@isilon.com>
Date: Wed May 7 13:34:26 2008 -0700
spnego SPN fix when contacting trusted domains
cli_session_setup_spnego() was not taking into consideration the situation
where we're connecting to a trusted domain, specifically one (like W2K8)
which doesn't return a SPN in the NegTokenInit.
This caused two problems:
1) When guessing the SPN using kerberos_get_default_realm_from_ccache() we
were always using our default realm, not the realm of the domain we're
connecting to.
2) When falling back on NTLMSSP for authentication we were passing the name
of the domain we're connecting to for use in our credentials when we should be
passing our own workgroup name.
The fix for both was to split the single "domain" parameter into
"user_domain" and "dest_realm" parameters. We use the "user_domain"
parameter to pass into the NTLM call, and we used "dest_realm" to create an SPN
if none was returned in the NegTokenInit2 packet. If no "dest_realm" is
provided we assume we're connecting to our own domain and use the credentials
cache to build the SPN.
Since we have a reasonable guess at the SPN, I removed the check that defaults
us directly to NTLM when negHint is empty.
(cherry picked from b78b14c88e8354aadf9ba7644bdb1c29245fe419)
(cherry picked from commit f1e6b40bbc8ce249e2f2a85a1d57ed6b8141e3bb)
|
|
|
|
|
|
|
| |
buffers for large read/write - make sure we take account of the large
read/write SMB headers as well as the buffer space.
Jeremy.
(cherry picked from commit 220bb029a9f32a011c59013076eaeb3a86dc8843)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit a48df9ce84d7b365465e70d8ec27d9b5fcf59b45)
|
|
|
|
| |
(cherry picked from commit e7a295fa27f4bc7c0661873ef0d9661cfa9b14d0)
|
|
|
|
|
|
| |
can result in a buffer overrun.
Jeremy.
(cherry picked from commit 353d9cb0fdd941781698c6b334db5f2997eef991)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 355fb81e9e42e507717f33a11793258db9169199)
(cherry picked from commit bcf721770d2a76df85737596d6b73e9e6d982c32)
|
|
|
|
|
|
|
| |
Should have been removed with b7f34e7ef2907b498a0645ce68f2773ed7d60cdc.
Maybe lost because of picking cherries in the wrong order.
Karolin
|
|
|
|
|
| |
Guenther
(cherry picked from commit a01ed719c31998620927dc9b1664ba8e36bd9b21)
|
|
|
|
|
| |
Guenther
(cherry picked from commit e305368538eaa72e3008a5517db3708936924297)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 255e509474cae92802e90613ccaddb6627ee77cd)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 12e47be02f93e2f41af5772f6a83568b3574d032)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 836877c4005ba081c0a4cc97726830d6dbd62d34)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 4b3617bf505a835a6d4bb9b80c4ad837a2082dea)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 5b0eda98f3d127399770f7a037ad3277dbe23393)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 7889516a384c155a9045aad4409c041fddd0d98d)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 2c0a96f1e5fc065fdbeb5671cfa693009321dde8)
|
|
|
|
|
| |
Guenther
(cherry picked from commit eb7fee6e2a00326c03aa013058247e06279a4930)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 56be9c98d24e64bf855439df21766d30f448f407)
|
|
|
|
|
|
|
|
|
| |
While storing always a type 29 reply structure in gencache, we are now able to
deliver correct data according to return flags such as DS_RETURN_FLAT_NAME and
DS_RETURN_DNS_NAME out of the cached data from gencache.
Guenther
(cherry picked from commit c67b6dc0ca866781043e443177d550e23b83ae36)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 4b56c294e8ba045c84cab538b3d286e433d292ed)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 847f258632f6d49a3fd45f466c5d3d8c6222ff85)
|
|
|
|
|
| |
Guenther
(cherry picked from commit d13fe66f3d9ba152e3e8197ee6682e175163a6cd)
|
|
|
|
|
| |
Guenther
(cherry picked from commit f48b2e844b673e99c84cb24f3c3718352ab93ce5)
|
|
|
|
|
|
|
| |
everywhere.
Guenther
(cherry picked from commit fe904ee77a7fec1674e9db660978c40c17897f77)
|
|
|
|
| |
(cherry picked from commit e7a4027acf38bf5800d9d8ba477afb5daaf517ce)
|
|
|
|
|
| |
Guenther
(cherry picked from commit bc0d7a90dcc7bf702b24feb16abf4634ff178671)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 1009123b8600e6ccebe180f4a2f87c217638fef8)
|
|
|
|
|
| |
Guenther
(cherry picked from commit a3e5b073f0474543ca74b40775ce1d7f80719c96)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 9db2e50a20caabaf90ce03203a066ddd7820d33a)
|