Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-07-24 | Move the "enum _vfs_op_type" to full_audit | Volker Lendecke | 2 | -142/+142 | |
It's only used there now. Someone should now go in and simplify full_audit... :-) | |||||
2009-07-24 | Make the smbd VFS typesafe | Volker Lendecke | 53 | -2411/+2660 | |
2009-07-24 | Fix the chain2 test | Volker Lendecke | 1 | -1/+3 | |
2009-07-24 | In chain_reply, copy the subrequests' error to the main request | Volker Lendecke | 1 | -0/+15 | |
2009-07-24 | Fix a few uninitialized variable warnings | Volker Lendecke | 10 | -20/+20 | |
I know those warnings are bogus, but both Coverity and gcc don't get it. | |||||
2009-07-24 | s4:gensec_gssapi: pass the correct oid to the gssapi layer. | Stefan Metzmacher | 1 | -4/+11 | |
metze | |||||
2009-07-24 | s4:gensec/spengo: make sure we send the blob with the micListMech signature ↵ | Stefan Metzmacher | 1 | -1/+1 | |
to the peer We should even do this if the submech has no more data to send. metze | |||||
2009-07-24 | Some more VFS type errors | Volker Lendecke | 1 | -2/+2 | |
2009-07-24 | Fix some nonempty blank lines | Volker Lendecke | 1 | -4/+4 | |
2009-07-24 | Fix some C++ warnings | Volker Lendecke | 1 | -4/+7 | |
2009-07-23 | s4:ldb: add support for the new Recycle Bin Feature LDAP controls | Stefan Metzmacher | 2 | -0/+68 | |
LDB_CONTROL_SHOW_RECYCLED_OID 1.2.840.113556.1.4.2064 LDB_CONTROL_SHOW_DEACTIVATED_LINK_OID 1.2.840.113556.1.4.2065 metze | |||||
2009-07-23 | s4:libcli/ldap: add support for new Recycle Bin Feature LDAP Controls | Stefan Metzmacher | 1 | -0/+40 | |
LDAP_SERVER_SHOW_RECYCLED_OID 1.2.840.113556.1.4.2064 LDAP_SERVER_SHOW_DEACTIVATED_LINK_OID 1.2.840.113556.1.4.2065 metze | |||||
2009-07-23 | frsrpc.idl: add definition of frsrpc_FrsNOP() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-07-23 | frsrpc.idl: add idl for frsrpc_FrsVerifyPromotionParent() | Stefan Metzmacher | 1 | -1/+9 | |
metze | |||||
2009-07-23 | Fix typos reported by OPC Oota. | John H Terpstra | 1 | -4/+4 | |
2009-07-23 | Merge branch 'master' of ssh://jht@git.samba.org/data/git/samba | John H Terpstra | 388 | -6755/+13066 | |
2009-07-23 | [SAMBA 4 / NETLOGON] Modify type of SAM contexts | Matthias Dieter Wallnöfer | 1 | -9/+7 | |
In the SAMBA 4 DCE/RPC NETLOGON server the SAM context references have generally the type "void *". But we know that those context objects are based on the "struct ldb_context" type. We've always to cast for using a SAM/LDB call. This I didn't find very appealing and so I assigned the right (detailed) type to each "sam_ctx". Therefore, the casts could disappear. Also this change is only cosmetic. | |||||
2009-07-22 | frstrans.idl: add new DFS-R FrsTransport interface with dummy functions | Stefan Metzmacher | 2 | -1/+91 | |
metze | |||||
2009-07-22 | frsrpc.idl: add definition for frsrpc_FrsStartPromotionParent() | Stefan Metzmacher | 1 | -1/+22 | |
metze | |||||
2009-07-22 | s3: Change unix_convert to use an smb_filename struct internally | Tim Prouty | 2 | -138/+168 | |
This allows SMB_VFS_[L]STAT to be called directly. Additionally, I changed NTSTATUS result to be named status for consistency. I also removed the stat_cache_add() from build_stream_path() because stat_cache_lookup() is never actually called on a file with a stream. There is no reason why the stat cache couldn't be consulted for streams in the future. Jeremy/Volker, please take a look at this one when you get a chance. | |||||
2009-07-22 | s3: Convert some callers of vfs_lstat_smb_fname to SMB_VFS_LSTAT() | Tim Prouty | 2 | -9/+30 | |
2009-07-22 | s3: Convert some callers of vfs_stat_smb_fname to SMB_VFS_STAT() | Tim Prouty | 4 | -26/+37 | |
2009-07-22 | librpc: fix the merged build of ndr_frsrpc.c | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-07-22 | Revert "net: Use samba default command line arguments." | Kai Blin | 12 | -172/+209 | |
This reverts commit fb262f79fab00374023e59476e8d05a1015a7041 and related commits c36031778e1983ddb11d3e1fcab35e738dbf94bc 72fd5fa6bb78a054fad5e5ebe19a0c0387a7d45b and 38cd0e086f50ce54d88a19aa5a6803469af90489 This change caused more trouble than it solved. We need to do this differently. Reverting so we don't accidently release this. | |||||
2009-07-22 | s4:provision Fix provision on FreeBSD | Andrew Bartlett | 1 | -0/+1 | |
We were missing the 'cn' attribute, which we then prepare a sorted list based on. On Linux, strcmp(NULL, NULL) does not segfault, where it does on FreeBSD. Reported by Timur I. Bakeyev <timur@com.bat.ru> Andrew Bartlett | |||||
2009-07-21 | s3: plumb smb_filename through some of the trans2 posix_* functions | Tim Prouty | 1 | -60/+38 | |
2009-07-21 | s3: Remove unnecessary callers of get_full_smb_filename | Tim Prouty | 5 | -159/+81 | |
This often times means explicitly denying certain operations on a stream as they are not supported or don't make sense at a particular level. At some point in the future these can be enabled, but for now it's better to remove ambiguity | |||||
2009-07-21 | s3: Remove the now unused fname parameter from filename_convert() | Tim Prouty | 7 | -56/+26 | |
2009-07-21 | s3: Fix RENAME_FLAG_RENAME path to stop calling unix_convert twice | Tim Prouty | 1 | -50/+75 | |
2009-07-21 | s3: Remove unnecessary fname argument from callers of filename_convert | Tim Prouty | 1 | -9/+14 | |
2009-07-21 | s3: Plumb smb_filename through map_open_params_to_ntcreate | Tim Prouty | 4 | -20/+22 | |
2009-07-21 | frsrpc.idl: make the chunk array in frsrpc_CommPktChunkCtr dynamic | Stefan Metzmacher | 4 | -5/+135 | |
We add an extra num_chunks to the frsrpc_CommPktChunkCtr structure and use hand modified ndr_push/pull functions to let it not appear on the wire. metze | |||||
2009-07-21 | frsrpc.idl: almost complete the idl for the frsrpc_FrsSendCommPkt() function | Stefan Metzmacher | 1 | -87/+312 | |
TODO: The amount of chunks is dynamic, we need to fix that metze | |||||
2009-07-21 | frsapi.idl: fill the frsapi_WriterCommand() function | Stefan Metzmacher | 1 | -1/+8 | |
metze | |||||
2009-07-21 | frsapi.idl: fix some unknown field names | Stefan Metzmacher | 2 | -16/+16 | |
metze | |||||
2009-07-21 | do not log chdir with level 0 if reason is access denied | Christian Ambach | 1 | -2/+2 | |
this changes the level of logs caused by users trying to access shares or subdirectories for which they do not have access to in the ACL this can fill up the samba log even with log level 0 and is more an expected kind of logs that IMHO should not be logged with such a high level. All other errors while chdir() will still be logged with level 0 Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com> | |||||
2009-07-21 | s3:dbwrap: use the transaction wrapper in dbwrap_trans_store(). | Michael Adam | 1 | -26/+23 | |
Now dbwrap_util.c contains only one call to each of transaction_start, transaction_commit and transaction_cancel. Michael | |||||
2009-07-21 | s3:dbwrap: use the transaction wrapper in dbwrap_trans_delete(). | Michael Adam | 1 | -28/+12 | |
Michael | |||||
2009-07-21 | tdb: fix locking error | Rusty Russell | 1 | -1/+1 | |
54a51839ea65aa788b18fce8de0ae4f9ba63e4e7 "Make tdb transaction lock recursive (samba version)" was broken: I "cleaned it up" and prevented it from ever unlocking. To see the problem: $ bin/tdbtorture -s 1248142523 tdb_brlock failed (fd=3) at offset 8 rw_type=1 lck_type=14 len=1 tdb_transaction_lock: failed to get transaction lock tdb_transaction_start failed: Resource deadlock avoided My testcase relied on the *count* being correct, which it was. Fixing that now. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-07-20 | s3: Add some asserts to the filename util functions | Tim Prouty | 1 | -0/+12 | |
In the smb_filename struct stream_name must equal NULL if there is no stream name. These asserts should catch any future offenders of this invariant early. | |||||
2009-07-20 | s3: Plumb smb_filename through open_fake_file | Tim Prouty | 3 | -20/+26 | |
2009-07-20 | s3: Separate out a new file: filename_utils.c | Tim Prouty | 6 | -254/+280 | |
This is to ease the linking pain of everything that links LOCKING_OBJ | |||||
2009-07-20 | s3: Move is_ntfs_stream*() to filename.c | Tim Prouty | 3 | -26/+26 | |
2009-07-20 | s3: Finish plumbing the fsp->fsp_name smb_fname conversion through the modules. | Tim Prouty | 23 | -263/+312 | |
2009-07-20 | s3: Change fsp->fsp_name to be an smb_filename struct! | Tim Prouty | 32 | -590/+585 | |
2009-07-20 | s3 onefs oplocks: Replace static fstring with talloc'd dbg_ctx() | Tim Prouty | 1 | -16/+16 | |
2009-07-20 | s3: Change file_structs to be allocated with talloc instead of malloc | Tim Prouty | 1 | -10/+15 | |
2009-07-20 | lib util: Fix const warning | Tim Prouty | 1 | -1/+1 | |
2009-07-20 | Make cli_send_mailslot() static. Preparing to do away with unexpected.tdb.... | Jeremy Allison | 2 | -9/+1 | |
Jeremy. | |||||
2009-07-20 | Make tdb transaction lock recursive (samba version) | Rusty Russell | 3 | -21/+20 | |
This patch replaces 6ed27edbcd3ba1893636a8072c8d7a621437daf7 and 1a416ff13ca7786f2e8d24c66addf00883e9cb12, which fixed the bug where traversals inside transactions would release the transaction lock early. This solution is more general, and solves the more minor symptom that nested traversals would also release the transaction lock early. (It was also suggestd in Volker's comment in 6ed27ed). This patch also applies to ctdb, if the traverse.c part is removed (ctdb's tdb code never received the previous two fixes). Tested using the testsuite from ccan (adapted to the samba code). Thanks to Michael Adam for feedback. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Michael Adam <obnox@samba.org> |