summaryrefslogtreecommitdiff
path: root/source3/lib/sharesec.c
AgeCommit message (Collapse)AuthorFilesLines
2008-03-25util_tdb: add a wrapper tdb_wipe() for traverse with tdb_traverse_delete_fn().Michael Adam1-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)
2008-01-10use talloc_tos() in share_access_check()Volker Lendecke1-8/+3
(This used to be commit ac2bb838d537ca563ad2fe770b3e1c2fe8b1d9e7)
2007-12-29Remove tiny code duplicationVolker Lendecke1-1/+1
ndr_size_security_descriptor does the same as sec_desc_size (This used to be commit bc3bd7a8e7c6e9e27acb195c86abb92c0f53112f)
2007-12-21Some C++ fixesVolker Lendecke1-3/+7
(This used to be commit 5c392c4c6e277a24d0d477902dc7856b2b46ee53)
2007-12-07Remove next_token - all uses must now be next_token_talloc.Jeremy Allison1-2/+2
No more temptations to use static length strings. Jeremy. (This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)
2007-12-05Make share_info_db_init staticVolker Lendecke1-1/+1
(This used to be commit 111502d3a2901abcff25792bed3c4038a7592410)
2007-11-01Patch 2 of 3 from Debian Samba packagers:Gerald (Jerry) Carter1-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)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-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)
2007-10-10r25564: Pass sharename to delete_share_security()Volker Lendecke1-6/+8
(This used to be commit d100bfffe2a503b8820889faedc6ed57100ca7af)
2007-10-10r25561: Make use of [un]marshall_sec_descVolker Lendecke1-40/+51
Minor cleanup only (This used to be commit 4dc4364b68b6b68ae0951a84475e2f9ea8cb1f8c)
2007-10-10r25534: Apply some constVolker Lendecke1-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)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r22006: use string_term_tdb_data()...Stefan Metzmacher1-2/+1
metze (This used to be commit 136914502ff129b90f10794ed6474dca558c75a0)
2007-10-10r21987: split tdb_prs_*() functions in version which take a keystr and a ↵Stefan Metzmacher1-2/+2
TDB_DATA key metze (This used to be commit 724c6fa337bb535e1b97d0452c2489f58339a3bf)
2007-10-10r19950: talloc_destroy is replaced these daysVolker Lendecke1-2/+1
(This used to be commit b6bf2e42672cc84e5c3af6f8b15a9d39c408db13)
2007-10-10r19669: set_share_security does not need a mem_ctx passedVolker Lendecke1-1/+1
(This used to be commit 53eaa603eb84047263c27d57b8c0f5ce8e157189)
2007-10-10r19448: Convert delete_share_security to struct share_params plus some cleanupsVolker Lendecke1-4/+5
(This used to be commit c73d0815a3a1f58b951caa62fac601a8f4630894)
2007-10-10r17097: Move share_access_check from rpc_server/srv_srvsvc_nt.c to ↵Volker Lendecke1-0/+31
lib/sharesec.c (This used to be commit 220dd4333032aea238066e3fbec9fca51ed16ddf)
2007-10-10r17032: I thought I had already merged this from trunk:Volker Lendecke1-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)
2007-10-10r15101: Little step towards getting Samba4 tdb into 3: tdb_lock_bystring ↵Volker Lendecke1-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)
2007-10-10r13316: Let the carnage begin....Gerald Carter1-0/+308
Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)