| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(cherry picked from commit 2167ac2cd42c9ed5aaae0086dbd27e29d1d77686)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CVE-2011-0719
Fix bug #7949 (DoS in Winbind and smbd with many file descriptors open).
All current released versions of Samba are vulnerable to
a denial of service caused by memory corruption. Range
checks on file descriptors being used in the FD_SET macro
were not present allowing stack corruption. This can cause
the Samba code to crash or to loop attempting to select
on a bad file descriptor set.
A connection to a file share, or a local account is needed
to exploit this problem, either authenticated or unauthenticated
(guest connection).
Currently we do not believe this flaw is exploitable
beyond a crash or causing the code to loop, but on the
advice of our security reviewers we are releasing fixes
in case an exploit is discovered at a later date.
(cherry picked from commit 43babef991feedbe2acb77d27254d302ab107fa8)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> r21878: Fix a bug with smbd serving a windows terminal server: If winbind
> decides smbd to be idle it might happen that smbd needs to do a winbind
> operation (for example sid2name) as non-root. This then fails to get the
> privileged pipe. When later on on the same connection another authentication
> request comes in, we try to do the CRAP auth via the non-privileged pipe.
>
> This adds a winbindd_priv_request_response() request that kills the existing
> winbind pipe connection if it's not privileged.
The fix for this was lost during the conversion to libwbclient.
Thanks to Ira Cooper <samba@ira.wakeful.net> for pointing this out!
Volker
|
|
|
|
|
|
|
| |
Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit 913a9f4e420c7a4177e6a7874e8ec2703f447918)
Fix bug #7106.
|
|
|
|
|
|
|
|
|
| |
Based on patch from Allan <allan@archlinux.org>.
Also should fix the FreeBSD build on the buildfarm.
Guenther
(cherry picked from commit 5b3a32be97a37c119e837bdee8f049684565458c)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 51864219cc12ceb66c281355f3e1191d5e32842d)
|
|
|
|
|
|
|
| |
Fix bug #6840.
Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit b9a3f1dd85d168c15df846dba525f4f882d1acf8)
|
|
|
|
|
|
|
|
|
| |
require-membership-of is invalid.
Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit 31f1a36901b5b8959dc51401c09c114829b50392)
Fix bug #6826.
|
|
|
|
| |
freed memory in pam_winbind.
|
|
|
|
|
|
| |
(cherry picked from commit 5aeb954ba9382e1975c64ac96f1e377ed6af3ae0)
Fix bug #6797.
|
|
|
|
|
|
|
|
| |
use the old password and new password.
Signed-off-by: Bo Yang <boyang@samba.org>
Fix bug #6735.
|
| |
|
|
|
|
|
|
| |
ntlmv2 blobs in wbcAuthenticateUserEx().
Guenther
|
|
|
|
|
|
|
|
|
| |
lookupname failed, cannot find domain when attempt
to change password.
This addresses bug #6560.
Signed-off-by: Bo Yang <boyang@samba.org>
|
|
|
|
|
|
| |
Based on patch from Blindauer Emmanuel <samba@mooby.net>.
Guenther
|
|
|
|
|
| |
Found by cppcheck:
[./nsswitch/winbind_nss_aix.c:241]: (error) Memory leak: result
|
|
|
|
|
| |
Should make Solaris 10 builds look cleaner.
Jeremy.
|
|
|
|
|
|
|
| |
Patch from Blindauer Emmanuel <samba@mooby.net>.
Guenther
(cherry picked from commit 290449aeae950d7490cdcf9d601052fc45bb84dd)
|
| |
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
| |
Patch from Rashid N. Achilov <citycat4@ngs.ru>.
Guenther
(cherry picked from commit 43372b27403f617897bab564c42eead4d64532e4)
|
|
|
|
|
|
|
|
|
| |
initialized before freed.
Fix inspired by patch from Rashid N. Achilov <citycat4@ngs.ru>.
Guenther
(cherry picked from commit 09265bcff5a2fac42f5abf34b8b439aa0a6998a1)
|
|
|
|
|
| |
metze
(cherry picked from commit d0b9cc62f99a1feca68c473f3cd1e93e50ab2eab)
|
|
|
|
|
|
| |
* Adds wbcGetSidAliases that calls the lookup_useraliases function.
* Updates wbinfo and winbind_util.c to call the new function.
* Also added winbind_get_groups helper function.
|
|
|
|
|
|
|
|
| |
* Adds the plumbing required to lookup users by sid into winbind, wbinfo
and smbd helper lib (winbind_util.c).
* Removes some double declarations of winbind_util.c functions.
* Bumps the winbind protocol version to 21 and the minor version of
wbclient to 3.
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
| |
version
Eventually these two other definitions should be removed and all of
the TALLOC macros should live in the same header. Until then, this
patch eliminates some build warnings.
|
|
|
|
|
| |
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Günther Deschner <gd@samba.org>
|
| |
|
| |
|
| |
|
|
|
|
| |
metze
|
| |
|
| |
|
|
|
|
|
|
|
| |
PAM_AUTHTOK_RECOVERY_ERR is not defined by older Linux versions (SUSE
Linux Enterprise 9 and RedHat Enterprise 4).
Patch suggested by Philipp Thomas <pth at suse dot de>.
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
|
|
| |
PATCH 1:
Fix gmem->numgids and gmem->maxgids breakage on Solaris 64-bit
because sizeof(int) != sizeof(long int).
PATCH 2:
This patch fixes a compile-time warning
"warning: implicit function declaration: _nss_winbind_initgroups_dyn".
(cherry picked from commit cb036772d09227f870c2fec3ecd8c3f53787dfbc)
|
| |
|
| |
|
|
Don't move source4 files yet to not confuse git's rename tracking too much.
|