Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit 0dc4d6a8de84c191e339ee08c7f06ca63f83e6f3)
|
|
This is a more general API that caches data with a LRU scheme. See
include/cache.h. No comments yet, I'm still working on it. But Jeremy has given
me a hint in one of his checkins that he would like to make use of this now.
The idea is that we get rid of all our silly little caches and merge them all
into one cache that we can then very easily trim, for example even with a
smbcontrol message if someone decides memory is tight. The main user is the
stat cache, this patch also converts the getwd cache. More caches to come.
(This used to be commit 7a911b35713538d82001a3c9f34152e293fe1943)
|
|
Michael
(This used to be commit 6a7f2a59fc370e226ddacb195059155f28c6c157)
|
|
Patch from Rishi Srivatsavai (bugzilla #4150), with tallocification
and minor syle changes by me.
(This used to be commit db74b99d0ef1a60894c838b4c9d0d454db6cf620)
|
|
Jeremy.
(This used to be commit 92acc0115d8d4111289c2ade1db7bb060ee908db)
|
|
Jeremy.
(This used to be commit b4dfec09e89428cac9b21a94ce4d24e60d4a54f4)
|
|
in the rbtree....).
Jeremy.
(This used to be commit 97cfdae4052d46a35040d4c1a4ade8bf2c41dbc7)
|
|
Jeremy.
(This used to be commit 299ea5d122e173adf6edb6399fc90798747b0c97)
|
|
v3-2-test
(This used to be commit 8223624fea7c1b61e9231168cb4d82771576cbc5)
|
|
Jeremy.
(This used to be commit dcf624aa02cf7415a4a55e6d45606e813ae6b91f)
|
|
Don't fall back to schannel when trust creds could be obtained.
This is still not complete, but I am getting closer.
Michael
(This used to be commit 7c9fa597d684a25822b4db6615f28336f2d64ef3)
|
|
Michael
(This used to be commit 0a9874c1c76c0ccc71caba7ee85a0ee1a91808c5)
|
|
Jeremy.
(This used to be commit 4ae4b2358688bf289305a2db0ed01b653ac073b2)
|
|
Make a copy of the machine_password and machine_account strings
in all conditional paths so that SAFE_FREE() will always be valid.
(This used to be commit 194c4640b158457a6d0d5ea91e28d41d619c77de)
|
|
This removes one forgotten call of cli_rpc_pipe_close(netlogon_pipe).
Correction of e77c4022cfbb868e608edcb06b676658b0e201ad.
Michael
(This used to be commit 7f6593cddef048dd05140b05d306c708d8134f0e)
|
|
(This used to be commit e940537d5be870ae622712a3b76dff891739df8c)
|
|
correct way is to copy only 'length' bytes.
Simo.
(This used to be commit 814c1b0e0034fb67c7718760dfcf913904f3e7fa)
|
|
system).
Jeremy.
(This used to be commit 545cd2139cfc9484b733693814d4724d37125942)
|
|
(This used to be commit 6b1a118eaaab405eeef0cf3c0488a2747af562ba)
|
|
This is a regession introduced by f7efc0eca9426e63b751c07a90265a12bb39cf95.
This calls pdb_get_trusteddom_pw() instead, again.
Michael
(This used to be commit 91be824d2ba0b8dccf42ba2b8555a204aa1fa56c)
|
|
Michael
(This used to be commit 5249b3d204bf5f9191c2a4a7e81d09227eb5ddea)
|
|
Michael
(This used to be commit d466a5136d5151e2a3cae7464cb346f0db650554)
|
|
This patch is still incomplete in that winbindd does not walk
the the trusted domains to lookup unqualified names here.
Apart from that this fix should be pretty much complete.
Michael
(This used to be commit f7efc0eca9426e63b751c07a90265a12bb39cf95)
|
|
Michael
(This used to be commit 46bfbf5c8af6c030e67219a29c49fd2d40003b18)
|
|
Michael
(This used to be commit 6d0db17a9e255235d40eabc63e91c9f5d4febcde)
|
|
Use LOOKUP_NAME_LOCAL instead of LOOKUP_NAME_ISOLATED.
Michael
(This used to be commit 1d4e0ad1142c61de402c925306f02f5de2c872f6)
|
|
Use new flag LOOKUP_NAME_LOCAL.
Michael
(This used to be commit 280d6cb6c8e834ce0a08769e9187b0f40321716f)
|
|
Presence of LOOKUP_NAME_ISOLATED as the only flag is not the sign
for doing local lookups only but the sign for allowing lookups
of unqualified names. The correct sign is absence of the flag
LOOKUP_NAME_REMOTE.
Michael
(This used to be commit cd8c0057446a1311a860f6cc3876a113568f6c30)
|
|
(This used to be commit b89f87242b9c949401f3fa9b352211906cb76895)
|
|
Jeremy.
(This used to be commit 2a700c5a57a417add3b1975b2c396d20c8a5f301)
|
|
Jeremy.
(This used to be commit 898c56c0ead6331721de9645ce55608cbe7cf34d)
|
|
If I'm not completely blind, then check_dos_char is *only* used in the case
when we can't mmap() valid.dat. To me this looks as if we initialize the 65536
bits in doschar_table[] with check_dos_char_slowly, use it once to initialize
valid_table[] and *never* use them again. I think there's no point in keeping
these 8k of modified memory around for an unlikely case (no "valid.dat") and
even that only to use it exactly once.
(This used to be commit 0bfea7259e4091c6d914528a0e65fc10d8a56fb8)
|
|
(This used to be commit a8948e0727b100945ab730d4d144ccbe219bbc94)
|
|
It's only called directly before init_valid_table() anyway, so move it there.
(This used to be commit b6d1d2428866712a550a354732e2386b4f87b67b)
|
|
It's only called in t_doschar, a pretty bogus test program that is not compiled
by default
(This used to be commit 99c59e809ef3c5abcdfb796d50be7c40f7033787)
|
|
(This used to be commit ced0c42f055a672f6b4ab6ba809b0f63c83b431e)
|
|
(This used to be commit 585f5f8831f13260808a82611656fc6ca5caee81)
|
|
(This used to be commit 264d5dfe9fe97db0b69d7cd04086ad8ed9f78e74)
|
|
(This used to be commit a9c62c57db9e580640d0265b08b3178496de76a8)
|
|
Convert "name" from string to a talloc'ed char *
(This used to be commit e82069f921b3a22295db91e092c22c459ccd7215)
|
|
(This used to be commit fcd45ad6fb8d89bf6106fbed101060dbe422661a)
|
|
Jeremy.
(This used to be commit 44918f39c0598eec681eb9e5c65452f04809c375)
|
|
to cause us to behave like Vista when looking for remote
machine principal. Modified by me.
Jeremy.
(This used to be commit d0e33840fb4cfc85990d3ee327428b0854a22722)
|
|
Jeremy.
(This used to be commit e799eb8da6f5e7a2173ba6b8fb040430fd1c6f34)
|
|
precedence.
Jeremy.
(This used to be commit 446ebae76d6796b30e4c71ff7190337c28637be6)
|
|
least surprise for callers
(This used to be commit eb523ba77697346a365589101aac379febecd546)
|
|
Remove some code duplication, but introduce one more dependency on librpc/ndr.
Easily turned around so that librpc/ndr depends on lib/util_sid if necessary
(This used to be commit 3a0b1b2060facd5f1ac1461b23dd86c75cdd9458)
|
|
We now have four ways to do sid_to_string:
sid_to_string: Convert it into an existing fstring, when you have one
sid_string_talloc: The obvious thing
sid_string_tos: For the lazy, use only with care
sid_string_dbg: The one to use in DEBUG statements
(This used to be commit 7b8276aaa48852270c6b70b081c3f28e316a7a2c)
|
|
This adds 28 fstrings on the stack, but I think an fstring on the stack is
still far better than a static one.
(This used to be commit c7c885078be8fd3024c186044ac28275d7609679)
|
|
It seems a bit pointless to do a fstrcpy(dst, sid_string_static(src))
(This used to be commit c221c246b10e2dbbd54a9af2dc45de2eae237380)
|