summaryrefslogtreecommitdiff
path: root/source4/ntvfs
AgeCommit message (Collapse)AuthorFilesLines
2009-03-19use the tevent nesting code to avoid the uid problem in the VFSAndrew Tridgell1-0/+66
backend The vfs_unixuid module changes the uid of the process when executing operations on behalf of the user. Within the VFS backend we may rely on semi-async calls, such as winbind calls, which will call the event loop again. To cope with this we need to ensure that while inside those calls we revert the uid to root, then revert back to the connected user when we have finished with the semi-async calls.
2009-02-13s4:ntvfs_generic: use talloc_get_type() to remote compiler warningsStefan Metzmacher1-3/+5
metze
2009-02-05s4:pvfs_aio: fix compiler warningStefan Metzmacher1-1/+1
metze
2009-02-05s4:pvfs: remove compiler warningStefan Metzmacher1-2/+1
metze
2009-02-05s4:pvfs: use talloc_get_type() to cast from void *Stefan Metzmacher17-49/+102
metze
2009-02-05s4:pvfs: fix some talloc related compiler warningsStefan Metzmacher4-4/+8
metze
2009-02-02s4:libcliraw: s/private/private_dataStefan Metzmacher1-12/+12
metze
2009-02-02s4:ntvfs/unixuid: s/private/privStefan Metzmacher1-23/+23
metze
2009-02-02s4:ntvfs/smb2: s/private/pStefan Metzmacher1-39/+39
metze
2009-02-02s4:ntvfs/simple: s/private/pStefan Metzmacher2-52/+52
metze
2009-02-02s4:ntvfs/posix: s/private/private_dataStefan Metzmacher3-10/+10
metze
2009-02-02s4:ntvfs/nbench: s/private/nprivatesStefan Metzmacher1-4/+4
metze
2009-02-02s4:ntvfs/ipc: s/private/iprivStefan Metzmacher1-44/+44
metze
2009-02-02s4:ntvfs/common: s/private/private_dataStefan Metzmacher3-10/+10
metze
2009-02-02s4:ntvfs/cifs_posix_cli: s/private/pStefan Metzmacher2-52/+52
metze
2009-02-02s4:ntvfs/cifs/: s/private/pStefan Metzmacher1-108/+108
metze
2009-02-02s4:ntvfs: s/private/private_dataStefan Metzmacher2-21/+21
metze
2009-01-30Fix the mess with ldb includes.Simo Sorce3-2/+2
Separate again the public from the private headers. Add a new header specific for modules. Also add service function for modules as now ldb_context and ldb_module are opaque structures for them.
2009-01-07added support for stream renames in Samba4Andrew Tridgell3-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
2009-01-04tevent: move samba4 stuff from libtevent.m4 to samba.m4Stefan Metzmacher2-3/+2
metze
2009-01-03s4:sysdep/inotify: use tevent_fd_set_auto_close()Stefan Metzmacher1-3/+17
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher15-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
2008-12-29s4:pvfs_aio: use teventStefan Metzmacher2-12/+12
metze
2008-12-29s4:sys_lease_linux: use teventStefan Metzmacher2-8/+8
metze
2008-12-29s4:cluster: remove old/broken ctdb codeStefan Metzmacher2-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
2008-12-29s4: Revert "r24284: change brlock_tdb.c to use the dbwrap API. This actually ↵Stefan Metzmacher2-72/+101
makes the" This reverts commit 4792285282e2ec78ccb0ebc3cac6465d1d26ef10. Conflicts: source4/ntvfs/common/brlock_tdb.c source4/ntvfs/common/config.mk
2008-12-23Fix more compiler warnings.Jelmer Vernooij1-2/+0
2008-12-23Use 32-bit smbpid in interface as required by SMB2, in line withJelmer Vernooij2-5/+5
1bdd08227e7d046305705050f21f0f1b6dd6994a.
2008-12-23Fix more compiler warnings in various places.Jelmer Vernooij1-3/+3
2008-12-18s4: Fix include path to work with teventTim Prouty1-1/+1
2008-12-18s4:ntvfs_generic: pass RAW-OPEN againStefan Metzmacher1-0/+2
This is the samba4 version of commit 9391dad85d08bb0939f4db1472c6cf063ebea892 metze
2008-12-17s4: fix LIBEVENTS dependencies and use more forward declarationsStefan Metzmacher4-2/+4
We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze
2008-12-16Rename dom_sid.idl -> server_id.idl (since it no longer actually contains ↵Jelmer Vernooij1-0/+1
the dom_sid). No longer include it from security.idl.
2008-12-05vfs_cifs - Use ntvfs request transport close to close downstream sessionSam Liddicott1-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>
2008-12-05Let ntvfs request transport close via ntvfs_request stateSam Liddicott1-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>
2008-12-01s4:pvfs: correctly check stream namesStefan Metzmacher1-15/+37
metze
2008-12-01s4:pvfs: return the correct error code for invalid namesStefan Metzmacher1-5/+16
metze
2008-11-02Remove last instance of global_loadparm.Jelmer Vernooij2-4/+11
2008-11-02Remove use of global_loadparm for SMB2 client connections.Jelmer Vernooij1-1/+2
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij1-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.
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij1-0/+1
2008-11-01Remove another use of global_loadparm.Jelmer Vernooij1-1/+3
2008-11-01Remove another use of global_loadparm.Jelmer Vernooij1-1/+3
2008-10-30use glibc sys/inotify.h headerAndrew Tridgell2-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
2008-10-28s4: ntvfs/posix: to set a DACL at open time SEC_DESC_DACL_PRESENT must be setStefan Metzmacher1-2/+4
metze
2008-10-24Remove unused include param/param.h.Jelmer Vernooij2-2/+0
2008-10-24Add version of next_codepoint without iconv_convenience.Jelmer Vernooij4-8/+7
2008-10-24Remove a few more usages of global_loadparm.Jelmer Vernooij1-1/+2
2008-10-24Eliminate another instance of global_loadparm.Jelmer Vernooij1-0/+1
2008-10-24Remove iconv_convenience parameter from simple string push/pullJelmer Vernooij1-2/+2
functions.