| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Karolin
(cherry picked from commit 36b8bbb0328bbcccdc6e9fe99ae4933c916885da)
|
|
|
|
|
|
|
|
|
|
| |
'net' command crashed when attempting to join a
domain. This occurred in a very specific case where
the DC had multiple IPs and one of the IPs was invalid.
Signed-off-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 795692bd9546b91647ea96cc43ebb5c8efc0aaf2)
(cherry picked from commit 1b401a1b5374d037757954bb023287fa57b1c9b9)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 136b2a3eb21eda28e7a18547751ee20f097e7492)
(cherry picked from commit 0677a068dce0bd1cc76fc3ea13322e57b1d1c3af)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 37e4c92b383397a2c77db7e5d8adf2fa4a24d398)
(cherry picked from commit db2fa7179db37d5cb6475006b88ff648636ac602)
|
|
|
|
|
|
|
|
| |
group" script.
Guenther
(cherry picked from commit 7a5475f098c6a20f867adc081ca455e6c393755b)
(cherry picked from commit 1a129e79baac7c7ebbc63c9e077ede4b123cf390)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit ebf8df35c9583619a012e85964f2ad5187a199fe)
(cherry picked from commit 0f93abf8222672e5f7c09fd0b55337de82e9569f)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 7bb9e08d7e75be88a9788563f053794554f680a8)
(cherry picked from commit 8bda8295ffc6fa9a9776f821b11075b6bac7a80d)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit ec9a0917055d731aa95e2fea2045445f9945b74d)
(cherry picked from commit bf255ec2a81f2f44a9ef0379beaec0a51bbfb000)
|
|
|
|
|
| |
Karolin
(cherry picked from commit b1f7b6ebb9ea1ac53a83eca734e271e0a7137d0b)
|
|
|
|
|
|
|
|
|
| |
"workgroup"
Unify the handling of the sessionsetup parsing so we don't get different
results when parsing a guest reply than an ntlmssp reply.
Jeremy.
(cherry picked from commit 736c4dddef28d53b55e58a6f62784f068e88dc01)
|
|
|
|
| |
(cherry picked from commit 83613fd2fa6d4c6e7d9eb9bdb60aac31a37bbcaf)
|
|
|
|
| |
(cherry picked from commit f15af8bf2def12eedd967b6e0e411f690be2f804)
|
|
|
|
|
|
|
|
|
|
|
| |
The change to smbd/trans2.c opens up
SETFILEINFO calls to POSIX_OPEN only. The change to first smbd/open.c closes 2
holes that would have been exposed by allowing POSIX_OPENS on readonly shares,
and their ability to set arbitrary flags permutations. The O_CREAT ->
O_CREAT|O_EXCL change removes an illegal combination (O_EXCL without O_CREAT)
that previously was being passed down to the open syscall.
Jeremy.
(cherry picked from commit d49ae9c87d182f32702a0b6a1cc2a2038f31d81d)
|
|
|
|
| |
(cherry picked from commit 0d32230c17dbfa5e790d2023ba655f109938ef28)
|
|
|
|
| |
(cherry picked from commit 78aecba62195822f3edb6134548657cf7ba9037c)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 90b38906541de554e3964d96ed83a7c71b5ea05c)
(cherry picked from commit a8868d7fbf51e4706a7d2ee44a9066a8e1efcb4a)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 65f86a644a8171a99c63b6cb32e01e22897174f6)
(cherry picked from commit 745f8d37fffe9d2ac2938101b08ff39ebf50c94c)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 9bd8b0a15773d3d5c0649bfb49bb16acfb4bb5f1)
(cherry picked from commit aebc22c407c60588eabae324eb9cc06e73538dd4)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 7021008d5ed401d60b3b2d5f7fe6c78d63c3495b)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 51610de47bb709739ba84075395f5409be5ebc5c)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 136b885461b730cf226999b07d2198de8441ebc9)
|
|
|
|
|
|
|
|
|
| |
This fixes bug #4341.
Thanks to Michael Cartmell <michael.cartmell [at] thomson.com> for reporting!
Karolin
(cherry picked from commit 2228cc6a0f942b774bef7fb0b99009897fa4dff4)
(cherry picked from commit e1b1f14e0260395a8d452ea0a129bcc9bb3f98cc)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 62d767d57fafd869ec956cbcc84e8c866c6d665b)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is an addendum to d8c54fdd, which made make_user_info_map() match
Windows behavior by mapping untrusted domains given to smbd on the wire
with the users credentials to smbd's global sam name.
This fix was being circumvented in the case where the client passed
a NULL domain. Vista clients do this. In that case smbd was always
remapping the name to the machine workgroup. The NULL domain case
should also be mapped to the global sam name.
Removing the code in this patch, causes us to fall down to the logic
added in d8c54fdd and properly map the domain.
(cherry picked from commit fbca26923915a70031f561b198cfe2cc0d9c3aa6)
(cherry picked from commit 22b9d9d28d9acd68a9bc492530fcd0a565ff0aa3)
|
|
|
|
|
|
|
|
| |
This fixes bug #6417
Michael
(cherry picked from commit e381c13b023f2b512b3f6aec133db9f323bc8132)
(cherry picked from commit 4ca03e3bb96518665c296ba2cf5aa1d91916897e)
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 3fe9859342c28fe9da7011fb18a5fb5de8b29fa6)
(cherry picked from commit df4a0fabff06ea31149aac45d6477564cf96179b)
|
|
|
|
|
|
|
|
| |
This fixes bug #6416
Michael
(cherry picked from commit e12670a1053edf57af137026bd3fdb9fc7dfb0b2)
(cherry picked from commit b369902cddd55fab74ca6e0743e15e0f8cbfc4cc)
|
|
|
|
|
|
|
|
| |
This fixes bug #6415
Michael
(cherry picked from commit 3d3f39838261ddc401053dadcc5bd8e6317a3a8e)
(cherry picked from commit 34500d59b6f35de2c3d273d3523708ec22df59ce)
|
|
|
|
|
|
|
|
|
|
|
| |
When we run out of file descriptors for some reason, every new
connection forks a child that immediately panics causing smbd to
coredump. This seems unnecessarily harsh; with this code change we
now catch that error and merely log a message about it and exit
without the core dump.
Signed-off-by: Tim Prouty <tprouty@samba.org>
(cherry picked from commit 1c8f9892010ce8cc754089b25313c6bc8e622165)
|
|
|
|
|
|
|
|
| |
Invalid pointers were being dereferenced in lookup_sids causing
occasional seg faults.
Signed-off-by: Tim Prouty <tprouty@samba.org>
(cherry picked from commit 5afacc0a65e52e73e3887545c4e5e1ad44264b66)
|
|
|
|
|
|
| |
Karolin
(cherry picked from commit 73eaff7a395c9a7a0042f2c50f8817499b6cfdcd)
(cherry picked from commit b85c2cbcc57291ff88d8d490f548faa675b689be)
|
|
|
|
|
| |
This fixes bug 6352.
(cherry picked from commit bf5fb8b58cb1813fdadabe8f96ef8af305d4d582)
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 714acfac013a46c3677c3eb72ad57db6d97c7d61)
(cherry picked from commit 816776d2f81c1ae90e52612af76aaafeaeb04598)
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 11f07599006cf2ce6760095d07bfe22680c3744e)
(cherry picked from commit 53dfa79e07b22325c0f290b05d4b87dde0cbf3cb)
|
|
|
|
|
|
| |
Michael
(cherry picked from commit dfe06d21bdc4c715e02c9f80c4bc7144a0d9ee59)
(cherry picked from commit 2e051ece16e7b18e9e82ef36f7d7e8e39d00e66d)
|
|
|
|
|
|
|
|
|
|
| |
Patch from Steve Langasek with tiny fixes by me to make it apply to master.
Also see Debian bug #434372 and bugzilla #4831.
Calling openlog() or closelog() inside a pam module is not good as these
functions are not stackable and no program won't re-do openlog() just because a
pam module might have called closelog().
(cherry picked from commit 5c34ea94bdf9e3efb6743e52dd3c0c0088cff7d8)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 41644f222542442f2df6f989989aea1c38735d8d)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 635127a87b8473a01e20338206c2e5b546de5865)
|
|
|
|
| |
(cherry picked from commit ce18ba7e24b5578672d2f2ffaab97ef708421067)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Attention:
The meaning of the -N flag changed.
To get the old meaning for net groupmap set, use the long option --ntname
The long option for using kerberos changed from --kerberos to --use-kerberos
net rpc commands will now prompt for a password if none is given.
As a benefit, net will now accept an authentication file like other samba
command line tools. So no need to specify the password on the command line in
scripts anymore.
This should fix bug #6357
Signed-off-by: Kai Blin <kai@samba.org>
(cherry picked from commit fb262f79fab00374023e59476e8d05a1015a7041)
(cherry picked from commit c039bc15ba597d955d0ccbf5642388b0a03ba40b)
|
|
|
|
|
|
| |
One of leaks found by cppcheck:
[./source3/utils/log2pcaphex.c:367]: (error) Resource leak: out
(cherry picked from commit 8987ca29062db53db117d6c9d9ce2ad01ed17d22)
|
|
|
|
|
|
|
|
|
| |
File descriptor leaks only when we use file instead of stdout.
Found by cppcheck:
[./source3/torture/smbiconv.c:219]: (error) Resource leak: out
[./source4/torture/smbiconv.c:211]: (error) Resource leak: out
(cherry picked from commit 61cca8aa5f5e3ad665c3b1acfab20802dd0f3f3a)
|
|
|
|
|
|
| |
Found by cppcheck:
[./nsswitch/winbind_nss_aix.c:241]: (error) Memory leak: result
(cherry picked from commit bfe6186c600470916d73c3d3b17b6dfc27c299bd)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 4258750e4f112040b3537c2c479f62b6e59b32e3)
(cherry picked from commit b9344264c0d2108fbbb6ed9b19da9a56b6444211)
|
|
|
|
|
|
|
|
|
|
| |
With the current infrastructure, we should not return error on
duplicate mappings but just warn instead (because an error would
trigger the attempt to create yet another mapping).
Michael
(cherry picked from commit 3111d78001f458cfcaf81123a1d1c23d5927a6c2)
(cherry picked from commit 5328f600bbc6535d8880b1b0c74bcfbd9b7a162a)
|
|
|
|
|
|
|
|
|
|
| |
With the current infrastructure, we should not return error on
duplicate mappings but just warn instead (because an error would
trigger the attempt to create yet another mapping).
Michael
(cherry picked from commit 35c3f4162d15f9846a645444e623178b78c52994)
(cherry picked from commit 751b6b07c5ea25809b1766a01fc859d580304ae9)
|
|
|
|
|
|
|
|
| |
This is now also verified with the RPC-SAMR-LARGE-DC test.
Guenther
(cherry picked from commit fca7dce1a908570e463ddcbd663955fcafd1d843)
(cherry picked from commit 69907810fee3253096958bf174a052d3cb3b385c)
|
|
|
|
|
|
|
|
|
| |
This will fail for alias creation as nss_wrapper does not yet wrap around
libnss_winbind.
Guenther
(cherry picked from commit f0139e3b69a866a6154d0b349410fc0b3bfc30af)
(cherry picked from commit e9ed9e7f90c39d38dd40871bb915adda2e9951ff)
|
|
|
|
|
|
|
|
|
| |
This rather simple test creates 4500 objects on a domain controller and checks
the enum calls for the correct number of results.
Guenther
(cherry picked from commit eb5e8dc82efae20c95a391a15c1264f2267e5a74)
(cherry picked from commit c1dca5a5f0becdd5f7041e91245cf9d9ae0dfd13)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit a75698bdf3b62d43e4909e5bfded70f6675b2058)
(cherry picked from commit b4817feb9ec5e9ac9e610fdda31dfa64295c6822)
|