Age | Commit message (Collapse) | Author | Files | Lines |
|
This adds the two functions talloc_stackframe() and talloc_tos().
* When a new talloc stackframe is allocated with talloc_stackframe(), then
* the TALLOC_CTX returned with talloc_tos() is reset to that new
* frame. Whenever that stack frame is TALLOC_FREE()'ed, then the reverse
* happens: The previous talloc_tos() is restored.
*
* This API is designed to be robust in the sense that if someone forgets to
* TALLOC_FREE() a stackframe, then the next outer one correctly cleans up and
* resets the talloc_tos().
The original motivation for this patch was to get rid of the
sid_string_static & friends buffers. Explicitly passing talloc context
everywhere clutters code too much for my taste, so an implicit
talloc_tos() is introduced here. Many of these static buffers are
replaced by a single static pointer.
The intended use would thus be that low-level functions can rather
freely push stuff to talloc_tos, the upper layers clean up by freeing
the stackframe. The more of these stackframes are used and correctly
freed the more exact the memory cleanup happens.
This patch removes the main_loop_talloc_ctx, tmp_talloc_ctx and
lp_talloc_ctx (did I forget any?)
So, never do a
tmp_ctx = talloc_init("foo");
anymore, instead, use
tmp_ctx = talloc_stackframe()
:-)
Volker
(This used to be commit 6585ea2cb7f417e14540495b9c7380fe9c8c717b)
|
|
For some funny reason us4/gcc seems to fall over the '
Jeremy.
(This used to be commit 229e02d732c1612c7dc4510325da1dcf50050a95)
|
|
when the
locator gets called from within winbindd.
Guenther
(This used to be commit 46dbd6034ec2c6475f428cd2d5cce56268bc34a7)
|
|
Guenther
(This used to be commit cd1fccaf8f2ad6e6e4c51909aa7a925efc0a13c4)
|
|
Guenther
(This used to be commit 91d10fe1598b92090a94286f84395caa1bdf7a41)
|
|
in the
"not_defined_in_RFC4178@please_ignore" case to make at least LDAP SASL binds
succeed with windows server 2008.
Guenther
(This used to be commit f5b3de4d3069eaa750240e3422bac5cb169b6c0a)
|
|
(This used to be commit 08e309e955eea58df1eb88f848386eb2acbd31ba)
|
|
RAW-SAMBA3CASEINSENSITIVE and RAW-SAMBA3POSIXTIMEDLOCK
(This used to be commit 1f396cc237e3861b216d03a7af9e461578cf448a)
|
|
store entries.
Thanks Michael for pointing this out.
Guenther
(This used to be commit c7047604446c3fc33b5e14833267ac8ad3a906b1)
|
|
Guenther
(This used to be commit e5cc09c72f4acc851ed53ca02def5d692000d0da)
|
|
Guenther
(This used to be commit aca2d78db139ed32bcedec9861e83cb8c42809cf)
|
|
Ronnie. If a lock timeout expires, we must check we can get the
lock before responding with failure. Volker is writing a torture test.
Jeremy.
(This used to be commit 45380f356b99d575645873b05af17c504b091dc8)
|
|
pipe used when connecting to win2k and newer domain controllers. The
server may be configured to deny anonymous netlogon connections which
would stop domain join verification step. Still, winnt domains require
such smb sessions not to be authenticated using machine credentials.
Creds employed in smb session cannot have a username in upn form, so
provide the separate function to use machine account.
rafal
(This used to be commit 30d99d8ac3379caadc5bdb353977149d1ee16403)
|
|
in SAMBA_3_2_0
(This used to be commit ba05dc013fd14a7c8c3d7775dad9a70d45289de0)
|
|
Guenther
(This used to be commit 29a56dcc78c49653bcf72dea6313fd4852de8f72)
|
|
Guenther
(This used to be commit d8197aca5a4a509d318124f708fe15c35a2b4e11)
|
|
Thanks to Volker for the hint!
Michael
(This used to be commit 3b7ed3ea881dc59b77a067d5d3738e9e03b6c538)
|
|
Guenther
(This used to be commit 85c816c27f2b9d20dfaf411b12ec1803a49574ce)
|
|
(This used to be commit f7e8df81ef9e1deadb1251e5e5959e90a4432f40)
|
|
Guenther
(This used to be commit 71307c371fea917b91214df7a24cd91170d40dd9)
|
|
Guenther
(This used to be commit fb9228b8d167552f0a046ab674f66d4e5b73f5b6)
|
|
Guenther
(This used to be commit 1efc5009a4b72a5a4c600ca3af7dc7cf05f74353)
|
|
The lockup could happen when packet_read_sync() gets two packets in a row, the
first one being an async message, and the second one being the response to a
ctdb request.
Also add some debug msg to ctdb_conn.c, and cut off the "locking key" messages
to only dump 20 hex chars at debug level 10. >10 will dump everything.
(This used to be commit 0a55880a240b619810371a19144dd0a75208adfe)
|
|
winxp).
This correctly updates pwdLastSet field on win2k3 server.
rafal
(This used to be commit dd6d44c1665121cff9ccc2c09580169ca4d330b9)
|
|
Guenther
(This used to be commit b83626676ca37437e62b826923fbd1d985eb7ce6)
|
|
build farm to see I didn't stuff this up...
Jeremy.
(This used to be commit 4ca43172d9feae92060ddefb76a97622bca32d1b)
|
|
Jeremy.
(This used to be commit e2d924248ef4c8158e80bfffa5d734b9723112ce)
|
|
Leaving the commented out code for now, in case I need to re-test
some stuff.
Jeremy
(This used to be commit 343be0464342aac14a9592fd73a71b7589ba34d5)
|
|
winbindd.
Guenther
(This used to be commit 6cf7187e88b4d4c1dfe90fcab459e39a0dbd3a11)
|
|
Michael
(This used to be commit 757b5c1bd7ff3d6bbf99753c1b617338ee837531)
|
|
Guenther
(This used to be commit d82c1638b8ada43cfcbf9f71586c4c6849902c7e)
|
|
locator plugin
into a tiny winbindd DsGetDcName client. This still does not solve the case of
using the locator from within winbindd itself but at least gencache.tdb and
others are no longer corrupted.
Guenther
(This used to be commit 908e7963b8b2dd9b149f526a53dbb5dc7662bbef)
|
|
Guenther
(This used to be commit 429496a4ccb5c4f4eda11f1b522629889b972c71)
|
|
request
specfic and generic flags in a winbindd_request.
It turns out that the WBFLAG_RECURSE flag is the only non-PAM specific flag we
put into the "flags" field of a winbind request anyway. Now each request
command can use the entire space of the "flags" field.
Guenther
(This used to be commit 18b29763d1ea0e9198f45bafa460dd68cb69a3d5)
|
|
somehow. Don't include the PIE_FLAGS when building shared libs.
(This used to be commit 22f2f1e033a7a6877c6b8a0847179728a408af85)
|
|
(This used to be commit 23c8f4f74bfb761894034ce9375258411c80d74d)
|
|
Guenther
(This used to be commit 579fb55b7556dc90b42f77d5fc9e9c31f34974e5)
|
|
for fine
grained KDC DNS queries).
Guenther
(This used to be commit 3263cd680fe429430d789b284464fca72ef45719)
|
|
Guenther
(This used to be commit a30549bbf4521232158262e117219b0fa8f5eb74)
|
|
Also add dns query functions to find GCs and DCs by GUID.
Guenther
(This used to be commit cc469157f6684ec507bf1c3a659fc36a53d304a1)
|
|
r23977.
Michael
(This used to be commit a3506f291abfb8a9516b79c10c79841a7391651e)
|
|
NTSTATUS.
Guenther
(This used to be commit 8300aac4944613e411a78ab98de5d77f8fd38fa7)
|
|
Guenther
(This used to be commit f62292c5a1bcae2bfa10632014c5ac06dd1f50bb)
|
|
torturetest).
Mimir, please have a look. DATA_BLOBs will now just show up as "DATA_BLOB"
values with "net cache list".
Guenther
(This used to be commit b8ad546d041a2a8cc85c7db8eba4d2d3b97df1a8)
|
|
commit fb52f971986dd298abbcd9745ddf702820ce0184
Author: Gerald Carter <coffeedude@plainjoe.org>
Date: Mon Aug 27 13:50:26 2007 -0500
Check correct return type for pam_winbind_request_log() wnibind_upn_to_username
which is an int and not NSS_STATUS.
commit 7382edf6fc0fe555df89d5b2a94d12b35049b279
Author: Gerald Carter <coffeedude@plainjoe.org>
Date: Mon Aug 27 13:30:26 2007 -0500
Allow wbinfo -n to convert a UPN to a SID
commit 8266c0fe1ccf2141e5a983f3213356419e626dda
Author: Gerald Carter <coffeedude@plainjoe.org>
Date: Fri Aug 3 09:53:16 2007 -0500
Merge some of Guenther UPN work for pam_winbind.c (check the winbind separator
and better pam logging when converting a upn to a username).
commit 15156c17bc81dbcadf32757015c4e5158823bf3f
Author: Gerald Carter <coffeedude@plainjoe.org>
Date: Fri Aug 3 08:52:50 2007 -0500
Include Universal groups from the cached PAC/SamLogon info when
generating the list of domain group SIDs for a user's token.
commit 979053c0307b051954261d539445102c55f309c7
Author: Gerald Carter <coffeedude@plainjoe.org>
Date: Thu Aug 2 17:35:41 2007 -0500
merge upnlogon patch from my tree
(This used to be commit 98fb5bcd5702d5086bdf9b58105a67efb90950f4)
|
|
Guenther
(This used to be commit 6a9af88a2d5daa0335a4596f7a826141ba81e303)
|
|
when the realloc failed.
Guenther
(This used to be commit 750b52cb47b2fd0d31125274fb471a4f1ad6ffa9)
|
|
Guenther
(This used to be commit 5187157607c0688e718079fb351e144d431e9040)
|
|
(This used to be commit 17df313db42199e26d7d2044f6a1d845aacd1a90)
|
|
Swat has not been built by default for a while, so I did not notice that
the _ macro is actually used. Re-add the lang_msg_rotate function, this
time only to swat so that this is the only binary that has to take the
16k penalty.
(This used to be commit 191e1ef840c293f8575cc0a3f3ffba2080431fae)
|