summaryrefslogtreecommitdiffstats
path: root/source/lib/sharesec.c
Commit message (Collapse)AuthorAgeFilesLines
* lib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!Stefan Metzmacher2008-04-211-2/+4
| | | | | metze (cherry picked from commit ccdebe97f85b76378e42d8cf08324228bd19cf32)
* Convert dbwrap_trans_delete to NTSTATUSVolker Lendecke2008-04-121-2/+4
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit dead193f46c2b19955ab3e5ac5ba343694f4858a)
* Convert dbwrap_trans_store to NTSTATUSVolker Lendecke2008-04-121-4/+5
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 5f4de856af1abe63b13059bbe1615cb5877770d0)
* sharesec: use db_open_trans()Stefan Metzmacher2008-04-121-2/+2
| | | | | metze (cherry picked from commit 1c59142ccc46616c10b98c51601361f203d542d6)
* Convert share_info.tdb to dbwrapVolker Lendecke2008-04-121-17/+64
| | | | (cherry picked from commit bc9b4c43b8824cd53f9ab613bcbb94cd5193f43e)
* Fix a memory leakVolker Lendecke2008-03-281-0/+2
| | | | (cherry picked from commit ce1bd43cdae63ff05aefaded419388e7b9e3ba9a)
* use tdb_wipe_all() instead of tdb_wipe() - it is faster...Michael Adam2008-03-271-1/+1
| | | | | Michael (cherry picked from commit 3d2fdcd50fdbfb66a14360516836445d47eceeb0)
* util_tdb: add a wrapper tdb_wipe() for traverse with tdb_traverse_delete_fn().Michael Adam2008-03-271-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 Lendecke2008-01-101-8/+3
|
* Remove tiny code duplicationVolker Lendecke2007-12-291-1/+1
| | | | ndr_size_security_descriptor does the same as sec_desc_size
* Some C++ fixesVolker Lendecke2007-12-211-3/+7
|
* Remove next_token - all uses must now be next_token_talloc.Jeremy Allison2007-12-071-2/+2
| | | | | No more temptations to use static length strings. Jeremy.
* Make share_info_db_init staticVolker Lendecke2007-12-051-1/+1
|
* Patch 2 of 3 from Debian Samba packagers:Gerald (Jerry) Carter2007-11-011-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 interestingJeremy Allison2007-10-181-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 Lendecke2007-10-101-6/+8
|
* r25561: Make use of [un]marshall_sec_descVolker Lendecke2007-10-101-40/+51
| | | | Minor cleanup only
* r25534: Apply some constVolker Lendecke2007-10-101-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 Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r22006: use string_term_tdb_data()...Stefan Metzmacher2007-10-101-2/+1
| | | | metze
* r21987: split tdb_prs_*() functions in version which take a keystr and a ↵Stefan Metzmacher2007-10-101-2/+2
| | | | | | TDB_DATA key metze
* r19950: talloc_destroy is replaced these daysVolker Lendecke2007-10-101-2/+1
|
* r19669: set_share_security does not need a mem_ctx passedVolker Lendecke2007-10-101-1/+1
|
* r19448: Convert delete_share_security to struct share_params plus some cleanupsVolker Lendecke2007-10-101-4/+5
|
* r17097: Move share_access_check from rpc_server/srv_srvsvc_nt.c to ↵Volker Lendecke2007-10-101-0/+31
| | | | lib/sharesec.c
* r17032: I thought I had already merged this from trunk:Volker Lendecke2007-10-101-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 Lendecke2007-10-101-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 Carter2007-10-101-0/+308
Sync with trunk as off r13315