| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Dec 7 18:23:41 CET 2010 on sn-devel-104
(cherry picked from commit 363b81899401f01de11ddbd8036b55a472806b38)
|
|
|
|
|
|
|
|
| |
Thanks to Tridge for the hint.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Jan 2 10:58:51 CET 2011 on sn-devel-104
(cherry picked from commit 23693fe3c51ac89db64fefed292f7e4ff38e00e8)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cli_rpc_pipe_open_schannel_with_key().
Initially, the schannel creds were talloc memduped, then, during the netlogon
creds client merge (baf7274fed2f1ae7a9e3a57160bf5471566e636c) they were first
talloc_referenced and then later (53765c81f726a8c056cc4e57004592dd489975c9)
talloc_moved.
The issue with using talloc_move here is that users of that function in winbind
will only be able to have two schanneled connections, as the cached schannel
credentials pointer from the netlogon pipe will be set to NULL. Do a deep copy
of the struct instead.
Guenther
(cherry picked from commit 898c6123355a3a11ec17f0396c4cb3018c75c184)
(cherry picked from commit 68e83f9fedf0a0f0fa412d3ecec8ee853bf82bac)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix bug #7669 (buffer overflow in sid_parse() in Samba3 and dom_sid_parse in
Samba4).
CVE-2010-3069:
===========
Description
===========
All current released versions of Samba are vulnerable to
a buffer overrun vulnerability. The sid_parse() function
(and related dom_sid_parse() function in the source4 code)
do not correctly check their input lengths when reading a
binary representation of a Windows SID (Security ID). This
allows a malicious client to send a sid that can overflow
the stack variable that is being used to store the SID in the
Samba smbd server.
A connection to a file share is needed to exploit this
vulnerability, either authenticated or unauthenticated
(guest connection).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We should never be calling asn1_push_XXX functions inside an asn1
reading function. Change asn1_push_tag() -> asn1_start_tag() and
asn1_pop_tag() -> asn1_end_tag(). This allows us to connect to a
NetApp filer at the Microsoft plugfest.
Andrew PLEASE CHECK !
Jeremy.
Fix bug #7449 (spnego data mis-parsed - returns incorrect mechListMIC string).
(cherry picked from commit 70098b751c10e632738f687976e6ef5e5fb2fc7b)
|
|
|
|
| |
(cherry picked from commit 7e430f3093c5bc06d8ca1186f982fe51af8c5637)
|
|
|
|
|
|
| |
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
(cherry picked from commit e66911390005f377196d49dffb06cd4ae25ddc5f)
(cherry picked from commit 577504dd70cc76151dc4c4259a88229e5999b6e3)
|
|
|
|
|
|
| |
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
(cherry picked from commit 0e64fcb18f22f31b9004e43f701ea109cef6075d)
(cherry picked from commit 11c2052c6f1c452ce51f1859e3bbd9690bfcb36f)
|
|
|
|
|
|
|
|
|
| |
It turns out in win32 ERROR_DC_NOT_FOUND exists and it is
an error for Device Context (DC), not Domain Controller
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
(cherry picked from commit d9994a604bd51949a9869927bdc2cb512fba9171)
(cherry picked from commit e9cb12953f191489b34e84547fc84841ff29515a)
|
|
|
|
|
|
|
|
|
|
|
| |
In Win32 we have
NERR_UserExists which maps to WERR_USER_EXISTS currently
and there is
ERROR_USER_EXISTS which maps to WERR_USER_ALREADY_EXISTS
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
(cherry picked from commit 948cd70bad6600a4e4e1493469efc0ccd9399c18)
(cherry picked from commit f5586f6f14e40579b6c8f3da0daa5a8dd78aa956)
|
|
|
|
|
|
|
|
|
|
|
| |
In Win 32 we have
NERR_GroupNotFound which maps to WERR_GROUP_NOT_FOUND currently
and we have
ERROR_GROUP_NOT_FOUND which maps to nothing, so it is to be added
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
(cherry picked from commit 0e1840b84a892d31cbc45191b2965db5c931670b)
(cherry picked from commit 6064f524738309b1062da4e8605145f920b7c856)
|
|
|
|
|
|
|
|
|
|
|
| |
Error codes and their descriptions are generated
using w32err_code.py script.
Error are downloaded from MS site:
http://msdn.microsoft.com/en-us/library/cc231199%28PROT.10%29.aspx
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
(cherry picked from commit 1f2490e7d8b5a64caf75143041ce07bd2968839e)
(cherry picked from commit 248b7b5f74d8615c8b582df1f72fc71320bffb44)
|
|
|
|
|
| |
TODO's:
ACE sorting and clarifying the inheritance of object specific ace's.
|
| |
|
|
|
|
| |
metze
|
| |
|
|
|
|
| |
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
| |
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
| |
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
| |
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
| |
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
|
| |
Error code move to COM/OLE group.
Error value changed to as REGDB_E_CLASSNOTREG in Windows
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
|
|
| |
This prepares support for HMAC-SHA256/AES.
metze
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
| |
This fixed a very odd build problem due to util.h importing
system/network.h being imported before the uid_wapper code.
Andrew Bartlett
|
|
|
|
|
|
| |
This starts the process to have Samba4 use lmhosts.
Andrew Bartlett
|
|
|
|
| |
Guenther
|
| |
|
|
|
|
|
|
| |
This is for the server side of the GetNCChanges call.
Andrew Bartlett
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
|
|
| |
This abstracts the usage of crypto functions instead of directly calling
des_crypt112().
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
I want to use this in source3/smbd/
metze
|
|
|
|
|
|
| |
This will hold code that's shared between source3 and source4.
metze
|
|
|
|
| |
LDAP server)
|
| |
|