| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
This fixes a crash bug if we timeout in net rpc trustdom list.
metze
(cherry picked from commit c0dfe0cf80ee50f395912b7d6aec0d87febd34c0)
(cherry picked from commit d87563604ca7b1c18c5a84d76726c2a99dc454f8)
(cherry picked from commit cba4214b963983730bedc792e391b5435889597a)
(cherry picked from commit 34bf50b0302ff112af52088b93b40b1bcaf002e8)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Even though "net conf setparm abc/def comment xyz" does not
create a broken registry we do not want such keys to be created.
Since we get problems accessing these with "net registry" since
the registry code treats the '/' sign as a separator as a lower
level.
This makes e.g. "net conf setparm abc/def comment xyz" fail with
WERR_INVALID_PARAM, which is much more desirable than a broken
registry.tdb.
Michael
(cherry picked from commit de6f09988d84752e5333cba1fa69c5a685e903b7)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 642afabf26dbb7d0f73c15c5502a90020f65a914)
|
|
|
|
|
| |
Karolin
(cherry picked from commit aaf5c25489b916d4892ce757bb5c0f32f9910c59)
|
|
|
|
|
| |
Karolin
(cherry picked from commit c63dc9866e84461a7a8359958d6bcf753c51d125)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 72f55ca71c2d9b4c24866b7e1418fa4c17948db6)
|
|
|
|
| |
(cherry picked from commit 1c47bcb5b24ab360d5e632bbf3dcbc7d1d9f6fc4)
|
|
|
|
|
|
|
|
| |
LookupSids needs to bounce back string sids in case of NT_STATUS_NONE_MAPPED.
Guenther
(cherry picked from commit 597be402e40ff880b595ae49a8600b932365cbcb)
(cherry picked from commit f049fb5643f93cc4806ada5db8e591bbe4cb9204)
|
|
|
|
|
|
|
|
| |
What a difference a name makes... :-). Just because something is missnamed
SA_RIGHT_SAM_OPEN_DOMAIN, when it should actually be SA_RIGHT_SAM_LOOKUP_DOMAIN,
don't automatically use it for a security check in _samr_OpenDomain().
Jeremy.
(cherry picked from commit 3591c95beaed3abfa10b1579e377b0103647a177)
|
|
|
|
|
|
|
| |
Michael
(cherry picked from commit f1b80bcb58b8aa5c586835dc201ce674b3417835)
(cherry picked from commit b4c58d49902d62f25aa0c9289d1857aa2636c028)
(cherry picked from commit 6d308951c5b0fec988685f64f040f0770b537efb)
|
|
|
|
| |
(cherry picked from commit 8203f5f3890afec3ec631f822b0f2e5ddd262b9a)
|
|
|
|
| |
(cherry picked from commit 7284b7bb226990abce91d40782bf4e592e2f7b4d)
|
|
|
|
|
|
|
|
|
|
|
| |
has parameter "msdfs root = yes"
This was broken by the refactoring around create_file().
MSDFS pathname processing must be done FIRST.
MSDFS pathnames containing IPv6 addresses can
be confused with NTFS stream names (they contain
":" characters.
Jeremy.
(cherry picked from commit eb29aa406f14397e3c55e559e2c02da6eb6c4cbd)
|
|
|
|
|
|
|
|
| |
This used to be commit 8da2fa36 in master.
Karolin
(cherry picked from commit 3df28fce45ce552df2c0815597fc1808ea08b363)
(cherry picked from commit 89542c9dc4fede1547886b480791322f0497f277)
|
|
|
|
|
|
|
|
| |
This used to be commit 44588095 in master.
Karolin
(cherry picked from commit 7648c51afaf844e576935dadc0d66a94e2cad28b)
(cherry picked from commit a3081c94e64d226328885191212bd1ba46add09e)
|
|
|
|
|
|
|
|
| |
This used to be commit a103222e in master.
Karolin
(cherry picked from commit a33677c8a80925965a4023785fc3a221d2ed9585)
(cherry picked from commit 7038846d514b9ea25d991bc72b807921ab1ee158)
|
|
|
|
|
|
|
|
| |
This used to be commit 6343cab3 in master.
Karolin
(cherry picked from commit 56e877662dd6da64b348803c24e85f60ee6b3d85)
(cherry picked from commit 36cb36581208f754b14e2a955fbd886e6c82cfaa)
|
|
|
|
|
|
|
|
| |
Thanks to Jeffrey Riaboy <dakusan@castledragmire.com>.
Guenther
(cherry picked from commit 2b1fe2c98f4e0013dee4cbae62dc36cdd4085c7d)
(cherry picked from commit d3d4baecb89ddac6d460269e126a60b99f687a5b)
|
|
|
|
|
|
|
| |
handle_trans() can talloc_free "conn" if the client requests
close_on_completion. "state" is a talloc_child of conn, so it will be gone when
we later free state->data et al.
(cherry picked from commit 51ecc77eeabe5fc89e4d1b1fb8a15c71614d4049)
|
|
|
|
|
|
| |
Zagrebin <alexz@visp.ru>.
Jeremy.
(cherry picked from commit 5b43fff78081541f642b07a70b03c6d5902e42dd)
|
|
|
|
|
| |
Karolin
(cherry picked from commit c572b19ffcff201f9b8ad0af3bf5434dfe5d06bf)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 887420a30dbb178f29ee9313f2c19dd1b3c3c5e9)
|
|
|
|
|
|
|
| |
A release a day... ;-)
Karolin
(cherry picked from commit c9bee29bed290777a4ab32ffe2ed88029a3a6348)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 3797ddb3acc713cc200114e9e27dfb3901e5cdf1)
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes sure the original and temporary TDBs are closed
_before_ the rename. Originally, the open TDB was renamed, and so
the name passdb.tdb.tmp stayed around in the db context. Hence
upon client connect, the smbd children died because reinit_after_fork()
calling tdb_reopen_all() would try to reopen passdb.tdb.tmp which
existed no longer...
Michael
(cherry picked from commit 1ab40fbca806f1136dd1d65edd688beb5ec592c7)
|
|
|
|
|
| |
Karolin
(cherry picked from commit b3e838884350e4da19660f0c1078aabd8e55536b)
|
|
|
|
|
| |
Karolin
(cherry picked from commit d999a7e99804bf71f62c905452a720c20016f8e9)
|
|
|
|
|
| |
Karolin
(cherry picked from commit bee6e86c71278563d52f9bde19ffb4bda2a35d1b)
|
|
|
|
|
|
|
| |
if "hide dot files" is set. Thanks to Barry Kelly <bkelly.ie@gmail.com>
for pointing this one out.
Jeremy.
(cherry picked from commit 5bdc16a867b9c14682b327c79f79834edcd6842d)
|
|
|
|
|
| |
Karolin
(cherry picked from commit e7634cd0c17d0fa4dcca5952313b6af750477dec)
|
|
|
|
|
|
|
|
| |
3 but using a different hash calculation than 3.2.x passwd
databases (also version 3). Introduces a minor version
number.
Jeremy.
(cherry picked from commit 10b518592e616ecfaadd829ecd0674a04510b422)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed.
It turns out there were a number of places where cli_resolve_path() was called
and the error path upon that function failing did not set errno. There were a
couple of places the failure handling code did set errno to ENOENT, so I made
them all consistent, although I think better errno choices for this condition
exist, e.g. EHOSTUNREACH.
Derrell
(cherry picked from commit f4e68b09a6ba30d968bccfad8bf6b67b4456b111)
|
|
|
|
|
|
|
|
|
|
|
| |
correctly. For the clustering case.
Clustered setups should have only ever used
the unsigned version of TDB_DATA in the
first place so they can't be in this mess :-).
Just do the normal upgrade in the clustered case.
Jeremy.
(cherry picked from commit 52fe104996439db24a7e6b17baa7fec47ba230bb)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 7fa853e490be446a6da2086e1749b59a8f741e09)
|
|
|
|
|
|
|
|
| |
modules shouldn't matter, so as vfs_streams_depot doesn't
implement get/setxattrs then call into the full VFS stack
at the top.
Jeremy
(cherry picked from commit a1d9b31a0c8a38dbfa94f578830d5d35695aff3b)
|
|
|
|
|
|
|
|
|
|
| |
to run elections
Fix logic bug that causes nmbd to wait 5 minutes before
looking for a master browser. This one is *old* :-). Thanks
for Simo for bugging me on this.
Jeremy.
(cherry picked from commit 857c2e4407a0f4fcee721372ffed5366bc3051f9)
|
|
|
|
|
|
| |
match_mailslot_name
(cherry picked from commit d097e3f918853cf642c4a51f6ed3a4d8c85d283e)
|
|
|
|
|
|
|
|
| |
To me "fill_share_mode_lock failed" is a "can't happen" alert. There is
however a perfectly valid case in get_file_infos() when the file is not open.
Change the corresponding debug message to level 10 and explain more.
(cherry picked from commit f73d4cf1fcfd8f9e2543a222faed133472fd890c)
|
|
|
|
|
|
|
| |
information.
Guenther
(cherry picked from commit 490ed838f2626893bb623ea6ad8d79595c8c44c4)
|
|
|
|
|
|
|
|
|
|
|
| |
fetch_database_to_ldif().
We absolutely need to avoid messing with the sync_context as that breaks the
stream of replication data coming from the DC (only replicates ~350 instead of
~4000 groups).
Guenther
(cherry picked from commit 1a1823c357fb8e01ac0e8c8749e6f5004bf3cf3e)
|
|
|
|
| |
(cherry picked from commit 4a99f2f006e6324cf38b68f0f390daf52f24b1b3)
|
|
|
|
|
|
|
|
|
|
|
| |
ntlmssp_seal_packet creates its own signature data blob, which we then
have to free.
Jeremy, please check and merge appropriately (Yes, I'm asking you to do the
janitor work, I want you to *look* at this :-))
Volker
(cherry picked from commit 525af716cd52500a4e3dccf9eeb9ea85f86be7ca)
|
|
|
|
|
|
|
|
|
| |
too.
Otherwise we'll confuse the client signing engine, when we reply an error to each transs2.
metze
(cherry picked from commit e217138a36b1ba1eff164aecfa52ba6fe8864747)
|
|
|
|
|
|
|
|
| |
A client sent a SID with authority 0 and 0 sub-authorities. W2k3 replies with
NT_STATUS_INVALID_SID, even if other SIDs in the list are valid.
Thanks to Pavel <wylda@volny.cz> for the bug report!
(cherry picked from commit bb76066e8797599e5ca75821a686e32dd0c97a74)
|
|
|
|
|
|
| |
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 87b428e424e2e3cca975ecd0efed327e72950a1d)
(cherry picked from commit ca58d12b6513beb40c14fcab2758cf21af0179f3)
|
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 97190ae184dff6450b1390c854f7426e2ee3f980)
(cherry picked from commit 0f7757e94bfa35d22a7349d78578685c0dba22d7)
(cherry picked from commit 66faa809847ad60b8027ae86068f8d62c0d181ed)
|
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 1524abd8bf12d82e1fb0063585fc9a465fc7bf9c)
(cherry picked from commit 3517388b5d5439ffe3f9629aaf826fa1dfbb4ba7)
(cherry picked from commit 5ce5a9bea994d7db3d352d0800333d0fd0b833df)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before we send the secondary requests we need to remove the
old mid=>seqnum mapping and reset cli->mid and make the new
mid=>seqnum mapping "persistent".
The bug we had in cli_send_trans was this:
The first cli_send_smb() incremented cli->mid
and the secondary requests used the incremented mid,
but as cli->outbuf still had the correct mid,
we send the correct mid to the server. The real problem
was that the cli_send_smb() function stored the seqnum
under the wrong mid.
cli_send_nttrans() was totally broken and now follows the
same logic as cli_send_trans().
The good thing is that in practice the problem is unlikely to happen,
because max_xmit is large enough to avoid secondary requests.
metze
(cherry picked from commit 880fbc4e8cd67de73c4bcda94489eb1e1422a04b)
(cherry picked from commit 70466990b4b7c68ae95dbbcf741cd3f41f2dd0b3)
(cherry picked from commit d01cca5e3ddb925696d49a1ea728013ec1032372)
(cherry picked from commit 6c13360e195189f7afc70c5fda6ef27f46145b0b)
|
|
|
|
|
|
| |
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 011ad7245d53a716c4c766f5ef8d317bb3a53d0f)
(cherry picked from commit 5eaa2541f19277bc00c47b944739c6732f90809b)
|
|
|
|
|
|
| |
selected (we need to path in pathname /that/look/like/this).
Jeremy.
(cherry picked from commit 0c11c2deee7ab9d281df6df91b793b7f1c1764a4)
|