Age | Commit message (Collapse) | Author | Files | Lines |
|
Jeremy.
(This used to be commit e81427c2d69be166afad94bc083e750e8f48fba7)
|
|
-------------------------------------------------------------------------
I think there are basically two problem:
1. Windows clients do not always send ACEs for SMB_ACL_USER_OBJ, SMB_ACL_GROUP_OBJ,
and SMB_ACL_OTHER.
The function ensure_canon_entry_valid() is prepared for that, but tries
to "guess" values from group or other permissions, respectively, otherwise
falling back to minimum r-- for the owner. Even if the owner had full
permissions before setting ACL. This is the problem with W2k clients.
2. Function set_nt_acl() always chowns *before* attempting to set POSIX ACLs.
This is ok in a take-ownership situation, but must fail if the file is
to be given away. This is the problem with XP clients, trying to transfer
ownership of the original file to the temp file.
The problem with NT4 clients (no ACEs are transferred to the temp file, thus
are lost after moving the temp file to the original name) is a client problem.
It simply doesn't attempt to.
I have played around with that using posic_acls.c from 3.0 merged into 2.2.
As a result I can now present two patches, one for each branch. They
basically modify:
1. Interpret missing SMB_ACL_USER_OBJ, SMB_ACL_GROUP_OBJ, or SMB_ACL_OTHER
as "preserve current value" instead of attempting to build one ourself.
The original code is still in, but only as fallback in case current values
can't be retrieved.
2. Rearrange set_nt_acl() such that chown is only done before setting
ACLs if there is either no change of owning user, or change of owning
user is towards the current user. Otherwise chown is done after setting
ACLs.
It now seems to produce reasonable results. (Well, as far as it can. If
NT4 doesn't even try to transfer ACEs, only deliberate use of named default
ACEs and/or "force group" or the crystal ball can help :)
-------------------------------------------------------------------------
Jeremy.
(This used to be commit 8ec20cbae7ca7e685b1a4186d8482c7405915dc3)
|
|
genparser works fine, and it is a marvelous tool to store objects in tdb :)
(This used to be commit 4c6d461a8572f03cd33cba95500cc837638b732c)
|
|
for name->sid.
(This used to be commit 0ebccc0dbeecc10d423529909a2563fbc3bf9857)
|
|
IP address resolving code.
(This used to be commit 1f605fe77c56ee2a7838c9f87eedf4bb91ebf688)
|
|
Jeremy.
(This used to be commit 1cbd53dc3cd2d56f5e62d42fed5d589efcecb8f8)
|
|
differently to W2K, cope with this.
Jeremy.
(This used to be commit 172f415c9eaa4d310a52794e3dc1a6bc92206ce4)
|
|
(This used to be commit 21ec2b6ba3ddba6964f6ddb53f8494e4a8b48a83)
|
|
Samba. This fixes things like not doing *SMBSERVER etc.
Andrew Bartlett
(This used to be commit 8863ff863c1da42aa6b8718f315c608d9d9067c6)
|
|
(This used to be commit d8d2d5e75503ae2b6532a25e4c9bbcdf20cc60af)
|
|
Andrew Bartlett
(This used to be commit 42b5514404bc7e33306c11344c6c934a1f83d295)
|
|
(This used to be commit a387c4209735f8e4c826cad7cb10c5349b2041ec)
|
|
(This used to be commit 460339db2246b0213252ee34f507eb8e55ecbecb)
|
|
a test ...
(This used to be commit 1128a2fb4c16681e669efe605ff7d7161a2f7acd)
|
|
function usage.
Andrew Bartlett
(This used to be commit cdc6139a9646b267a9921fc11fa532640a2e4c7f)
|
|
all perfectly legit - the region is an fstring in length, but might not
always be, and it is the last peice of code to fail my automated test.
Andrew Bartlett
(This used to be commit 762d61b37d053568b6346e249ba7ef594320153a)
|
|
failures for some compile-time properties this way.
Andrew Bartlett
(This used to be commit ce618624b7df797e228f8ef0f19820b318c62ae9)
|
|
(This used to be commit 243c9c37a53501b96df6286517e03eb09efcc620)
|
|
behaviour we should seperate -g from --enable-developer, and allow developers
to also select --enable-debug if they want.
Andrew Bartlett
(This used to be commit 96d1449c42597ea22c538a004960b26925c641fc)
|
|
(This used to be commit b32ae2d83fd0b4dd2c313cd0727bd276564cec0c)
|
|
command. From Ronan Waide <waider@waider.ie>.
(This used to be commit 992b5eb4e05fbf99d91d7235b9a002957533f95b)
|
|
Jeremy.
(This used to be commit 7b945e10a6c636c0b0aabc841803bf44405cb2ae)
|
|
Jeremy.
(This used to be commit 60b0cfc8a5b6275d3460ebc6bf17d0f08e25b67e)
|
|
\\server\share syntax, not just a "share" tconX syntax. This broke interop
with a vendor.
Jeremy.
(This used to be commit 9d7ea5585c873156ede4b56e43a0d4d75077283a)
|
|
was to limit the string to 31 or 32 characters (excluding the null term), so
I've assumed for now that 32 is fine, as this matches current behaviour (well, current behaviour would crash, but anyway...)
Jerry: Can you look at this for me?
Andrew Bartlett
(This used to be commit 6c43327ea2b50820ea4f623c889dc4525d58baa3)
|
|
Andrew Bartlett
(This used to be commit bd0c84d60b703e89081838a7cfa1eb1b4f45ad0a)
|
|
Jeremy.
(This used to be commit 3ad62ebe26d8c6b82f8618eea11d104b3ab0ec18)
|
|
Jeremy.
(This used to be commit ff3827a62b37342b13fd8b4eafd256d91428c02b)
|
|
Jeremy.
(This used to be commit a670b57c563b220c2ede1dac4ce1e9c71c866498)
|
|
Fix lingering large offset problems in smbtar etc.
(This used to be commit c416eec2f2a38eebfcda5868999d474628037f1e)
|
|
without ADS support)
* add "MinorVersion" print server data key and comment on "OSVersion"
(This used to be commit 342734e3de71c7dc8e3d24fd66dae58cf647a569)
|
|
that changed that the client is monitoring.
* couple of comments abnout how we need to validate driver names
on SetPrinter() and AddPrinter()
* up the debug level on some overly verbose dev mode parsing messages
(This used to be commit 7377d671e8a95ac2ab0452f564b18b2a098699cb)
|
|
(This used to be commit 14d7d8b22993ca7f1c273a7baaccb09c8fa04ef9)
|
|
functions that we actually modify.
Also a better implementation of the stat() and fstat() functions.
Andrew Bartlett
(This used to be commit 03e74be11cf76167ed211398016274cbaba5847b)
|
|
(This used to be commit 251b91f46988053eccc53f814a23ed5ca787c852)
|
|
(This used to be commit e8ec2b118071ce1d8cbfbcebce3781ac753c5c22)
|
|
Yes I will add the docs....
Jeremy.
(This used to be commit 4a739d914bb87a3c8d071dfd0f275a9aab1cf90a)
|
|
broken a lot of stuff. These two macros are meant to make life easier
when fixing these bugs. I'm guessing we will see more macros like
this (eg. fstrcpy_base)
(This used to be commit 50389c0cb2504d7941ec691af21d6a20ae5c5de7)
|
|
Jeremy.
(This used to be commit d29c6853dd0c43825b3775020076f34faa5cd329)
|
|
(This used to be commit 3780d127313ad9f4411751d34fd6e1d96b1422cf)
|
|
(This used to be commit 7dfd59963dba921907893b9d1bffe797e9d8b4ad)
|
|
(This used to be commit a4b9c5c2576c80a5f60d47d178b9b8c50d348893)
|
|
- added general options to 'net -h' help
(This used to be commit ee8a7fdab7f5aa6f4a64f2eea90f0d44ae0f388a)
|
|
(This used to be commit 9af07173152c5e861d13b33a8d4aee8167a50b66)
|
|
(This used to be commit 42d9ec28cd55dbcfda546c84fb842938aeda544d)
|
|
(This used to be commit 9dbc3dcfe0bccf1f76930ae86970b48ba5ed1e91)
|
|
"auth_context".
(This used to be commit 571c3ce19344276aac1af56d2f69fcc5523f36eb)
|
|
(This used to be commit d2fd52c1b50f2d1abad84668911b04c72fdc4b8d)
|
|
been removed.
Put subdirectory names in file list, so we get lib/util_chr.c, not
just util_chr.c.
(This used to be commit aa2efaab1ffc77bec051cd206000951c72adeccc)
|
|
how this interacts with it.
(This used to be commit eb876ee9cf24eda04e0856899b232d060c669c0c)
|