| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
not work
This is 03115efae89c8c4f51dea1ce82613817bd9fcf5b from master
Actually copy something in wbcChangeUserPasswordEx
The length argument for memcpy was initialized to 0 and not initialized
|
| |
|
|
|
|
|
|
|
| |
after the number of retries was exceeded, the loop did not
bail out correctly with an error and went on using a null pointer
Fix bug #8008 (winbind krb5 locator crash).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 c3ad6eb506623435d3d9ce62d6f34ed1c960d4be)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
__attribute__((destructor)) makes winbind_close_sock() being called at
dlclose() time.
Found while testing apache on Linux with mod_auth_pam.
Other platforms will have to find a different fix. One possibility would be to
always close the socket after each operation, but this badly sucks
performance-wise.
Fix bug #7684 (fd leak in libwbclient.so).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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
Fix bug #7357.
|
|
|
|
|
|
|
|
| |
Make sure _nss_wins_gethostbyname_r has a talloc stackframe available
Thanks to Sergey Tereschenko <serg.partizan@gmail.com> for reporting the bug!
Volker
|
|
|
|
|
|
|
| |
Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit 913a9f4e420c7a4177e6a7874e8ec2703f447918)
Fix bug #7106.
|
| |
|
| |
|
|
|
|
|
| |
With this command you can give winbind your password for later use by
the automatic ntlm_auth
|
|
|
|
|
|
| |
This just does a NULL RPC call through an existing NETLOGON connection. If
someone knows an operation that "just works" and does not return NOT_SUPPORTED,
please tell me :-)
|
|
|
|
|
| |
Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit c7e3a2dc319cc6504356be7fa7970917404a69b5)
|
|
|
|
|
| |
Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit b386c3311d8c05ccbd075ab86be2ddace335b73b)
|
|
|
|
|
| |
Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit f7723293a07d1b7a4f3476939590fa8db6080d06)
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
| |
Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit b9a3f1dd85d168c15df846dba525f4f882d1acf8)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 10bd52184959335d779aae52f9178c0441c70da9)
|
|
|
|
|
|
|
| |
Found by WINBIND-WBCLIENT torture test.
Guenther
(cherry picked from commit 110a40d4bc043d2bb2316480e6ba66ece1bf04ad)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 71cfbf958cbb26dcc050bab9fd05b38556128d4f)
|
|
|
|
|
|
|
| |
require-membership-of is invalid.
Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit 31f1a36901b5b8959dc51401c09c114829b50392)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 20c07674f6c0b9423c13b9876dbe4d12f86e0d72)
|
|
|
|
|
| |
Guenther
(cherry picked from commit c2966a0766998b732c190860879c001d6140863e)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 246597cb0d8d62c702841dfbb3fa257fc2da70da)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 612deb2699c87fc05b98290e1791493603e7b686)
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Signed-off-by: Bo Yang <boyang@samba.org>
|
|
|
|
|
| |
Guenther
(cherry picked from commit 0a468fbe36e6049f8d7f971c1aa111e1573a406c)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 74948c979ab19f20c7e5824aee50828e9bda0e35)
|
| |
|
|
|
|
|
|
| |
Make sure we do not reference our internal talloc directly.
Let configure define what talloc.h file to use so that builds that use an
extrenal talloc do not include 2 different versions of the talloc header.
|
|
|
|
|
| |
Guenther
(cherry picked from commit 7b3501200c55d7844c4d697456dbfa2b86cfdcc8)
|
|
|
|
|
|
|
| |
wbcCheckTrustCredentials().
Guenther
(cherry picked from commit 2df47b0a54ad0a973b81911ee507ab50555b24a6)
|
|
|
|
|
|
| |
might use the old password and new password.
Signed-off-by: Bo Yang <boyang@samba.org>
|
| |
|
|
|
|
| |
Winbind socket
|
|
|
|
|
|
| |
Kai, please check.
Guenther
|
|
|
|
|
|
| |
blobs in wbcAuthenticateUserEx().
Guenther
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
With the switch to libwbclient the previously stubbed out
--trusted-domains and --all-domains calls now fail. Set them to knownfail.
The previously knownfail -D test is now stubbed out, test it now.
This does not fix the issues with wbinfo -a and wbinfo -K not working on the
build farm. I have no idea whatsoever what is causing this, as those are broken
on my local machine even without my changes.
|
|
|
|
| |
There can be only one....wbinfo that is.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|