| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
| |
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Thu Apr 19 19:13:45 CEST 2012 on sn-devel-104
|
| |
|
| |
|
| |
|
|
|
|
| |
We can assume that the rbt dbs are around
|
|
|
|
|
|
| |
For the notify cleanup process we have a notify context without a
messaging entry. We will never call notify_add/remove for this, but
the code should protect against this.
|
|
|
|
| |
Not sure this will actually please Coverity, but it fixes a severe bug
|
| |
|
|
|
|
|
| |
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 19 14:15:42 CEST 2012 on sn-devel-104
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is no need to call pdb_set_pass_must_change_time() because
nothing ever consults that value. It is always calculated from the
domain policy.
Also, this means we no longer store the value in LDAP. The value
would only ever be set when migrating from tdbsam or smbpasswd, not on
password changes, so would become incorrect over time.
Andrew Bartlett
|
|
|
|
|
| |
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Thu Apr 19 10:32:27 CEST 2012 on sn-devel-104
|
| |
|
| |
|
|
|
|
|
| |
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Wed Apr 18 13:39:53 CEST 2012 on sn-devel-104
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
In this case, the blob is already in memory, so it is easier to return the full
blob to the caller, and let the caller decide if some interface restriction
stops the full blob from being passed all the way up the stack.
This allows us to quickly write a python wrapper for this xattr storage
mechanism.
Andrew Bartlett
|
| |
|
| |
|
| |
|
|
|
|
| |
Andrew Bartlett
|
| |
|
|
|
|
|
|
| |
This will help with making dbwrap available as a top level library.
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
| |
This will allow db_open_tdb() to be called from common code, which may
already have a loadparm context loaded.
It also slowly moves the lp_ctx up the stack, as required to remove
the library loop between smbconf and the registry.
Andrew Bartlett
|
|
|
|
|
|
|
| |
This is in preperation for calling dbwrap from common code, where we may not
have a stackframe set up.
Andrew Bartlett
|
|
|
|
| |
-DCONFIGFILE
|
| |
|
| |
|
|
|
|
|
|
|
| |
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Apr 17 16:16:51 CEST 2012 on sn-devel-104
|
|
|
|
|
|
|
| |
smbtorture3 (and maybe others) use fstrings for 'user' and 'password',
so we need to check for empty strings.
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
This reverts commit 92483eee254ef6844fe88abe1e64f67033a1ea2d.
|
|
|
|
|
| |
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Tue Apr 17 11:54:35 CEST 2012 on sn-devel-104
|
|
|
|
| |
This triggers a notify cleanup run which would normally only run periodically
|
|
|
|
|
|
|
|
|
|
|
|
| |
From notify_internal.c:
/*
* The notify database is split up into two databases: One
* relatively static index db and the real notify db with the
* volatile entries.
*/
This change is necessary to make notify scale better in a cluster
|
| |
|
| |
|
|
|
|
| |
This will avoid the need for some #ifdefs
|
|
|
|
| |
This might make some #ifdef CLUSTER_SUPPORT unnecessary in the future
|
|
|
|
|
|
|
|
| |
This will help notify torture tests: A tevent barrier can be waited on with
tevent_barrier_wait_send/recv. The barrier is initialized with a number of
requests that it will accept waiting. When that number is reached, all those
requests will be released and their callback will be called. The barrier will
be free for re-use again.
|
| |
|
|
|
|
| |
Send a raw blob without the messaging.idl wrap
|
|
|
|
| |
This is a tevent_based variant of messaging_register
|
|
|
|
|
|
|
|
| |
This is a void* that represents a signal handler attached to some
custom tevent_context. This is necessary to make the tdb based
messaging infrastructure trigger its business when we are sitting in
tevent_loop_once for an event context that is not the main one in the
messaging context.
|
|
|
|
| |
The existing one is not async at all.
|
|
|
|
|
|
|
|
|
|
| |
This is designed to spread the load on individual ctdb records to allow upper
layers to do backoff mechanisms. In the ctdb case, do not get the record if a
local lock is already taken. If we are not dmaster, do at most one migrate
attempt.
For the tdb case, this is a nonblocking fetch_locked. If someone else has the
lock, give up.
|
|
|
|
|
|
| |
This is a caching layer for the notify database and potentially for the brlock
database. It caches the parse_record operation as long as the underlying seqnum
does not change.
|