| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Jeremy.
(cherry picked from commit 9f1bb27bf566069dab48eea125c22a5e20849774)
|
|
|
|
| |
This one fixes bug #5715 and CVE-2008-3789.
|
|
|
|
|
|
| |
%u. Make this the same as other uses.
Jeremy.
(cherry picked from commit 56d8ed48a94b558ad442e38c3d1925c4810dc508)
|
|
|
|
|
|
|
|
| |
Thanks to Thorkil Olesen.
Guenther
(cherry picked from commit c18e5983c1e9274131ac7fca7ca5e6739ba2b312)
(cherry picked from commit b7a53f20494bec008aabd4de4d3a14ece8b9cda1)
|
|
|
|
|
|
|
|
|
| |
This reverts c5adb92c020e38644baf1afc8fc570a518cd6307.
The reason is that ldb doesn't work for cluster setups yet.
metze
(cherry picked from commit 5f5d90ef76b969ecbe564399368a7450c4e3d155)
|
|
|
|
|
|
|
|
|
| |
mapping_ldb replaces the record if it already exists.
I'm not sure if that a good thing, but for now
both backends should provide the same behavior.
metze
(cherry picked from commit b313acdd31c97d032c3890764addf66c6b9a4d89)
|
|
|
|
| |
(cherry picked from commit 40d1d64c6a2ae128eb3fce0e7f5351b0c5942f30)
|
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit dead193f46c2b19955ab3e5ac5ba343694f4858a)
|
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 5f4de856af1abe63b13059bbe1615cb5877770d0)
|
|
|
|
|
| |
metze
(cherry picked from commit 0d221a3f0a948e173b22585b7833a5441d860a57)
|
|
|
|
|
| |
metze
(cherry picked from commit 16d18df0d069aec645c41e38e8c926ccdaac9388)
|
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit d702ed73c1b986ded9deaa3abed92c39d71949fc)
|
|
|
|
|
|
|
| |
db->traverse_read returns the number of traversed object on success.
Michael
(cherry picked from commit 2be2188a97060f04c2dea3ca9ed0fd3db0b3df7c)
|
|
|
|
|
|
|
| |
Macro is no expanded inside literal string.
Michael
(cherry picked from commit 872a3d3d38287ab9cbb260d05777481d94e03539)
|
|
|
|
|
| |
metze
(cherry picked from commit 235c056a0ecbb70b21a2572d42c32067dd699988)
|
|
|
|
|
|
|
| |
It has been replaced by tdb_wipe_all().
Michael
(cherry picked from commit cdde2e4eaca51d51f036ad99d55df7bfd6535b03)
|
|
|
|
|
|
|
|
| |
Replace all callers of traverse with this tdb_traverse_delete_fn() and
don't export tdb_traverse_delete_fn() anymore.
Michael
(cherry picked from commit d4be4e30cd8c3bdc303da30e42280f892a45a8c9)
|
|
|
|
|
|
|
| |
I know, this is not used anymore, but until ldb knows about ctdb which is
blocked by the lack of transactions in ctdb, a tiny patch reactivating
mapping_tdb.c might be needed for cluster setups.
(cherry picked from commit 8e0fa453a3d0a2c997a935b6940796612c972708)
|
|
|
|
| |
(cherry picked from commit 38bb69cb316ba605a6d3a4454b986cb63ace3c21)
|
|
|
|
| |
(cherry picked from commit 66d2a9c87411be88269bbb3a4d3c0a218a55be06)
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Michael
|
|
|
|
| |
Michael
|
|
|
|
|
|
| |
Use new flag LOOKUP_NAME_LOCAL.
Michael
|
|
|
|
| |
least surprise for callers
|
|
|
|
|
| |
This adds 28 fstrings on the stack, but I think an fstring on the stack is
still far better than a static one.
|
| |
|
|
|
|
| |
sid_to_string still expects a fstring
|
|
|
|
|
| |
No more temptations to use static length strings.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The point is doing the following associations:
- non discardable state data (all TDB files that may need to be backed
up) go to statedir
- shared data (codepage stuff) go to codepagedir
The patch *does not change* the default location for these
directories. So, there is no behaviour change when applying it.
The main change is for samba developers who have to think when dealing
with files that previously pertained to libdir whether they:
- go in statedir
- go in codepagedir
- stay in libdir
|
|
|
|
|
|
|
|
| |
(found by "make valgrindtest" and my "start winbindd on make test" patch)
metze
(cherry picked from commit fe21e48489852720a05b305b251e4f5cbb200f7a)
(cherry picked from commit 26d8a1ad20c10da495970c584983fbd261b4946e)
|
|
|
|
|
|
|
| |
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
|
| |
|
| |
|
|
|
|
|
|
| |
thread:
http://lists.samba.org/archive/samba-technical/2007-June/053747.html
|
|
|
|
|
|
| |
The callers of get_domain_group_from_sid() with some justification
expected map->gid to be initialized when get_domain_group_from_sid
returned True.
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
failed expression in SMB_ASSERT.
|
| |
|
| |
|
|
|
|
| |
sam unmapunixgroup"
|
|
|
|
|
|
| |
return values of some alias-releated pdb functions from BOOL to NTSTATUS
Thanks :-)
|
|
|
|
| |
Volker
|
|
|
|
|
| |
on talloc()'d memory when adding/removing members
from Local Groups.
|
|
|
|
|
|
| |
and fix all compiler warnings in the users
metze
|
|
|
|
|
|
| |
to avoid creating the TDB_DATA struct from strings "by hand"
metze
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we never mix malloc and talloc'ed contexts in the
add_XX_to_array() and add_XX_to_array_unique()
calls. Ensure that these calls always return
False on out of memory, True otherwise and always
check them. Ensure that the relevent parts of
the conn struct and the nt_user_tokens are
TALLOC_DESTROYED not SAFE_FREE'd.
James - this should fix your crash bug in both
branches.
Jeremy.
|
| |
|