summaryrefslogtreecommitdiffstats
path: root/source4/ntvfs
Commit message (Collapse)AuthorAgeFilesLines
* added support for stream renames in Samba4Andrew Tridgell2009-01-073-18/+285
| | | | | | | | | This allows the RAW-STREAMS test to work again. We still have some limitations though: - renames of a stream to the default stream doesn't work - delete on close handling between streams and the main file is still broken
* tevent: move samba4 stuff from libtevent.m4 to samba.m4Stefan Metzmacher2009-01-042-3/+2
| | | | metze
* s4:sysdep/inotify: use tevent_fd_set_auto_close()Stefan Metzmacher2009-01-031-3/+17
| | | | metze
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-2915-25/+25
| | | | | | | | | | | | | | | | | | | | list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
* s4:pvfs_aio: use teventStefan Metzmacher2008-12-292-12/+12
| | | | metze
* s4:sys_lease_linux: use teventStefan Metzmacher2008-12-292-8/+8
| | | | metze
* s4:cluster: remove old/broken ctdb codeStefan Metzmacher2008-12-292-6/+1
| | | | | | | | We don't need a full copy of ctdb... If we want to readd cluster support, we should just use a ctdb client library. metze
* s4: Revert "r24284: change brlock_tdb.c to use the dbwrap API. This actually ↵Stefan Metzmacher2008-12-292-72/+101
| | | | | | | | | | | makes the" This reverts commit 4792285282e2ec78ccb0ebc3cac6465d1d26ef10. Conflicts: source4/ntvfs/common/brlock_tdb.c source4/ntvfs/common/config.mk
* Fix more compiler warnings.Jelmer Vernooij2008-12-231-2/+0
|
* Use 32-bit smbpid in interface as required by SMB2, in line withJelmer Vernooij2008-12-232-5/+5
| | | | 1bdd08227e7d046305705050f21f0f1b6dd6994a.
* Fix more compiler warnings in various places.Jelmer Vernooij2008-12-231-3/+3
|
* s4: Fix include path to work with teventTim Prouty2008-12-181-1/+1
|
* s4:ntvfs_generic: pass RAW-OPEN againStefan Metzmacher2008-12-181-0/+2
| | | | | | | This is the samba4 version of commit 9391dad85d08bb0939f4db1472c6cf063ebea892 metze
* s4: fix LIBEVENTS dependencies and use more forward declarationsStefan Metzmacher2008-12-174-2/+4
| | | | | | | We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze
* Rename dom_sid.idl -> server_id.idl (since it no longer actually contains ↵Jelmer Vernooij2008-12-161-0/+1
| | | | the dom_sid). No longer include it from security.idl.
* vfs_cifs - Use ntvfs request transport close to close downstream sessionSam Liddicott2008-12-051-1/+11
| | | | | | | When upstream session closes, close the downstream session Signed-off-by: Sam Liddicott <sam@liddicott.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Let ntvfs request transport close via ntvfs_request stateSam Liddicott2008-12-051-0/+1
| | | | | | | | | | | | | [I can't swear that this covers all the smb2 cases, there are some reply functions that I can't trace properly] Add NTVFS_ASYNC_STATE_CLOSE bit to ntvfs_request->async_states->state so that the ntvfs layer can signify that the client transport should be closed, most useful for proxy servies, and most likely due to a forwarding transport having been closed. Signed-off-by: Sam Liddicott <sam@liddicott.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:pvfs: correctly check stream namesStefan Metzmacher2008-12-011-15/+37
| | | | metze
* s4:pvfs: return the correct error code for invalid namesStefan Metzmacher2008-12-011-5/+16
| | | | metze
* Remove last instance of global_loadparm.Jelmer Vernooij2008-11-022-4/+11
|
* Remove use of global_loadparm for SMB2 client connections.Jelmer Vernooij2008-11-021-1/+2
|
* Remove another use of global_loadparm.Jelmer Vernooij2008-11-021-0/+1
| | | | | | Eventually, we should move some of these parameters into a separate struct (perhaps into smb_transport_options?), to avoid the long lists of parameters.
* Remove another use of global_loadparm.Jelmer Vernooij2008-11-021-0/+1
|
* Remove another use of global_loadparm.Jelmer Vernooij2008-11-011-1/+3
|
* Remove another use of global_loadparm.Jelmer Vernooij2008-11-011-1/+3
|
* use glibc sys/inotify.h headerAndrew Tridgell2008-10-302-1/+10
| | | | | | when we first added the inotify code glibc didn't have the inotify functions yet. Now that it does we can use the official header and avoid the asm/unistd.h syscall workaround
* s4: ntvfs/posix: to set a DACL at open time SEC_DESC_DACL_PRESENT must be setStefan Metzmacher2008-10-281-2/+4
| | | | metze
* Remove unused include param/param.h.Jelmer Vernooij2008-10-242-2/+0
|
* Add version of next_codepoint without iconv_convenience.Jelmer Vernooij2008-10-244-8/+7
|
* Remove a few more usages of global_loadparm.Jelmer Vernooij2008-10-241-1/+2
|
* Eliminate another instance of global_loadparm.Jelmer Vernooij2008-10-241-0/+1
|
* Remove iconv_convenience parameter from simple string push/pullJelmer Vernooij2008-10-241-2/+2
| | | | functions.
* Split up codepoints code, use consistent _m suffix.Jelmer Vernooij2008-10-241-1/+1
|
* Make sure prototypes are always included, make some functions static andJelmer Vernooij2008-10-203-0/+4
| | | | remove some unused functions.
* Fix includes.Jelmer Vernooij2008-10-151-0/+1
|
* Fix include paths for files that aren't compiled - breaks dependencyJelmer Vernooij2008-10-121-1/+1
| | | | file generation.
* Fix include paths to new location of libutil.Jelmer Vernooij2008-10-1121-22/+22
|
* Pass session options around; saves another use of global_loadparm.Jelmer Vernooij2008-09-301-0/+1
|
* empty access mask is only denied on SMB2Andrew Tridgell2008-09-241-1/+3
|
* zero access mask should give ACCESS_DENIEDAndrew Tridgell2008-09-241-0/+4
|
* added some debug codeAndrew Tridgell2008-09-233-1/+5
|
* Fix last few includes to use new tdb location.Jelmer Vernooij2008-09-166-6/+6
|
* ntvfs_generic: fix handling of create_options for SMB2Stefan Metzmacher2008-08-141-6/+4
| | | | | metze (This used to be commit cbd585d2a1e179615eba773cb07385524369c686)
* pvfs: fix handling of create_option flagsStefan Metzmacher2008-08-141-2/+12
| | | | | metze (This used to be commit 3c6cadf76861d6522c5ec41953df1ba2fac4910d)
* we can't query the ACL on a new file till it exists!Andrew Tridgell2008-07-241-6/+6
| | | | (This used to be commit 4f6646f06988b1fb8be9e0c8ae833bb9792184af)
* fixed spelling errorAndrew Tridgell2008-07-241-1/+1
| | | | (This used to be commit 341f64834e13cdbc7d4742a4652ae39b70a4231f)
* More 'must be ignored' options from the MS-SMB doc.Andrew Bartlett2008-07-181-5/+18
| | | | | | | | | | | Also in particular the 'sync' flags (which Samba has traditionally ignored). Thanks to Olivier Salamin <olivier.salamin@gmail.com> for pointing out more flags that needed to be handled. Andrew Bartlett (This used to be commit 370bb39cd79fe49efd36a1ceb3e896d386e6d3ce)
* Ignore and handle more NT Create & X options.Andrew Bartlett2008-07-161-1/+12
| | | | | | | | | | | | | | The MS-SMB document explains that some of these options should be ignored. The test proves it. /* Must be ignored by the server, per MS-SMB 2.2.8 */ /* Must be ignored by the server, per MS-SMB 2.2.8 */ If we implement HSM in samba4 (likely) we should honour this bit. /* Don't pull this file off tape in a HSM system */ Andrew Bartlett (This used to be commit 502739ff90d56d2c9aabe8e224317f6ceb175c17)
* pvfs: create a pvfs_acl subsystemStefan Metzmacher2008-06-285-9/+43
| | | | | | | | That means that the pvfs_acl implementations no longer register as ntvfs modules (which was wrong) metze (This used to be commit 89e90556ec57fce24faf0ed3d6fe262edd974b28)
* pvfs: pvfs_aio should be a subsystem instead of an extra ntvfs moduleStefan Metzmacher2008-06-281-2/+1
| | | | | metze (This used to be commit c904e28bef95cb0d61bf86f2ba1cef2d4e018d5f)