Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't use fname after create_file has been called | Volker Lendecke | 2008-02-22 | 1 | -5/+5 |
| | | | | | | | | create_file calls unix_convert internally, so modifies fname. So we can't use "fname" after create_file has returned. Use fsp->fsp_name instead. Found during a lengthy debugging session with Karolin testing the xattr_tdb module... | ||||
* | Add "split_ntfs_stream_name()" together with a torture test | Volker Lendecke | 2008-01-19 | 1 | -0/+3 |
| | |||||
* | Make use of talloc_pool in the main codepaths. Remove the sub-contexts. | Jeremy Allison | 2008-01-09 | 1 | -8/+0 |
| | | | | Jeremy. | ||||
* | Remove superfluous parameter fd from SMB_VFS_FSET_NT_ACL(). | Michael Adam | 2008-01-06 | 1 | -2/+1 |
| | | | | Michael | ||||
* | Remove superfluous fd parameter from SMB_VFS_FGET_NT_ACL(). | Michael Adam | 2008-01-06 | 1 | -1/+1 |
| | | | | Michael | ||||
* | Now conn is part of smb_request, we don't need it as | Jeremy Allison | 2008-01-04 | 1 | -5/+9 |
| | | | | | | an extra parameter. This cleans up quite a few places we were passing it around without needing it. Jeremy. | ||||
* | Refactor the crypto code after a very helpful conversation | Jeremy Allison | 2008-01-04 | 1 | -17/+22 |
| | | | | | | with Volker. Mostly making sure we have data on the incoming packet type, not stored in the smb header. Jeremy. | ||||
* | Remove tiny code duplication | Volker Lendecke | 2007-12-29 | 1 | -1/+1 |
| | | | | ndr_size_security_descriptor does the same as sec_desc_size | ||||
* | Remove tiny code duplication | Volker Lendecke | 2007-12-29 | 1 | -1/+2 |
| | | | | sid_size did the same as ndr_size_dom_sid | ||||
* | Change the prototype of the vfs function get_nt_acl(). | Michael Adam | 2007-12-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Up to now, get_nt_acl() took a files_struct pointer (fsp) and a file name. All the underlying functions should need and now do need (after the previous preparatory work), is a connection_struct and a file name. The connection_struct is already there in the vfs_handle passed to the vfs functions. So the files_struct argument can be eliminated. This eliminates the need of calling open_file_stat in a couple of places to produce the fsp needed. Michael | ||||
* | make use of [un]marshall_sec_desc, allow for fd==-1 in get/set_secdesc | Volker Lendecke | 2007-12-16 | 1 | -87/+46 |
| | |||||
* | Replace sid_string_static by sid_string_dbg in DEBUGs | Volker Lendecke | 2007-12-15 | 1 | -3/+4 |
| | |||||
* | Attempt to fix make test :-) | Volker Lendecke | 2007-12-07 | 1 | -2/+2 |
| | |||||
* | Pass only internal oplock request values to create_file | Volker Lendecke | 2007-12-07 | 1 | -4/+66 |
| | | | | | Other callers (e.g. reply_open_and_X) might have other ideas of the bit shuffling | ||||
* | More parameter shuffling | Volker Lendecke | 2007-12-07 | 1 | -4/+4 |
| | |||||
* | Re-arrange create_file() parameters | Volker Lendecke | 2007-12-07 | 1 | -4/+4 |
| | | | | | This changes them to be a bit closer to open_file_ntcreate and thus provides less surprises to developers | ||||
* | There's no point in passing down a 0 | Volker Lendecke | 2007-12-05 | 1 | -4/+2 |
| | |||||
* | Move create_file to open.c | Volker Lendecke | 2007-12-05 | 1 | -477/+0 |
| | | | | | I'm checking in this long sequence of micro-checkins for review, the overall patch from 3b057022a5 to this is not too large. | ||||
* | Fix an uninitialized variable | Volker Lendecke | 2007-12-05 | 1 | -1/+1 |
| | |||||
* | Fix debug | Volker Lendecke | 2007-12-05 | 1 | -2/+8 |
| | |||||
* | Fix attribute calculation for ntcreate&x | Volker Lendecke | 2007-12-05 | 1 | -17/+21 |
| | |||||
* | Fix error returns | Volker Lendecke | 2007-12-05 | 1 | -2/+12 |
| | |||||
* | Fix debugs | Volker Lendecke | 2007-12-05 | 1 | -2/+18 |
| | |||||
* | Implement create_file() | Volker Lendecke | 2007-12-05 | 1 | -706/+347 |
| | | | | | | Rip out the cores of reply_ntcreate_and_X and call_nt_transact_create Volker | ||||
* | Reformatting, also allow quotas for transact_create | Volker Lendecke | 2007-12-05 | 1 | -12/+38 |
| | |||||
* | Tiny refactorings | Volker Lendecke | 2007-12-05 | 1 | -17/+12 |
| | |||||
* | Split out sd parsing | Volker Lendecke | 2007-12-05 | 1 | -5/+33 |
| | |||||
* | Reformatting | Volker Lendecke | 2007-12-05 | 1 | -9/+12 |
| | |||||
* | Align formatting, one TALLOC_FREE is enough | Volker Lendecke | 2007-12-05 | 1 | -5/+5 |
| | |||||
* | Move pulling the ea list out of the way | Volker Lendecke | 2007-12-05 | 1 | -14/+8 |
| | |||||
* | Reformatting | Volker Lendecke | 2007-12-05 | 1 | -10/+12 |
| | |||||
* | Put posix semantic calculation in the same place in both routines | Volker Lendecke | 2007-12-05 | 1 | -9/+9 |
| | |||||
* | Tiny refactoring | Volker Lendecke | 2007-12-05 | 1 | -6/+8 |
| | | | | Reformatting, consolidate oplock calculation to the same place in both routines | ||||
* | Tiny refactoring | Volker Lendecke | 2007-12-05 | 1 | -3/+3 |
| | |||||
* | TALLOC_FREE early | Volker Lendecke | 2007-12-05 | 1 | -4/+10 |
| | |||||
* | consolidate srvstr_get_path in ntcreate_and_X | Volker Lendecke | 2007-12-05 | 1 | -89/+59 |
| | |||||
* | Tiny refactoring | Volker Lendecke | 2007-12-05 | 1 | -3/+2 |
| | |||||
* | tiny refactoring | Volker Lendecke | 2007-12-05 | 1 | -4/+5 |
| | |||||
* | In nttransact_create, we also need to check for delete readonly | Volker Lendecke | 2007-12-01 | 1 | -1/+2 |
| | |||||
* | Make [f]get_nt_acl return NTSTATUS | Volker Lendecke | 2007-11-13 | 1 | -7/+11 |
| | |||||
* | Fix bug #5073. Allow "delete readonly = yes" to correctly | Jeremy Allison | 2007-11-12 | 1 | -1/+2 |
| | | | | | override deletion of a file. Fix from David Shaw <dshaw@jabberwocky.com> Jeremy. | ||||
* | Remove the smb_read_error global variable and replace | Jeremy Allison | 2007-11-03 | 1 | -1/+0 |
| | | | | | it with accessor functions. "One global or pstring a day...." :-). Jeremy. | ||||
* | Fix some cases where file_set_dosmode was being passed | Jeremy Allison | 2007-10-31 | 1 | -1/+1 |
| | | | | | | | False instead of NULL. Fix more of the notifications to be correct for Samba4 RAW-NOTIFY torture (we had missed one when calling set_ea_dos_attribute(). Jeremy. | ||||
* | RIP BOOL. Convert BOOL -> bool. I found a few interesting | Jeremy Allison | 2007-10-18 | 1 | -14/+14 |
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. | ||||
* | r25309: Volker's fix for bug #4984 - samba4 torture test | Jeremy Allison | 2007-10-10 | 1 | -41/+71 |
| | | | | | | to follow. Ensure we don't prepend "./" as a root directory - this is an invalid pathname for unix_convert(). Jeremy. | ||||
* | r25184: Fix some C++ warnings and an uninitialized variable | Volker Lendecke | 2007-10-10 | 1 | -2/+2 |
| | |||||
* | r25138: More pstring elimination. Add a TALLOC_CTX parameter | Jeremy Allison | 2007-10-10 | 1 | -11/+13 |
| | | | | | to unix_convert(). Jeremy. | ||||
* | r25135: Remove one END_PROFILE(SMBntcreateX) from call_nt_transact_create() ↵ | Günther Deschner | 2007-10-10 | 1 | -1/+0 |
| | | | | | | | | | | which appears to be a leftover. Should fix the build with profiling enabled. Jeremy, please check. Guenther | ||||
* | r25117: The mega-patch Jerry was waiting for. Remove all pstrings from | Jeremy Allison | 2007-10-10 | 1 | -7/+16 |
| | | | | | | | | the main server code paths. We should now be able to cope with paths up to PATH_MAX length now. Final job will be to add the TALLOC_CTX * parameter to unix_convert to make it explicit (for Volker). Jeremy. | ||||
* | r25111: Move to talloced pathnames on most code paths. | Jeremy Allison | 2007-10-10 | 1 | -170/+206 |
| | | | | | | | | | There are now ony 17 pstrings left in reply.c, and these will be easy to remove (and I'll be doing that shortly). Had to fix an interesting bug in pull_ucs2_base_talloc() when a source string is not null terminated :-). Jeremy. |