Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add some debug to reply_nttrans | Volker Lendecke | 2008-09-09 | 1 | -0/+11 |
| | |||||
* | Fix calculation of useable_space for trans2 and nttrans replies | Volker Lendecke | 2008-09-08 | 1 | -12/+10 |
| | | | | | | When alignment was in place, we pretended to send more data/params according to the param_offset/param_length and data_offset/data_length parameters than would actually fit into the SMB according to the NBSS length field. | ||||
* | smbd: fix the handling of create_options to pass RAW-OPEN | Stefan Metzmacher | 2008-08-20 | 1 | -0/+12 |
| | | | | | | | | Some of the bits generate INVALID_PARAMETER and some bits are ignored when they come from a client, that's why we need to use bits from the ignored range for our internal usage. metze | ||||
* | Introduce is_known_pipename | Volker Lendecke | 2008-07-19 | 1 | -35/+1 |
| | | | | | This scans the list of pipes registered via rpc_pipe_register_commands instead of using static tables. | ||||
* | Remove current_user references from nttrans.c | Volker Lendecke | 2008-06-19 | 1 | -3/+2 |
| | |||||
* | Remove current_user references from trans2.c | Volker Lendecke | 2008-06-19 | 1 | -2/+2 |
| | | | | This involved replacing the CHECK_NTQUOTA_HANDLE_OK macro by a function. | ||||
* | Remove the "current_user" arg from fsp_belongs_conn | Volker Lendecke | 2008-06-19 | 1 | -3/+3 |
| | | | | | fsp_belongs_conn only used the vuid struct member anyway, and this is available in the smb_request structure as well. | ||||
* | Remove the "current_user" arg from check_fsp | Volker Lendecke | 2008-06-19 | 1 | -1/+1 |
| | | | | | check_fsp only used the vuid struct member anyway, and this is available in the smb_request structure as well. | ||||
* | Simplify fake_file logic | Volker Lendecke | 2008-05-16 | 1 | -1/+1 |
| | |||||
* | Remove "user" from connection_struct | Volker Lendecke | 2008-05-10 | 1 | -4/+6 |
| | |||||
* | Remove a couple of uses of SMB_VFS_GET_NT_ACL(), use | Jeremy Allison | 2008-05-09 | 1 | -8/+2 |
| | | | | | | SMB_VFS_FGET_NT_ACL instead. I'd like to ultimately remove SMB_VFS_GET_NT_ACL. Jeremy. | ||||
* | Yay ! Remove a VFS entry. Removed the set_nt_acl() call, | Jeremy Allison | 2008-05-08 | 1 | -7/+1 |
| | | | | | | | | | | | | | | this can only be done via fset_nt_acl() using an open file/directory handle. I'd like to do the same with get_nt_acl() but am concerned about efficiency problems with "hide unreadable/hide unwritable" when doing a directory listing (this would mean opening every file in the dir on list). Moving closer to rationalizing the ACL model and maybe moving the POSIX calls into a posix_acl VFS module rather than having them as first class citizens of the VFS. Jeremy. | ||||
* | Remove connection_struct->mem_ctx, connection_struct is its own parent | Volker Lendecke | 2008-05-05 | 1 | -1/+1 |
| | |||||
* | Remove two pointless else branches | Volker Lendecke | 2008-04-14 | 1 | -7/+5 |
| | |||||
* | Rewrite the wrap checks to deal with gcc 4.x optimisations. | Jeremy Allison | 2008-04-07 | 1 | -38/+51 |
| | | | | | Karolin, please pull once Volker has reviewed. Thanks. Jeremy. | ||||
* | smbd: implement the strange write time update logic | Stefan Metzmacher | 2008-04-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | We now never call file_ntimes() directly, every update is done via smb_set_file_time(). This let samba3 pass the BASE-DELAYWRITE test. The write time is only updated 2 seconds after the first write() on any open handle to the current time (not the time of the first write). Each handle which had write requests updates the write time to the current time on close(). If the write time is set explicit via setfileinfo or setpathinfo the write time is visible directly and a following close on the same handle doesn't update the write time. metze | ||||
* | smbd: ignore nttrans renames as w2k3 does | Stefan Metzmacher | 2008-04-01 | 1 | -24/+3 |
| | | | | | | | | This lets us pass the RAW-RENAME test. metze Signed-off-by: Michael Adam <obnox@samba.org> | ||||
* | Using Metze's S4 nttrans rename test, the nttrans rename | Jeremy Allison | 2008-03-11 | 1 | -1/+1 |
| | | | | | behaves the same as the trans2 one. Jeremy. | ||||
* | Try and fix bug #5315, as well as S4 torture tests RAW-OPLOCK BATCH19, | Jeremy Allison | 2008-03-11 | 1 | -2/+3 |
| | | | | | BATCH20 and RAW-RENAME. Jeremy. | ||||
* | 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 |
| |