| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
3.2.0pre1
|
| |
|
| |
|
|
|
|
| |
This removes file_id_string_static and file_id_string_static2
|
|
|
|
|
|
|
| |
Not strictly in the SAM, but close enough. This command acts directly on
the local tdb, no running smbd required
This also changes the root-only check to a warning
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Avoid an unnecessary gettimeofday() call
Volker
Fix Bug #2727 and let pam_smbpass at least link and dlopen correctly again.
Thanks to Bartlomiej Solarz-Niesluchowski <Bartlomiej.Solarz-Niesluchowski@wit.edu.pl>.
Guenther
|
|
|
|
|
|
|
| |
Replace smb_register_idle_event() with event_add_timed(). This fixes winbind
which did not run the idle events to drop ldap connections.
Volker
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Return error instead.
Michael
|
|
|
|
|
|
|
|
|
|
|
| |
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 is more safely used with casts from int to uint8, e.g.)
Michael
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Leaving the commented out code for now, in case I need to re-test
some stuff.
Jeremy
|
| |
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
|
| |
for fine
grained KDC DNS queries).
Guenther
|
|
|
|
|
|
| |
r23977.
Michael
|
|
|
|
|
|
|
|
|
| |
torturetest).
Mimir, please have a look. DATA_BLOBs will now just show up as "DATA_BLOB"
values with "net cache list".
Guenther
|
| |
|
| |
|
|
|
|
| |
Use standard data type uint32_t rather than tdb-specific u32.
|
|
|
|
|
|
|
|
| |
as TALLOC_ABORT() is defined to abort() by default
wrap it into a function so that the function name
in the backtrace shows what happens.
metze
|
|
|
|
|
|
|
|
| |
into the popt _POST processing.
Now 'smbd -V --bla' complains about an unknown option
metze
|
| |
|
|
|
|
|
|
|
|
| |
instead of a 2-byte zero character. I can't recall what
rode me when I put that "2" there. But now I think I
have got it right... :-)
Michael
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Thanks!
|
| |
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
|
|
| |
patch from Bjoern JAcke <bj@SerNet.DE>:
attached patches add EA support for Solaris. If no one disagrees, can
someone check this in please?
metze
|
|
|
|
|
| |
I had only tested with "net getlocalsid". posix_locking_init() calls this
with a NULL name...
|
|
|
|
|
|
|
|
|
|
| |
This makes it possible to set the default hashsize for any tdb. I would
like to remove the "open files database hash size" in favor of this one.
I'll check that removal in with the next commit, please complain/revert
if it's not ok.
Volker
|
|
|
|
|
|
|
|
|
| |
add a file_id_create() hook into the VFS layer
it's needed for some cluster filesystems to
overload this function.
metze
|
|
|
|
|
|
|
| |
some little fixes to get the correct error message
when using "clustering = yes" and ctdbd isn't running
metze
|
| |
|
| |
|
|
|
|
| |
recursively
|
|
|
|
| |
and receives messages to other nodes... :-)
|
| |
|
|
|
|
|
|
| |
and not TDB_DATA
metze
|
|
|
|
|
|
| |
registry_pull_value().
Guenther
|
|
|
|
|
|
| |
Timur I. Bakeyev for bugging me :-)
Volker
|
|
|
|
|
|
|
|
|
| |
If restoring a backup fails due to lack of space, remove the
corrupt tdb previously moved away to "name.corrupt", and retry.
If restoring still fails, move the backup in place instead of
copying it.
Michael
|
|
|
|
| |
Michael
|
|
|
|
|
|
|
|
|
| |
error condition to write. This is in tdb_new_database.
Fix one call to tdb_new_database in tdb_open_ex to not
overwrite the newly propagated errno (typically ENOSPC).
Michael
|