summaryrefslogtreecommitdiff
path: root/source4/ntvfs
Commit message (Collapse)AuthorAgeFilesLines
* s4:ntvfs/simple/svfs_util.c - change an "asprintf" into a "talloc_asprintf"Matthias Dieter Wallnöfer2010-05-281-2/+3
|
* s4:ntvfs/nbench/vfs_bench.c - change a "asprintf" into a "talloc_asprintf"Matthias Dieter Wallnöfer2010-05-281-2/+4
|
* s4:idmap Adjust code to new idmap structure names and layout.Andrew Bartlett2010-05-243-53/+37
| | | | Andrew Bartlett
* s4:ntvfs rename notify.idl to s4_notify.idl until we can merge this IDLAndrew Bartlett2010-05-243-3/+3
| | | | | | | | This IDL is almost common, but the source3 version has a hand-marshalled server_id. The s3compat build has problems with two different idl files of the same name. Andrew Bartlett
* s4:ntvfs/ipc/vfs_ipc.c - add more "const" in order to fix warningsMatthias Dieter Wallnöfer2010-05-211-2/+2
|
* s4:ntvfs/posix/pvfs_wait.c - fix a "calculated value unused" warningMatthias Dieter Wallnöfer2010-05-211-3/+5
| | | | | The calculated value is "req" (!= NULL) if "talloc_reference" did work correctly or it is NULL if we ran out of memory.
* s3: Remove use of iconv_convenience.Jelmer Vernooij2010-05-181-1/+0
|
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-188-46/+30
|
* s4:ntvfs Prepare for a possible future sharing of notify.idlAndrew Bartlett2010-05-181-0/+4
| | | | | | | | I would love for notify.idl to be shared between Samba4 and Samba3 some day, and this seems to be the point at which the structure is initialised. Andrew Bartlett
* s4:ntvfs Prepare for a possible future sharing of notify.idlAndrew Bartlett2010-05-141-0/+4
| | | | | | | | I would love for notify.idl to be shared between Samba4 and Samba3 some day, and this seems to be the point at which the structure is initialised. Andrew Bartlett
* s4:ntvfs/ipc: remote // debug commentsStefan Metzmacher2010-04-271-5/+0
| | | | metze
* s4:ntvfs: remove socket_address based functionsStefan Metzmacher2010-04-272-32/+0
| | | | metze
* s4:ntvfs/ipc: pass the already given tsocket_address structures to the ↵Stefan Metzmacher2010-04-271-29/+2
| | | | | | named_pipe_auth code metze
* s4:ntvfs: add tsocket based addresses to ntvfs_contextStefan Metzmacher2010-04-272-0/+27
| | | | metze
* s4: fix some build warnings.Günther Deschner2010-04-261-1/+1
| | | | Guenther
* s4: use generated rap header.Günther Deschner2010-04-263-3/+3
| | | | Guenther
* s4: rename RAP share_enum_info to share_info.Günther Deschner2010-04-262-11/+11
| | | | Guenther
* s4-waf: move to a universal method of recursing into subdirsAndrew Tridgell2010-04-061-4/+4
| | | | This works with both standalone lib builds and bundled builds
* s4-waf: removed the AUTOGENERATED markersAndrew Tridgell2010-04-063-11/+0
| | | | we won't be using the mk -> wscript generator again
* s4-waf: sys_lease depends on tallocAndrew Tridgell2010-04-061-1/+2
|
* s4-waf: more dependencies on tallocAndrew Tridgell2010-04-061-1/+2
| | | | | these are needed so we can support a system talloc without using the bundled talloc.h
* s4-waf: cleaned up tevent dependencyAndrew Tridgell2010-04-061-1/+1
|
* s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2010-04-066-0/+12
| | | | them
* build: sys_lease_linux needs to be conditionally enabledAndrew Tridgell2010-04-061-9/+12
|
* build: conditionally enable inotifyAndrew Tridgell2010-04-062-8/+10
|
* build: waf quicktest nearly worksAndrew Tridgell2010-04-062-6/+6
| | | | | Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
* build: commit all the waf build files in the treeAndrew Tridgell2010-04-065-0/+168
|
* build: improve autoconf macrosAndrew Tridgell2010-04-061-2/+4
| | | | | | | | - enable headers to be specified - enable both forms of DECL check - more libreplace checks - more heimdal checks - more sysdep checks
* build: ntvfs/sysdep configure checksAndrew Tridgell2010-04-061-0/+7
|
* s4-pvfs_sys: build on systems without O_NOFOLLOW or O_DIRECTORYAndrew Tridgell2010-03-051-4/+22
|
* s4-pvfs_sys: talloc_free should be before errno restoreAndrew Tridgell2010-03-051-13/+13
| | | | talloc can potentially change the errno
* s4-pvfs: use pvfs_sys_fchmod()Andrew Tridgell2010-03-053-4/+4
|
* s4-pvfs: set default for perm override based on system featuresAndrew Tridgell2010-03-051-1/+9
| | | | | | If the system has O_NOFOLLOW and O_DIRECTORY then we allow for overrides by default. If not, then we disable by default, as we will be more vulnerable to symlink attacks
* s4-pvfs: use O_FOLLOW one level at a time for security overridesAndrew Tridgell2010-03-051-37/+357
| | | | | To prevent symlink attacks we need to use O_NOFOLLOW one level at a time when processing a root security override
* s4-pvfs: use pvfs_sys_*() functions to wrap posix callsAndrew Tridgell2010-03-055-20/+20
| | | | | | | This allows for root override, which fixes many problems with mismatches between NT ACL permissions and unix permissions. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-pvfs: new pvfs_sys module Andrew Tridgell2010-03-052-0/+301
| | | | | | | | The pvfs_sys_*() calls provide wrapper functions for posix file functions which use root privileges to override EACCES failures if PVFS_FLAG_PERM_OVERRIDE is set Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-pvfs: added new pvfs flag PVFS_FLAG_PERM_OVERRIDEAndrew Tridgell2010-03-052-0/+4
| | | | | | | | This flag indicates that we should use root privileges to override unix permissions when the NT ACLs indicate that access should be granted Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-pvfs: log more error conditions in NTVFS backendAndrew Tridgell2010-03-053-0/+31
| | | | | | This should make is easier to track down some bug reports Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-pvfs: move the private ntcreatex flags to private_flagsAndrew Tridgell2010-03-053-6/+12
| | | | | | | | Re-using two of the create_options bits was bound to eventually cause problems, and indeed, Windows7 now uses one of those bits when opening text files. Fixes bug 7189
* s4-posix: allow change ownership of files if the user has the right privilegesAndrew Tridgell2010-03-031-2/+21
| | | | | | | | | When a user has SEC_PRIV_TAKE_OWNERSHIP or SEC_PRIV_RESTORE they have permission to change the ownership of a file. This should fix bug 6987 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-krb5: propogate errors from a lot more kerberos functionsAndrew Tridgell2010-02-261-1/+2
| | | | | | | | We need to be able to give sensible error messages when a kerberos calls fails. This propogates the kerberos error up the stack to the caller. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ntvfs: use TYPESAFE_QSORT() in notify codeAndrew Tridgell2010-02-131-3/+2
|
* s4: Switch to S3-style id mapping data types.Kai Blin2010-02-113-22/+22
|
* s4:Remove "Py_RETURN_NONE" compatibility codeMatthias Dieter Wallnöfer2010-02-092-8/+0
| | | | This was needed only by Python 2.3 which we no longer support.
* s4:UID wrapper - Fix includesMatthias Dieter Wallnöfer2010-02-052-0/+18
| | | | | | | The includes of the UID wrapper headers werent't really efficient according to metze's post on the technical mailing list (http://lists.samba.org/archive/samba-technical/2010-February/069165.html). To achieve this move the "uid_wrapper.h" includes into "lib/util/unix_privs.c", "lib/util/util.c", "ntvfs/posix/pvfs_acl.c" and "ntvfs/unixuid/vfs_unixuid.c".
* Change uint_t to unsigned int in source4Matt Kraai2010-02-0213-37/+37
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* pyxattr: Move to the same directory as the xattr code.Jelmer Vernooij2010-01-253-0/+259
|
* s4: ntvfs, create push_xattr_blob_tdb_raw and pull_xattr_blob_tdb_raw that ↵Matthieu Patou2010-01-211-27/+49
| | | | | | | do not depend on pvfs objects Following a talk with tridge on IRC, this patch allow (pull|push)_xattr_blob to be called without having a pvfs object. It's handy for programs that wants to manipulate xattr directly.
* s4-ntvfs: check if pvfs is NULL in pvfs_logoffbrendan powers2009-12-171-0/+5
| | | | | | | | pvfs can be NULL if the directory a share points to does not exist. In this case, there would be no open files, so it is safe to just return from the function. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-ntvfs: try to fix bug 6989Andrew Tridgell2009-12-161-2/+2
| | | | | | bug 6989 is a rare crash that has occurred in production. My best guess as to the cause is the talloc_free() not being specific enough as to which parent needs to be freed.