| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
At the moment these files are used just by Samba 3, but the next step
will be using them from Samba 4 as well.
|
| |/
| |
| |
| | |
overriding output directory.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes bug #5866.
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
Karolin
|
| | | |
|
| | |
| | |
| | |
| | | |
traverse on the currently open tdb, and returns the number of entries if the integrity check is successful.
|
| | | |
|
| | |
| | |
| | |
| | | |
Don't move source4 files yet to not confuse git's rename tracking too much.
|
| | |
| | |
| | |
| | | |
Karolin
|
| | |
| | |
| | |
| | | |
Karolin
|
| | |
| | |
| | |
| | | |
metze
|
| | | |
|
| | | |
|
| | | |
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
previous behaviour for the 'bad bind' case.
(It is only close, not matching - Windows 2008 sends a different,
non-zero, assoc_group_id each time)
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | | |
the dom_sid). No longer include it from security.idl.
|
| |/ / |
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ldb indexing can cause huge files, and huge memory usage. This
experiment allows us to keep indexes in memory during a transaction,
then to write the indexes to disk when the transaction completes. The
result is that the db is much smaller (we have seen improvements of
about 100x in file size) and memory usage during large transactions is
also greatly reduced
Note that this patch uses the unusual strategy of putting pointers
into a ldb (and thus into a tdb). This works because the pointers are
only there during a transaction, so the pointers are not exposed to
any other users of the database. The pointers allow us to avoid some
really bad allocation problems with tdb record allocation during the
re-indexing.
|
| |
| |
| |
| |
| |
| |
| |
| | |
re-indexing in ldb is triggered on any modification to the @ATTRIBUTES
or @INDEXLIST records. This happens to produce a worst-case
fragmentation of the database, as all @INDEX records are deleted then
re-created. By repacking after re-indexing we ensure that the database
ends up without extreme fragmentation.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The command line tools ldbadd, ldbmodify and ldbedit should operate
within a transaction to make them more efficient. The ldbadd tool in
particular is much faster when adding a large number of records if all
the adds happen within a transaction. Previously there was a
transaction per record.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The tdb_repack() function repacks a TDB so that it has a single
freelist entry. The file doesn't shrink, but it does remove all
freelist fragmentation. This code originated in the CTDB vacuuming
code, but will now be used in ldb to cope with fragmentation from
re-indexing
|
| |
| |
| |
| |
| |
| | |
tdbbackup was originally written before we had transactions, and it
attempted to use its own fsync() calls to make it safe. Now that we
have transactions we can do it in a much safer (and faster!) fashion
|
|\| |
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
this was introduced by commit 3358a139d2dc77eb4c842d41722b1acc24bd2cb2.
Michael
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
and use the abstracted free_one_parameter_common() in old
free_one_parameter_by_snum() as well as in new free_one_parameter()
Michael
|
| | |
| | |
| | |
| | | |
Michael
|
| | |
| | |
| | |
| | | |
Michael
|
| | |
| | |
| | |
| | |
| | |
| | | |
and use this in lp_local_ptr_by_snum().
Michael
|
| | |
| | |
| | |
| | | |
Michael
|
| | |
| | |
| | |
| | | |
Michael
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Older pam implementations on Linux define PAM_AUTHTOK_RECOVER_ERR
instead of PAM_AUTHTOK_RECOVERY_ERR. We have always defined and
are using PAM_AUTHTOK_RECOVER_ERR in all other places.
Michael
|
| | | |
|
| |\| |
|
| | |
| | |
| | |
| | | |
This involves changing all our clients, that's why it's so large.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
to ensure we get the correct error message.
Jeremy.
|
| | | |
|
| | |
| | |
| | |
| | | |
Every sane compiler will only allocate "*SMBSERVER" once
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Derrell, please check!
Thanks,
Volker
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In this form, the prots array is fully read-only in the text segment and thus
can be shared between processes.
Probably pointless, but I had fun doing it :-)
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(similar to commit feef594d275881466e2c3f59c0ff54609a9cc53b)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 543fa85a711337e979c7b631bda5db95d109ef59)
|