summaryrefslogtreecommitdiffstats
path: root/source3/lib/sharesec.c
Commit message (Collapse)AuthorAgeFilesLines
* Add iconv_convenience argument to size functions.Jelmer Vernooij2009-01-011-1/+1
|
* Make sure share_info.tdb is open before attempting to delete an entrySteven Danneman2008-12-281-2/+6
|
* Another unused variable.Jeremy Allison2008-10-311-1/+0
|
* Unify se_access_check with the S4 code. Will makeJeremy Allison2008-10-311-2/+2
| | | | | | calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy.
* Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison2008-10-091-4/+4
| | | | Jeremy.
* Thanks metze for pointing out the missing extern :-)Volker Lendecke2008-09-081-1/+1
| | | | (This used to be commit b62540cd48212a80c8cb4a264f740591a0229944)
* Remove some duplicate codeVolker Lendecke2008-09-081-6/+1
| | | | (This used to be commit 564bfe94ac87c918482ade65980270326dc8ed6d)
* fixed lots of places that paniced on a failed transaction_commit,Andrew Tridgell2008-08-131-1/+1
| | | | | thinking it was a failure of a transaction cancel (This used to be commit 22dbe158ed62ae47bbcb41bba3db345294f75437)
* first cut at adding full transactions for ctdb to samba3Andrew Tridgell2008-08-131-1/+1
| | | | (This used to be commit f91a3e0f7b7737c1d0667cd961ea950e2b93e592)
* lib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!Stefan Metzmacher2008-04-151-2/+4
| | | | | metze (This used to be commit ccdebe97f85b76378e42d8cf08324228bd19cf32)
* Convert dbwrap_trans_delete to NTSTATUSVolker Lendecke2008-04-011-2/+4
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit dead193f46c2b19955ab3e5ac5ba343694f4858a)
* Convert dbwrap_trans_store to NTSTATUSVolker Lendecke2008-04-011-4/+5
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 5f4de856af1abe63b13059bbe1615cb5877770d0)
* sharesec: use db_open_trans()Stefan Metzmacher2008-04-011-2/+2
| | | | | metze (This used to be commit 1c59142ccc46616c10b98c51601361f203d542d6)
* Convert share_info.tdb to dbwrapVolker Lendecke2008-04-011-17/+64
| | | | (This used to be commit bc9b4c43b8824cd53f9ab613bcbb94cd5193f43e)
* Fix a memory leakVolker Lendecke2008-03-281-0/+2
| | | | (This used to be commit ce1bd43cdae63ff05aefaded419388e7b9e3ba9a)
* use tdb_wipe_all() instead of tdb_wipe() - it is faster...Michael Adam2008-03-261-1/+1
| | | | | Michael (This used to be commit 3d2fdcd50fdbfb66a14360516836445d47eceeb0)
* util_tdb: add a wrapper tdb_wipe() for traverse with tdb_traverse_delete_fn().Michael Adam2008-03-251-1/+1
| | | | | | | | Replace all callers of traverse with this tdb_traverse_delete_fn() and don't export tdb_traverse_delete_fn() anymore. Michael (This used to be commit d4be4e30cd8c3bdc303da30e42280f892a45a8c9)
* use talloc_tos() in share_access_check()Volker Lendecke2008-01-101-8/+3
| | | | (This used to be commit ac2bb838d537ca563ad2fe770b3e1c2fe8b1d9e7)
* Remove tiny code duplicationVolker Lendecke2007-12-291-1/+1
| | | | | ndr_size_security_descriptor does the same as sec_desc_size (This used to be commit bc3bd7a8e7c6e9e27acb195c86abb92c0f53112f)
* Some C++ fixesVolker Lendecke2007-12-211-3/+7
| | | | (This used to be commit 5c392c4c6e277a24d0d477902dc7856b2b46ee53)
* 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. (This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)
* Make share_info_db_init staticVolker Lendecke2007-12-051-1/+1
| | | | (This used to be commit 111502d3a2901abcff25792bed3c4038a7592410)
* 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 (This used to be commit d6cdbfd875bb2653e831d314726c3240beb0a96b)
* 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. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r25564: Pass sharename to delete_share_security()Volker Lendecke2007-10-101-6/+8
| | | | (This used to be commit d100bfffe2a503b8820889faedc6ed57100ca7af)
* r25561: Make use of [un]marshall_sec_descVolker Lendecke2007-10-101-40/+51
| | | | | Minor cleanup only (This used to be commit 4dc4364b68b6b68ae0951a84475e2f9ea8cb1f8c)
* 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...." (This used to be commit 0141e64ad4972232de867137064d0dae62da22ee)
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r22006: use string_term_tdb_data()...Stefan Metzmacher2007-10-101-2/+1
| | | | | metze (This used to be commit 136914502ff129b90f10794ed6474dca558c75a0)
* r21987: split tdb_prs_*() functions in version which take a keystr and a ↵Stefan Metzmacher2007-10-101-2/+2
| | | | | | | TDB_DATA key metze (This used to be commit 724c6fa337bb535e1b97d0452c2489f58339a3bf)
* r19950: talloc_destroy is replaced these daysVolker Lendecke2007-10-101-2/+1
| | | | (This used to be commit b6bf2e42672cc84e5c3af6f8b15a9d39c408db13)
* r19669: set_share_security does not need a mem_ctx passedVolker Lendecke2007-10-101-1/+1
| | | | (This used to be commit 53eaa603eb84047263c27d57b8c0f5ce8e157189)
* r19448: Convert delete_share_security to struct share_params plus some cleanupsVolker Lendecke2007-10-101-4/+5
| | | | (This used to be commit c73d0815a3a1f58b951caa62fac601a8f4630894)
* r17097: Move share_access_check from rpc_server/srv_srvsvc_nt.c to ↵Volker Lendecke2007-10-101-0/+31
| | | | | | lib/sharesec.c (This used to be commit 220dd4333032aea238066e3fbec9fca51ed16ddf)
* 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 (This used to be commit c89471e15766fcdbfa4f40701e12c19f95c2d8ef)
* 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 (This used to be commit b9c6e3f55602fa505859a4b2cd137b74105d685f)
* r13316: Let the carnage begin....Gerald Carter2007-10-101-0/+308
Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)