Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit 1ee1b75113c7035c8882fe53981dba7cfc3aa187)
|
|
(This used to be commit 613b9fcd18bcc29bf5313e2287b53b8de430d17e)
|
|
These red bars in vi really hurt my eyes... :-o
Michael
(This used to be commit 2e99e141c3254fe072756697b8db3cbd4e4f1db4)
|
|
Further reformat get_trust_pw to conform to coding rules.
Michael
(This used to be commit b9e76a479e933084b1ee081ef5d8bd6bdbd7fadf)
|
|
I've wanted
to make this change for ages, but now with the issue of "open" requiring it,
this is the time to just do all of them.
Derrell
(This used to be commit e746aaaf4db7099252ef048da7857bd488cb681f)
|
|
metze
(This used to be commit 18e830a935d4712bfbff54f94b531e30cea8a1f9)
|
|
mappings.
rafal
(This used to be commit 3a9b5eabf97e892e761184da37465d850b5d774c)
|
|
metze
(This used to be commit ab15f5c3e72df6272db9a4431f720f604fcf40f2)
|
|
Michael
(This used to be commit aa043bb446ec8ab90a8e61c590be8d33b6a2d42d)
|
|
(This used to be commit 113d62682ae8b045ff0132a743a32f3bc4856d54)
|
|
(This used to be commit 5d94c3dab2dfab68f170e18e6af9374026f6f194)
|
|
Guenther
(This used to be commit 9df961914c3119eb6b20ecdc05d963480dea3521)
|
|
operational (from within winbindd and outside).
Guenther
(This used to be commit 800645d5388d7df1f8cf31b4218bfc7dd5b4d12a)
|
|
Thanks to Karolin Seeger <ks@sernet.de>
(This used to be commit 3abf06efc1286090caf380eb685e90ba7f412748)
|
|
(This used to be commit df648d47ff3c4e24f439fda839653bda98323100)
|
|
(This used to be commit cddb9f11d5fafcd3797cb242775c37f0c04d4f15)
|
|
Guenther
(This used to be commit 62426a055513c309a381d0d96d60edc07e6dfcdf)
|
|
(This used to be commit e0b4fb55e3176785a85d66efece15d0a366a35f1)
|
|
(This used to be commit 1b39374a173bf6b40426000d010d092e94afc4d7)
|
|
Now the winbindd cache can be checked at runtime by
calling "smbcontrol winbindd validate-cache".
For the execution of the validation code, I fork a child
and in the child restore the default SIGCHLD handler in
order for the fork/waitpid mechanism of tdb_validate to work.
Michael
(This used to be commit f379a5c47d5004a5a66b6c12ec119c739b9e146d)
|
|
Return error instead.
Michael
(This used to be commit 9b25355dd66519afd548fecbf2da7608b024a35b)
|
|
on a NAS
device. The device resets a NBT connection on port 139 when it receives a
NetBIOS keepalive request. That request should be supported when NetBIOS is
in use; Windows is behaving badly.
libsmbclient needs a way to determine if a connection is still alive, and
was using a NetBIOS keepalive request if port 139 was in use (on the
assumption that it was probably NBT), and getpeername() when port 139 was
not being used (assuming naked transport).
This patch simplifies the code by exclusively using getpeername() to check
whether a connection is still alive. The NetBIOS keepalive request is
optional anyway (with preference being given to using TCP mechanisms for the
same purpose), so this should be both simpler and more reliable.
Derrell
(This used to be commit 1f122352b02e3f4be9ac2d638b18807dafd05429)
|
|
s/net_use_upn_machine_account/net_use_krb_machine_account/
rafal
(This used to be commit 86af9fedad71697f22cc739518340f7753b8f9da)
|
|
A new wrapper tdb_validate_open() takes a filename an opens and closes
the tdb before and after calling tdb_validate() respectively.
winbindd_validata_cache_nobackup() now dynamically calls one of
the above functions depending on whether the cache tdb has already
been opened or not.
Michael
(This used to be commit dc0b08e6590caa4974fd4d9f34f39f261d1f1dee)
|
|
(This is more safely used with casts from int to uint8, e.g.)
Michael
(This used to be commit cb3583b39212688a627a29bbddb2e98497714d42)
|
|
extra args.
Michael
(This used to be commit f1bbf9bc18fc615a5660674f8346b4a7bed50044)
|
|
So there is a new subcommand "smbcontrol winbindd validate-cache" now.
This change provides the infrastructure:
The function currently returns "true" unconditionally.
The call of a real cache validation function will be incorporated
in subsequent changes.
Michael
(This used to be commit ef92d505c04397614cb0dd5ede967e9017a5e302)
|
|
Guenther
(This used to be commit 205ef6ab3e9332a2a4a4f775c2cdddbcd3ec739d)
|
|
build.
Guenther
(This used to be commit ce7c816083db6fc844b936a14dd593fe1ef07374)
|
|
Guenther
(This used to be commit 28f9b8d98dabd9ba8e812ca01bcf4fc192fb5e44)
|
|
This prevents a segfault when get_kdc_ip_string() is called
with sitename == NULL.
Michael
(This used to be commit 58d31e057b57bc69a96e63aabba9aa1da5418d83)
|
|
Guenther
(This used to be commit af90c6949c929c82d4390b2f87a420bd598275dd)
|
|
environment.
Guenther
(This used to be commit 7f42fe4e08c0899f5e8addbc5135d87af193ee68)
|
|
backup and corrupt file handling. (To be used in subsequent
changes.)
(This used to be commit b3dcadbed0b4a1b7bb2e83df2c66bca9dcbcad60)
|
|
(This used to be commit 90626652084c2ada6b2eb041db652720c03a1c3b)
|
|
(This used to be commit 55020b07b5568104091352fd3ae21e2b29e34501)
|
|
Rewrite main() so as to exit only at a single point
where the stack frame is freed, too.
Michael
(This used to be commit dbe38995ec6d2251562a3b10e750bbd681008e16)
|
|
Thanks again to Patrick Rynhart for persisting :-)
Simo, please check!
(This used to be commit 0a9171f9efc2322954c0d06757b91d9124ab8a8e)
|
|
it is leaking.
(This used to be commit 705336ee1098a2c4d6e933dfa3e2f2968fa717ad)
|
|
(This used to be commit c97600b96f6315df8ab0d7ad186423ab75dd4ab5)
|
|
Jeremy.
(This used to be commit c6c8f5a897602d53876fe75e86283d97a394037d)
|
|
Jeremy.
(This used to be commit 0cdf046dae8ba0741bb7786aa4e85c34fc35dade)
|
|
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)
|