| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| | |
optimization.
|
| | |
|
| |
| |
| |
| | |
INSTALLPERMS_DATA.
|
| |
| |
| |
| | |
permission set instead of 0755.
|
| |
| |
| |
| |
| |
| |
| | |
"file existed" case above. This has no functional
change but is easier to see that it's doing the
same thing.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
file was being created and we go into the race condition check,
we were testing for compatible open modes, but were not breaking
oplocks in the same way as if the file existed. This meant that
we weren't going into the code path that sets fsp->oplock = FAKE_LEVEL_II_OPLOCK
if the client didn't ask for an oplock on file create. We need
to do this as internally it's what Windows does.
Jeremy.
|
| |
| |
| |
| |
| | |
data being sent). Patch from mnix@wanm.com.au.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
data to krb5_prompter.
Jeremy.
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| |
| |
| |
| | |
netr_DsRGetDCNameEx2) and add new ds request and reply flags, also add some
more WERROR codes.
Guenther
|
| |
| |
| |
| |
| |
| |
| |
| | |
but W2K3 doesn't follow our rules when sending data to
us. Ensure we look for the data at the correct offsets
when reading the data.
Too late for 3.0.25a - don't merge.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
again.
Thanks to Bartlomiej Solarz-Niesluchowski <Bartlomiej.Solarz-Niesluchowski@wit.edu.pl>.
Guenther
|
| |
| |
| |
| |
| |
| | |
This removes message_block / message_unblock. I've talked to Jeremy and
Günther, giving them my reasons why I believe they have no effect.
Neither could come up with a counter-argument, so they go :-)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
is now
replaced by MSG_FLAG_LOWPRIORITY or'ed into the msg_type. To enable this,
changed the msg_type definitions to hexadecimal.
This way we could theoretically add the MSG_FLAG_NODUPLICATES again, but I
would rather not do this, because that one is racy and can't be guaranteed at
all.
|
| |
| |
| |
| | |
Michael
|
| |
| |
| |
| | |
Fixing build of ldb for instance on some systems without dlfcn.h.
|
| |
| |
| |
| |
| | |
target. Needs merging for 3.0.25a (sorry).
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| | |
in Samba4 smbtorture. Fix rename on an open file handle.
Needed for 3.0.25a.
Jeremy.
|
| |
| |
| |
| | |
case-sensitive filesystem.
|
| |
| |
| |
| |
| |
| | |
built by
default).
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
cross-compiling, we accept the first iconv library that we find (with a
warning).
|
| | |
|
| |
| |
| |
| |
| |
| | |
use the credential chain and only works over netlogon, but it would
allow multiple outstanding auth requests for a single workstation
account.
|
| |
| |
| |
| |
| | |
3.0.25a.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
Still missing lchown (will add this for 3.0.26).
Don't merge for 3.0.25a - possibly 3.0.25b (if it
exists).
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
Before comitting that, I have to verify that it does not
break anything...
Michael
|
| |
| |
| |
| | |
sense...
|
| |
| |
| |
| |
| | |
we were calling PRS_ALLOC_MEM with zero count.
Jeremy.
|
| |
| |
| |
| |
| | |
as an error. (This is purely cosmetic here, issuing a success
message at the end.)
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
talloc context for use with the actual rpc query and response.
So the the parent context does not get flooded by the posslibly
large amount of response data (when looking up a lot of sids).
Note: It not possible, to simply use the names and domains arrays
as talloc contexts for the talloc_strdup calls, because from
rpccli_lsa_lookup_sids_all, this is called with names + offset
and domains + offset where names and domains are talloced
arraye for the complete response.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
dn_lookup loop by a rpccli_lsa_lookupsids_all (see r23070)
call. This replaces one ldap search per member sid by one
rpc call per 1000 sids. This greatly speeds up groupmem
lookups for groups with lots of users.
Since the loop in lookup_groupmem was the only use of dn_lookup,
the function is removed.
Michael
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
looked up at one time. This limit is at 20480 for w2k3.
Our rpccli_lsa_lookup_sids function ignores this limit, so when
we give the server too long a list of SIDs, then we will get
nothing back. Since typically rpccli_lsa_lookup_sids is given
one SID (or a small number of SIDS), this did not do harm
up to now. But since I want to use lsa_lookup_sids in a subsequent
modification to winbindd_ads.c:lookup_groupmem to get rid of
a vast number of dn_lookup calls to the server, I had to make
sure we do it correctly.
I have added a function rpccli_lsa_lookup_sids_all function
that has the same prototype but internally splits the list
of SIDs up into hunks of a (conservative, hard coded) 1000
SIDs each for a first go.
If this approach is agreed upon, the new function could replace
the original rpccli_lsa_lookup_sids function.
Michael
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
doing this because for the clustering the marshalling is needed in more
than one place, so I wanted a decent routine to marshall a message_rec
struct which was not there before.
Tridge, this seems about the same speed as it used to be before, the
librpc/ndr overhead in my tests was under the noise.
Volker
|
| |
| |
| |
| |
| |
| | |
check for IS_DC. Otherwise we will for example fail to lookup a
sid of S-1-22-1-780 because it has no valid struct winbindd_domain*
in the list. Thanks to Simo for the catch.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
to be able to handle SIDs in the S-1-22-{1,2} domain in order
for winbindd_sid_to_uid(), et. al. to succeed. For 3.0.25a,
we will short circuit in the sid_to_uid() family of functions
so that smbd is ok.
For 3.0.26, we need to allow winbindd to handle all types of SIDs.
|
| |
| |
| |
| | |
Nothing of major interest. Will fix a few problems with one way trusts.
|
| |
| |
| |
| | |
TIME_T_MAX, and also display of it in http_timestring()
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
winbindd main function.
I have tested and somewhat extended the code, and it seems
to do a good job. I have possibly not caught all error
conditions though.
Michael
|
| |
| |
| |
| |
| |
| |
| | |
use a helper function to construct the TDB_DATA key
as strlen_m() is totally wrong here anyway
metze
|