Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib/sharesec.c: fix the upgrade code, db_traverse returns the number of records! | Stefan Metzmacher | 2008-04-21 | 1 | -2/+4 |
| | | | | | metze (cherry picked from commit ccdebe97f85b76378e42d8cf08324228bd19cf32) | ||||
* | Convert dbwrap_trans_delete to NTSTATUS | Volker Lendecke | 2008-04-12 | 1 | -2/+4 |
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit dead193f46c2b19955ab3e5ac5ba343694f4858a) | ||||
* | Convert dbwrap_trans_store to NTSTATUS | Volker Lendecke | 2008-04-12 | 1 | -4/+5 |
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 5f4de856af1abe63b13059bbe1615cb5877770d0) | ||||
* | sharesec: use db_open_trans() | Stefan Metzmacher | 2008-04-12 | 1 | -2/+2 |
| | | | | | metze (cherry picked from commit 1c59142ccc46616c10b98c51601361f203d542d6) | ||||
* | Convert share_info.tdb to dbwrap | Volker Lendecke | 2008-04-12 | 1 | -17/+64 |
| | | | | (cherry picked from commit bc9b4c43b8824cd53f9ab613bcbb94cd5193f43e) | ||||
* | Fix a memory leak | Volker Lendecke | 2008-03-28 | 1 | -0/+2 |
| | | | | (cherry picked from commit ce1bd43cdae63ff05aefaded419388e7b9e3ba9a) | ||||
* | use tdb_wipe_all() instead of tdb_wipe() - it is faster... | Michael Adam | 2008-03-27 | 1 | -1/+1 |
| | | | | | Michael (cherry picked from commit 3d2fdcd50fdbfb66a14360516836445d47eceeb0) | ||||
* | util_tdb: add a wrapper tdb_wipe() for traverse with tdb_traverse_delete_fn(). | Michael Adam | 2008-03-27 | 1 | -1/+1 |
| | | | | | | | | 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) | ||||
* | use talloc_tos() in share_access_check() | Volker Lendecke | 2008-01-10 | 1 | -8/+3 |
| | |||||
* | Remove tiny code duplication | Volker Lendecke | 2007-12-29 | 1 | -1/+1 |
| | | | | ndr_size_security_descriptor does the same as sec_desc_size | ||||
* | Some C++ fixes | Volker Lendecke | 2007-12-21 | 1 | -3/+7 |
| | |||||
* | Remove next_token - all uses must now be next_token_talloc. | Jeremy Allison | 2007-12-07 | 1 | -2/+2 |
| | | | | | No more temptations to use static length strings. Jeremy. | ||||
* | Make share_info_db_init static | Volker Lendecke | 2007-12-05 | 1 | -1/+1 |
| | |||||
* | Patch 2 of 3 from Debian Samba packagers: | Gerald (Jerry) Carter | 2007-11-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | RIP BOOL. Convert BOOL -> bool. I found a few interesting | Jeremy Allison | 2007-10-18 | 1 | -7/+7 |
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. | ||||
* | r25564: Pass sharename to delete_share_security() | Volker Lendecke | 2007-10-10 | 1 | -6/+8 |
| | |||||
* | r25561: Make use of [un]marshall_sec_desc | Volker Lendecke | 2007-10-10 | 1 | -40/+51 |
| | | | | Minor cleanup only | ||||
* | r25534: Apply some const | Volker Lendecke | 2007-10-10 | 1 | -1/+1 |
| | | | | | | Why? It moves these structs from the data into the text segment, so they will never been copy-on-write copied. Not much, but as in German you say "Kleinvieh macht auch Mist...." | ||||
* | r23801: The FSF has moved around a lot. This fixes their Mass Ave address. | Andrew Tridgell | 2007-10-10 | 1 | -2/+1 |
| | |||||
* | r23779: Change from v2 or later to v3 or later. | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | r22006: use string_term_tdb_data()... | Stefan Metzmacher | 2007-10-10 | 1 | -2/+1 |
| | | | | metze | ||||
* | r21987: split tdb_prs_*() functions in version which take a keystr and a ↵ | Stefan Metzmacher | 2007-10-10 | 1 | -2/+2 |
| | | | | | | TDB_DATA key metze | ||||
* | r19950: talloc_destroy is replaced these days | Volker Lendecke | 2007-10-10 | 1 | -2/+1 |
| | |||||
* | r19669: set_share_security does not need a mem_ctx passed | Volker Lendecke | 2007-10-10 | 1 | -1/+1 |
| | |||||
* | r19448: Convert delete_share_security to struct share_params plus some cleanups | Volker Lendecke | 2007-10-10 | 1 | -4/+5 |
| | |||||
* | r17097: Move share_access_check from rpc_server/srv_srvsvc_nt.c to ↵ | Volker Lendecke | 2007-10-10 | 1 | -0/+31 |
| | | | | lib/sharesec.c | ||||
* | r17032: I thought I had already merged this from trunk: | Volker Lendecke | 2007-10-10 | 1 | -3/+5 |
| | | | | | | | | > r16959 | vlendec | 2006-07-11 23:10:44 +0200 (Di, 11 Jul 2006) | 1 line > > get_share_security does not need snum, activate RPC-SAMBA3-SRVSVC Volker | ||||
* | r15101: Little step towards getting Samba4 tdb into 3: tdb_lock_bystring ↵ | Volker Lendecke | 2007-10-10 | 1 | -1/+1 |
| | | | | | | | | | does not have the timeout argument in Samba4. Add a new routine tdb_lock_bystring_with_timeout. Volker | ||||
* | r13316: Let the carnage begin.... | Gerald Carter | 2007-10-10 | 1 | -0/+308 |
Sync with trunk as off r13315 |