Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/ | Michael Adam | 2011-07-29 | 3 | -3/+3 |
| | | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104 | ||||
* | s3:dbwrap: move db_open() to a file dbwrap_open.c of its own. | Michael Adam | 2011-07-29 | 2 | -0/+2 |
| | | | | | | Also start new folder lib/dbwrap/ where dbwrap_open.c is stored and make the fallbacke implementation functoins non-static and create a dbwrap_private.h header file that contains their prototypes. | ||||
* | Fix bug #8307 - brl_close_fnum does not call SMB_VFS_BRL_UNLOCK_WINDOWS on ↵ | Jeremy Allison | 2011-07-16 | 1 | -122/+23 |
| | | | | | | | | | | all locks Reported by herb@samba.org. Remove the (premature) optimization on file close. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jul 16 02:32:02 CEST 2011 on sn-devel-104 | ||||
* | tdb_compat: Higher level API fixes. | Rusty Russell | 2011-06-20 | 2 | -2/+2 |
| | | | | | | | | | | | | My previous patches fixed up all direct TDB callers, but there are a few utility functions and the db_context functions which are still using the old -1 / 0 return codes. It's clearer to fix up all the callers of these too, so everywhere is consistent: non-zero means an error. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | ||||
* | lib/util Bring procid_str() into lib/util as server_id_string() | Andrew Bartlett | 2011-06-09 | 1 | -1/+1 |
| | | | | | | | This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett | ||||
* | s3-talloc Change TALLOC_MEMDUP() to talloc_memdup() | Andrew Bartlett | 2011-06-09 | 2 | -2/+2 |
| | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_MEMDUP isn't standard talloc. | ||||
* | s3-talloc Change TALLOC_ZERO_P() to talloc_zero() | Andrew Bartlett | 2011-06-09 | 2 | -4/+4 |
| | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc. | ||||
* | s3-talloc Change TALLOC_P() to talloc() | Andrew Bartlett | 2011-06-09 | 3 | -8/+8 |
| | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc. | ||||
* | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 2011-06-09 | 2 | -4/+4 |
| | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | ||||
* | s3:locking/proto.h: add _LOCKING_PROTO_H_ guard | Michael Adam | 2011-05-31 | 1 | -0/+5 |
| | |||||
* | s3:locking/proto.h: add GPL/Copyright header | Michael Adam | 2011-05-31 | 1 | -0/+21 |
| | |||||
* | s3: Fix a tiny memleak in copy_unix_token | Volker Lendecke | 2011-05-28 | 1 | -0/+1 |
| | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 28 11:47:11 CEST 2011 on sn-devel-104 | ||||
* | s3: Use talloc_memdup in copy_unix_token | Volker Lendecke | 2011-05-28 | 1 | -2/+2 |
| | |||||
* | s3: Fix some nonempty blank lines | Volker Lendecke | 2011-05-28 | 2 | -17/+17 |
| | |||||
* | s3: only include tdb headers where needed. | Günther Deschner | 2011-05-06 | 2 | -0/+2 |
| | | | | Guenther | ||||
* | More simple const fixes. | Jeremy Allison | 2011-05-05 | 1 | -2/+2 |
| | |||||
* | Fix the only place we reply on the NULL handling for the source in safe_strcpy. | Jeremy Allison | 2011-05-04 | 1 | -10/+18 |
| | |||||
* | s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLY | Andrew Bartlett | 2011-04-29 | 1 | -1/+1 |
| | | | | | | This means we use just one constant for this file attribute. Andrew Bartlett | ||||
* | Trying to track down the SMB2 error. Add an invariant test. | Jeremy Allison | 2011-04-16 | 1 | -1/+4 |
| | | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 16 02:15:38 CEST 2011 on sn-devel-104 | ||||
* | s3-messages: make ndr_messaging.h part of messages.h. | Günther Deschner | 2011-03-30 | 2 | -2/+0 |
| | | | | Guenther | ||||
* | s3-messages: only include messages.h where needed. | Günther Deschner | 2011-03-30 | 2 | -0/+2 |
| | | | | Guenther | ||||
* | s3-locking: move locking prototypes out of proto.h. | Günther Deschner | 2011-03-30 | 4 | -0/+204 |
| | | | | | | Will later become part of locking.h Guenther | ||||
* | s3-includes: only include system/filesys.h when needed. | Günther Deschner | 2011-03-30 | 3 | -0/+3 |
| | | | | Guenther | ||||
* | s3:locking: simplify the non cluster case of brl_get_locks_readonly() | Stefan Metzmacher | 2011-03-18 | 1 | -21/+2 |
| | | | | | | | | | Pair-Programmed-With: Michael Adam <obnox@samba.org> metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Mar 18 13:00:51 CET 2011 on sn-devel-104 | ||||
* | s3:locking: brl_get_locks_internal() should not expose a write lock if the ↵ | Stefan Metzmacher | 2011-03-18 | 1 | -7/+24 |
| | | | | | | | | | | caller wants read_only This triggered deadlocks in the cluster case of brl_get_locks_readonly(). Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | ||||
* | Nulling out the op_mid is never the right thing to do. We depend on | Jeremy Allison | 2011-03-17 | 1 | -1/+0 |
| | | | | | | | | | this value when searching for specific share mode entries. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 17 19:59:51 CET 2011 on sn-devel-104 | ||||
* | s3-server_id: only include server_id where needed. | Günther Deschner | 2011-03-02 | 2 | -0/+2 |
| | | | | Guenther | ||||
* | s3-auth struct security_unix_token replaces UNIX_USER_TOKEN | Andrew Bartlett | 2011-03-01 | 1 | -11/+11 |
| | |||||
* | Missed one debug printf of name_hash. Ensure always use %x. | Jeremy Allison | 2011-01-26 | 1 | -2/+2 |
| | | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 26 00:46:28 CET 2011 on sn-devel-104 | ||||
* | Fix bug #7863 - Unlink may unlink wrong file when hardlinks are involved. | Jeremy Allison | 2011-01-25 | 1 | -93/+239 |
| | | | | | | Do this by keeping a linked list of delete on close tokens, one for each filename that identifies a path to the dev/inode. Use the jenkins hash of the pathname to identify the correct token. | ||||
* | Add uint32_t name_hash argument (currently unused) to get_file_infos(). | Jeremy Allison | 2011-01-25 | 1 | -0/+1 |
| | | | | Will be used when we store more than one delete on close token. | ||||
* | Add name_hash into the share mode entry struct (as yet only use for renames ↵ | Jeremy Allison | 2011-01-25 | 1 | -2/+15 |
| | | | | to identify a specific path). | ||||
* | libcli/security Provide a common, top level libcli/security/security.h | Andrew Bartlett | 2010-10-12 | 1 | -0/+1 |
| | | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104 | ||||
* | Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on all | Jeremy Allison | 2010-09-27 | 2 | -2/+2 |
| | | | | | | | | | | TDB_CLEAR_IF_FIRST tdb's. For tdb's like gencache where we open without CLEAR_IF_FIRST and then with CLEAR_IF_FIRST if corrupt this is still safe to use as if opening an existing tdb the new hash will be ignored - it's only used on creating a new tdb not opening an old one. Jeremy. | ||||
* | s3-build: use dbwrap.h only where needed. | Günther Deschner | 2010-08-26 | 3 | -0/+3 |
| | | | | Guenther | ||||
* | s3: Remove smbd_messaging_context() from send_stat_cache_delete_message() | Volker Lendecke | 2010-08-07 | 1 | -1/+2 |
| | |||||
* | s3: Remove procid_self() from brl_close_fnum() | Volker Lendecke | 2010-07-05 | 1 | -1/+2 |
| | |||||
* | s3: Remove procid_self() from fill_deferred_open_entry() | Volker Lendecke | 2010-07-05 | 1 | -6/+9 |
| | |||||
* | s3: Remove procid_self() from do_lock_cancel() | Volker Lendecke | 2010-07-05 | 1 | -1/+1 |
| | |||||
* | s3: Remove procid_self() from do_unlock() | Volker Lendecke | 2010-07-05 | 1 | -1/+1 |
| | |||||
* | s3: Remove procid_self() from do_lock() | Volker Lendecke | 2010-07-05 | 1 | -1/+1 |
| | |||||
* | s3: Remove procid_self() from query_lock() | Volker Lendecke | 2010-07-05 | 1 | -1/+1 |
| | |||||
* | s3: Remove procid_self() from fill_share_mode_entry() | Volker Lendecke | 2010-07-05 | 1 | -1/+1 |
| | |||||
* | s3: Remove procid_self() from init_strict_lock_struct() | Volker Lendecke | 2010-07-05 | 1 | -1/+2 |
| | |||||
* | This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> ↵ | Jeremy Allison | 2010-05-07 | 2 | -41/+41 |
| | | | | | | smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context. Jeremy. | ||||
* | Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them ↵ | Jeremy Allison | 2010-05-07 | 1 | -2/+3 |
| | | | | | | next :-). Jeremy. | ||||
* | Fix SMB2 lock tests up to cancel-by-close. | Jeremy Allison | 2010-05-06 | 1 | -0/+4 |
| | | | | Jeremy. | ||||
* | Move to MS-FSA algorithm when checking for invalid lock range. | Jeremy Allison | 2010-05-05 | 1 | -7/+6 |
| | | | | | | Satisfies SMB and SMB2. Jeremy. | ||||
* | s3: only include gen_ndr headers where needed. | Günther Deschner | 2010-05-06 | 2 | -0/+2 |
| | | | | | | | | | | | | | | | | | This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther | ||||
* | smbd: move printfile_offset() within write_file() | Simo Sorce | 2010-04-30 | 1 | -0/+6 |
| |