Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3-groupdb: fix enum_aliasmem in ldb branch. | Günther Deschner | 2009-06-12 | 1 | -1/+1 |
| | | | | | | | | | | | It is totally valid to have an alias with no members. This fixes bug #6465. Tridge, please check. Found by RPC-SAMR torture test. Guenther | ||||
* | Ignore 3.0 style invalid group mappings during upgrade to ldb | Volker Lendecke | 2008-11-04 | 1 | -0/+7 |
| | |||||
* | Merge branch 'v3-3-test' of ssh://jra@git.samba.org/data/git/samba into ↵ | Jeremy Allison | 2008-08-27 | 1 | -1/+7 |
|\ | | | | | | | v3-3-test | ||||
| * | ldb: Fix permissions of group_mapping.ldb. | Andrew Tridgell | 2008-08-27 | 1 | -1/+7 |
| | | | | | | | | | | This one fixes bug #5715 and CVE-2008-3789. (cherry picked from commit a94f44c49f668fcf12f4566777a668043326bf97) | ||||
* | | Be explicit about setting perms for the ldb. Helps others who may use this api. | Jeremy Allison | 2008-08-27 | 1 | -0/+3 |
|/ | | | | Jeremy. | ||||
* | fixed lots of places that paniced on a failed transaction_commit, | Andrew Tridgell | 2008-08-13 | 1 | -2/+2 |
| | | | | thinking it was a failure of a transaction cancel | ||||
* | first cut at adding full transactions for ctdb to samba3 | Andrew Tridgell | 2008-08-13 | 1 | -1/+1 |
| | |||||
* | Add fix from Simo for bug #5540 - missing code to substitute | Jeremy Allison | 2008-07-14 | 1 | -3/+6 |
| | | | | | %u. Make this the same as other uses. Jeremy. | ||||
* | Fix build warning. | Günther Deschner | 2008-07-03 | 1 | -1/+1 |
| | | | | | | Thanks to Thorkil Olesen. Guenther | ||||
* | groupdb: make mapping_tdb compatible to mapping_ldb | Stefan Metzmacher | 2008-04-12 | 1 | -1/+1 |
| | | | | | | | | 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 | ||||
* | groupdb: readd groupdb:backend parametric option | Stefan Metzmacher | 2008-04-12 | 1 | -2/+20 |
| | | | | | | | | This reverts c5adb92c020e38644baf1afc8fc570a518cd6307. The reason is that ldb doesn't work for cluster setups yet. metze | ||||
* | mapping_tdb: fix enumeration of mappings. | Michael Adam | 2008-04-04 | 1 | -1/+1 |
| | | | | | | db->traverse_read returns the number of traversed object on success. Michael | ||||
* | mapping.tdb: fix creation of entries with GROUP_PREFIX | Michael Adam | 2008-04-04 | 1 | -1/+1 |
| | | | | | | Macro is no expanded inside literal string. Michael | ||||
* | Convert dbwrap_trans_delete to NTSTATUS | Volker Lendecke | 2008-04-01 | 1 | -3/+3 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | Convert dbwrap_trans_store to NTSTATUS | Volker Lendecke | 2008-04-01 | 1 | -3/+3 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | mapping_tdb: use the correct sid for the key creation | Stefan Metzmacher | 2008-04-01 | 1 | -1/+1 |
| | | | | metze | ||||
* | mapping_tdb: use db_open_trans() | Stefan Metzmacher | 2008-04-01 | 1 | -2/+2 |
| | | | | metze | ||||
* | Protect group_mapping.tdb ops with transactions | Volker Lendecke | 2008-04-01 | 1 | -16/+66 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | mapping_ldb: fix memory leak in group enumeration | Stefan Metzmacher | 2008-03-28 | 1 | -1/+2 |
| | | | | metze | ||||
* | Fix a segfault | Volker Lendecke | 2008-03-28 | 1 | -1/+1 |
| | |||||
* | util_tdb: remove trivial and unused tdb_wipe(). | Michael Adam | 2008-03-26 | 1 | -1/+1 |
| | | | | | | It has been replaced by tdb_wipe_all(). Michael | ||||
* | util_tdb: add a wrapper tdb_wipe() for traverse with tdb_traverse_delete_fn(). | Michael Adam | 2008-03-25 | 1 | -1/+1 |
| | | | | | | | Replace all callers of traverse with this tdb_traverse_delete_fn() and don't export tdb_traverse_delete_fn() anymore. Michael | ||||
* | Convert mapping_tdb.c to dbwrap | Volker Lendecke | 2008-03-11 | 2 | -292/+281 |
| | | | | | | 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. | ||||
* | Clean up add_mapping_entry slightly | Volker Lendecke | 2008-03-11 | 1 | -9/+11 |
| | |||||
* | Cleanup after pstring removal | Volker Lendecke | 2008-03-11 | 1 | -1/+1 |
| | |||||
* | Fix "status used uninitialized" warnings. | Jeremy Allison | 2008-01-15 | 2 | -2/+2 |
| | | | | Jeremy. | ||||
* | Convert add_sid_to_array() add_sid_to_array_unique() to return NTSTATUS. | Michael Adam | 2008-01-09 | 2 | -10/+15 |
| | | | | Michael | ||||
* | Don't leak data.dptr on error path. | Michael Adam | 2008-01-09 | 1 | -3/+5 |
| | | | | Michael | ||||
* | Fix flags in call of lookup_name() in pdb_default_create_alias(). | Michael Adam | 2007-12-17 | 1 | -1/+1 |
| | | | | | | Use new flag LOOKUP_NAME_LOCAL. Michael | ||||
* | s/sid_to_string/sid_to_fstring/ | Volker Lendecke | 2007-12-15 | 2 | -14/+14 |
| | | | | least surprise for callers | ||||
* | Replace sid_string_static with sid_to_string | Volker Lendecke | 2007-12-15 | 1 | -1/+2 |
| | | | | | This adds 28 fstrings on the stack, but I think an fstring on the stack is still far better than a static one. | ||||
* | Replace sid_string_static by sid_string_dbg in DEBUGs | Volker Lendecke | 2007-12-15 | 2 | -3/+4 |
| | |||||
* | Fix a segfault | Volker Lendecke | 2007-12-15 | 1 | -2/+2 |
| | | | | sid_to_string still expects a fstring | ||||
* | Remove next_token - all uses must now be next_token_talloc. | Jeremy Allison | 2007-12-07 | 2 | -12/+19 |
| | | | | | No more temptations to use static length strings. Jeremy. | ||||
* | Remove all pstring from groupdb/ | Jeremy Allison | 2007-11-13 | 3 | -86/+189 |
| | | | | Jeremy. | ||||
* | Patch 2 of 3 from Debian Samba packagers: | Gerald (Jerry) Carter | 2007-11-01 | 2 | -5/+5 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | [crash fix] don't use already free'ed memory | Stefan Metzmacher | 2007-10-24 | 1 | -2/+2 |
| | | | | | | | | (found by "make valgrindtest" and my "start winbindd on make test" patch) metze (cherry picked from commit fe21e48489852720a05b305b251e4f5cbb200f7a) (cherry picked from commit 26d8a1ad20c10da495970c584983fbd261b4946e) | ||||
* | RIP BOOL. Convert BOOL -> bool. I found a few interesting | Jeremy Allison | 2007-10-18 | 4 | -42/+42 |
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. | ||||
* | r25405: Fix formatting as per metze's comments | Gerald Carter | 2007-10-10 | 1 | -1/+1 |
| | |||||
* | r25393: Removed unused variable | Gerald Carter | 2007-10-10 | 1 | -2/+0 |
| | |||||
* | r25380: Remove the groupdb:mapping parameter as discussed in the following ↵ | Gerald Carter | 2007-10-10 | 1 | -14/+2 |
| | | | | | | thread: http://lists.samba.org/archive/samba-technical/2007-June/053747.html | ||||
* | r25024: Fix a whole bunch of Coverity bugs | Volker Lendecke | 2007-10-10 | 1 | -0/+1 |
| | | | | | | 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. | ||||
* | r23801: The FSF has moved around a lot. This fixes their Mass Ave address. | Andrew Tridgell | 2007-10-10 | 3 | -6/+3 |
| | |||||
* | r23779: Change from v2 or later to v3 or later. | Jeremy Allison | 2007-10-10 | 3 | -3/+3 |
| | | | | Jeremy. | ||||
* | r23510: Tidy calls to smb_panic by removing trailing newlines. Print the | James Peach | 2007-10-10 | 1 | -1/+1 |
| | | | | failed expression in SMB_ASSERT. | ||||
* | r23367: check the "use mmap" option for ldb too | Andrew Tridgell | 2007-10-10 | 1 | -0/+4 |
| | |||||
* | r23323: merged ldb changes from 3.0.26 | Andrew Tridgell | 2007-10-10 | 4 | -134/+192 |
| | |||||
* | r22787: More from Karolin: Make map_unix_group() static to net_sam.c, add "net | Volker Lendecke | 2007-10-10 | 1 | -64/+0 |
| | | | | sam unmapunixgroup" | ||||
* | r22786: Some cleanup by Karolin Seeger: Remove unused pdb_find_alias, and change | Volker Lendecke | 2007-10-10 | 1 | -16/+0 |
| | | | | | | return values of some alias-releated pdb functions from BOOL to NTSTATUS Thanks :-) | ||||
* | r22554: Fix an assumption that TALLOC_ARRAY(.., 0) != NULL. | Volker Lendecke | 2007-10-10 | 1 | -2/+7 |
| | | | | Volker |