summaryrefslogtreecommitdiffstats
path: root/source4/ntvfs/posix/pvfs_xattr.c
Commit message (Collapse)AuthorAgeFilesLines
* s4-ntvfs: Ensure we do not attempt to write EAs on streamsAndrew Bartlett2012-08-201-0/+6
|
* s4-ntvfs: Rename xattr_tdb.c to posix_eadb.c and make more generally usefulAndrew Bartlett2012-04-031-2/+3
| | | | | | | | | This is now a small library, to be called from ntvfs, python and vfs_posix_eadb. The rename makes it clear that this has a different DB format to that used by vfs_xattr_tdb, and matches the posix:eadb smb.conf parameter used to configure it. Andrew Bartlett
* s4:ntvfs/posix/pvfs_*.c - quiet Solaris warningsMatthias Dieter Wallnöfer2010-08-271-9/+9
| | | | Fix the function argument of "pvfs_xattr_ndr_load/save".
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-3/+3
|
* Fix include paths to new location of libutil.Jelmer Vernooij2008-10-111-1/+1
|
* added some debug codeAndrew Tridgell2008-09-231-1/+1
|
* pvfs: remove XATTR_ATTRIB_FLAG_STICKY_WRITE_TIME codeStefan Metzmacher2008-05-071-17/+15
| | | | | | | | I'll fix this more correctly very soon, so that we'll pass the BASE-DELAYWRITE test. metze (This used to be commit b09dd6b65d533832a025a51509dcc84f84b048aa)
* Install public header files again and include required prototypes.Jelmer Vernooij2008-04-021-2/+2
| | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
* Remove more global_loadparm instance.sJelmer Vernooij2008-02-211-1/+1
| | | | (This used to be commit a1280252ce924df69d911e597b7f65d8038abef9)
* r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij2008-01-011-1/+2
| | | | | | library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
* r26638: libndr: Require explicitly specifying iconv_convenience for ↵Jelmer Vernooij2008-01-011-1/+2
| | | | | | ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
* r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher2007-12-211-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lib/messaging/ lib/registry/ lib/ldb-samba/ librpc/rpc/ auth/auth_winbind.c auth/gensec/ auth/kerberos/ dsdb/repl/ dsdb/samdb/ dsdb/schema/ torture/ cluster/ctdb/ kdc/ ntvfs/ipc/ torture/rap/ ntvfs/ utils/getntacl.c ntptr/ smb_server/ libcli/wrepl/ wrepl_server/ libcli/cldap/ libcli/dgram/ libcli/ldap/ libcli/raw/ libcli/nbt/ libnet/ winbind/ rpc_server/ metze (This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
* r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2007-10-101-2/+2
| | | | (This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-3/+2
| | | | | | There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r19507: Merge my DSO fixes branch. Building Samba's libraries as shared ↵Jelmer Vernooij2007-10-101-2/+2
| | | | | | | libraries works again now, by specifying --enable-dso to configure. (This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
* r19199: split out the xattr NTACL code into a separate part of the posixAndrew Tridgell2007-10-101-9/+9
| | | | | | backend, allowing other ACL backends to be added. The xattr backend is still the default backend (This used to be commit 90f044e63b12d32228310c7529382198bd7e6dfe)
* r16024: OpenBSD doesn't have ENOTSUP so use ENOSYSStefan Metzmacher2007-10-101-2/+4
| | | | | metze (This used to be commit 505d55de69e1c5a9e763534dd392caac79e49ff1)
* r14554: Write out header dependencies. This means all C files affected will beJelmer Vernooij2007-10-101-1/+1
| | | | | | | | | | | | | | rebuilt when a header file is changed. It also means parallel builds work now. It will take a minute or so to generate all the dependency information, but there should be no need to rebuild that information later on, unless a file changes. This behaviour is only enabled when building in developer mode (--enable-developer) and requires a GNU make (or compatible). In all other cases, the file 'static_deps.mk' is included, which contains some basic hardcoded dependency information. (This used to be commit eb435386f015ce1d89eb6f7e7837622ebd9e1951)
* r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij2007-10-101-0/+1
| | | | | try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
* r13944: Yet another round of splitups.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit f87debeb12cebd734b47314554ab671c9e06237e)
* r12696: Reduce the size of include/structs.hJelmer Vernooij2007-10-101-1/+0
| | | | (This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
* r7557: trigger a probe at tconx time to see if xattrs are really supported byAndrew Tridgell2007-10-101-0/+14
| | | | | the filesystem (This used to be commit 71e281ae2fe2ce169aeb09f72376a60d28845808)
* r7361: fixed the 'file becomes a directory' bug that marc kapland found.Andrew Tridgell2007-10-101-3/+5
| | | | | Thanks Marc! (This used to be commit d1c5eb3693b77b3eb7527dc2758a6ea75a100376)
* r5666: winxp will use a NTTIME of -1 to mean "don't change" in setfileinfoAndrew Tridgell2007-10-101-4/+4
| | | | | | basic_info. Add null_nttime() as the equivalent of the existing null_time() call for cheecking for valid NTTIME values (This used to be commit 439ce2efbf7d2ba9b17d6b4bfaf651e781140715)
* r4887: removed a bogus castAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit a034556faa5d15fee44a58be3aea8aee8ffae3c8)
* r4547: - added talloc_new(ctx) macro that is a neater form of the common ↵Andrew Tridgell2007-10-101-2/+2
| | | | | | | | | | | talloc(ctx, 0) call. - cleaned up some talloc usage in various files I'd like to get to the point that we have no calls to talloc(), at which point we will rename talloc_p() to talloc(), to encourage everyone to use the typesafe functions. (This used to be commit e6c81d7c9f8a6938947d3c1c8a971a0d6d50b67a)
* r4264: fix acl handling on systems without xattr supportAndrew Tridgell2007-10-101-11/+15
| | | | (This used to be commit 89845388ea82d9bfbdc6ca8da40f47437a270400)
* r4242: added support for storing xattrs in a tdb. This allows all advanced NTAndrew Tridgell2007-10-101-67/+26
| | | | | | | | | | | | | | | attributes (streams, EAs, NT ACLs, timestamps etc) to be used on filesystems that don't support xattrs. It also allows for large streams, although they are very inefficient. I won't enable this by default, as I really wrote it as a way of testing large stream support while still using ext3, but perhaps with a bit more work this could be generally usable. To enable this use: posix:eadb = /home/test/myeas.tdb (This used to be commit 0c927d912cb65754351189d3a0442004a14aa5c6)
* r3939: - added "posix:fakeoplocks" option for testing with oplocks forced onAndrew Tridgell2007-10-101-9/+34
| | | | | | - added support for sticky write times after a setfileinfo, by using a write_time field in the DosAttrib xattr structure. (This used to be commit 4a52fae82d8305e999f94f1947daa21dab54cdfd)
* r3834: - fixed XATTR_NTACL_NAMEAndrew Tridgell2007-10-101-2/+2
| | | | | - pvfs now passes RAW-ACLS (This used to be commit 2e19edaa4ebc96b3e95e0b55c4fae8eaefd642b2)
* r3833: NTACL is a better xattr name than DosAcl (tpot suggested this)Andrew Tridgell2007-10-101-4/+4
| | | | (This used to be commit 17911eea5995c12a2300dd3928612c77f8f0883e)
* r3832: added NT ACL query/set to the posix NTVFS backend. The default ACL isAndrew Tridgell2007-10-101-0/+43
| | | | | | | | | | | | | | | based on the current nttoken, which is completely wrong, but works as a start. The ACL is stored in the xattr system.DosAcl, using a NDR encoded IDL union with a version number to allow for future expansion. pvfs does not yet check the ACL for file access. At the moment the ACL is just query/set. We also need to do some RPC work to allow the windows ACL editor to be used. At the moment is queries the ACL fine, but displays an error when it fails to map the SIDs via rpc. (This used to be commit 3a1f20d874ab2d8b2a2f2485b7a705847abf1263)
* r3801: added allocation size rounding. This is needed for ifstest.Andrew Tridgell2007-10-101-1/+2
| | | | (This used to be commit 8a6fa43156667f75e058c7d44b1c15a6cf7067b2)
* r3798: added support for alternate data streams in xattrs into pvfs.Andrew Tridgell2007-10-101-2/+113
| | | | | | | | | | | The trickiest part about this was getting the sharing and locking rules right, as alternate streams are separate locking spaces from the main file for the purposes of byte range locking, and separate for most share violation rules. I suspect there are still problems with delete on close with alternate data streams. I'll look at that next. (This used to be commit b6452c4a2068cf7e837778559da002ae191b508a)
* r3747: - added some of the infrastructure needed for streams support in pvfsAndrew Tridgell2007-10-101-0/+37
| | | | | | | | | | | (the IDL, and the load/save meta-data logic) - changed pvfs_resolve_name() to default to non-wildcard, needing PVFS_RESOLVE_WILDCARD to enable wildcards. Most callers don't want wildcards, so defaulting this way makes more sense. - fixed deletion of EAs (This used to be commit e7afd4403cc1b7e0928776929f8988aa6f15640b)
* r3717: - expanded the RAW-RENAME test a littleAndrew Tridgell2007-10-101-13/+20
| | | | | | | - added support for wildcard rename in pvfs - made more consistent use of pvfs_map_errno() (This used to be commit e255d1c3a811c480a850452aaf636d9fa36f69fe)
* r3575: fixed attribute normalisation in xattr code. RAW-SEARCH now passes again.Andrew Tridgell2007-10-101-1/+3
| | | | (This used to be commit 66bdc6e78c2c7ce4e215919959f0d0623ef06723)
* r3549: added support for DOS extended attribute lists (name/value pairs)Andrew Tridgell2007-10-101-28/+100
| | | | | stored in posix xattrs (This used to be commit bad6a88371264cffce2bf5d6ce904b7b357081de)
* r3545: initial support for using extended attributes to hold extended dos ↵Andrew Tridgell2007-10-101-0/+197
attributes of files. I decided to use IDL/NDR to encode the attribute, as it gives us a simple way to describe and extend the saved attributes. The xattr code needs to hook into quite a few more places in the pvfs code, but this at least gets the basics done. I will start encoding alternate data streams streams, DOS EAs etc soon using the same basic mechanism. I'll probably stick to "version 1" for the xattr.idl for quite a while even though it will be changing, as I don't expect anyone to be deploying this in production just yet. Once we have production users we will need to keep compatibility by supporting all the old version numbers in xattr.idl. (This used to be commit c54253ed1b7dce1d14f43e747da61089aea87094)