Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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> | |||||
2009-07-20 | Re-add accidently removed shares test. | Jelmer Vernooij | 1 | -0/+74 | |
2009-07-20 | s4:kdc Add in a simple check for constrained delegation to self | Andrew Bartlett | 1 | -1/+70 | |
To do this properly, we must use the PAC, but for now this is enough to check that we are delegating to another name on the same host (which must be safe). (Windows 7 does this a lot, also noted in bug 6273) Andrew Bartlett | |||||
2009-07-20 | [SAMBA 4 directory] Refactoring and clean up of directory structure | Matthias Dieter Wallnöfer | 9 | -81/+167 | |
- Adds more system objects which make sense to have them in SAMBA 4 also to have them when we add more and more services related to the directory (volume support, DFS, replication service, COM...) - Make sure that "isCriticalSystemObject" and "showInAdvancedViewOnly" attributes are set correctly on each object | |||||
2009-07-19 | pidl: Print actual type names in errors about unknown origins rather than ↵ | Jelmer Vernooij | 2 | -17/+20 | |
'HASH(0x....)'. | |||||
2009-07-19 | pidl: Print proper errors when arrays don't have a specified size rather ↵ | Jelmer Vernooij | 2 | -7/+18 | |
than spewing pages of perl warnings. | |||||
2009-07-19 | Remove unused parameter setting. | Jelmer Vernooij | 2 | -11/+0 | |
2009-07-19 | Remove unnecessary imports. | Jelmer Vernooij | 6 | -14/+9 | |
2009-07-19 | Merge branch 'master' of git://git.samba.org/samba | Jelmer Vernooij | 20 | -194/+100 | |
2009-07-19 | Include ntsvc NDR in libndr-standard. | Jelmer Vernooij | 1 | -8/+5 | |
2009-07-19 | Remove unused variable. | Jelmer Vernooij | 1 | -1/+0 | |
2009-07-19 | source4/lib/registry/patchfile.c(reg_diff_load): fixed possible resource leak. | Slava Semushin | 1 | -0/+1 | |
File descriptor leaks when write(2) fails and we are returning from function. Found by cppcheck: [./source4/lib/registry/patchfile.c:319]: (error) Resource leak: fd | |||||
2009-07-19 | lib/util/util_file.c(file_save): fixed file descriptor leak when read(2) fails. | Slava Semushin | 1 | -0/+1 | |
Found by cppcheck: [./lib/util/util_file.c:383]: (error) Resource leak: fd | |||||
2009-07-19 | Fix broken password quality check | Matthieu Patou | 2 | -1/+4 | |
This fixes broken password tests when the passwords contain non ASCII characters (e.g. accentuated chars like ('e, `e, ...) | |||||
2009-07-19 | Fix typo | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-07-19 | [SAMBA 4] Some cosmetic changes for the LDB modules | Matthias Dieter Wallnöfer | 2 | -12/+12 | |
Some corrections which make the code a bit more readable (no functional changes here) | |||||
2009-07-19 | include unix.h if it's available | Matt Kraai | 2 | -0/+5 | |
2009-07-19 | Cosmetic correction | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Changes the order of two commands. First set up the "priv" structure, then assign it to the "ntvfs" structure. | |||||
2009-07-19 | Merge more ndr interfaces into libndr-standard. | Jelmer Vernooij | 2 | -59/+23 | |
2009-07-19 | librpc: Integrate some subsystems now part of libndr-standard and integrate ↵ | Jelmer Vernooij | 1 | -30/+14 | |
ndr_dfs in libndr-standard. | |||||
2009-07-19 | Add missing includes. | Jelmer Vernooij | 2 | -0/+2 | |
2009-07-19 | provision: Remove unused imports. | Jelmer Vernooij | 1 | -4/+0 | |
2009-07-19 | Create libndr-standard, which includes the NDR marshalling code for | Jelmer Vernooij | 4 | -19/+41 | |
the "standard" set of DCE/RPC interfaces found on Windows. | |||||
2009-07-19 | Remove unnecessary include, update README. | Jelmer Vernooij | 2 | -4/+0 | |
2009-07-19 | Remove outdated status file about samba3 -> samba4 upgrade project. | Jelmer Vernooij | 1 | -68/+0 | |
2009-07-19 | Fix a few type errors in VFS modules | Volker Lendecke | 6 | -10/+18 | |
2009-07-18 | VFS examples: Update copy of config.{guess,sub}. | Jelmer Vernooij | 2 | -75/+282 | |
2009-07-18 | python: Set right ldb modules directory when using system ldb. | Jelmer Vernooij | 1 | -0/+2 | |
2009-07-18 | Actually fill in ldb modules directory. | Jelmer Vernooij | 1 | -1/+1 | |
2009-07-18 | Remove pyldb_util and simply duplicate the 5-line function it contains, | Jelmer Vernooij | 6 | -53/+21 | |
rather than creating a separate shared library for it. | |||||
2009-07-18 | ldb: Display SHLD_FLAGS when building. | Jelmer Vernooij | 1 | -0/+1 | |
2009-07-17 | Fix Coverity CIDs 887, 888. Don't pass NULL's to functions | Jeremy Allison | 1 | -4/+3 | |
that deref them. Jeremy. | |||||
2009-07-17 | Fix Coverity CID 928. Removed check as this can never be null. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-07-17 | Fix Coverity CID 929. Potential NULL deref after code refactoring. | Jeremy Allison | 1 | -0/+5 | |
Jeremy. | |||||
2009-07-17 | Fix coverity CID 930. Pointer check can never be null here. | Jeremy Allison | 1 | -1/+1 | |
Jeremy | |||||
2009-07-17 | Fix coverity CID 931. This check is redundent as smb_fname can | Jeremy Allison | 1 | -1/+1 | |
never be null in this function. Jeremy. | |||||
2009-07-17 | Fix a typo reading uninitialized memory. Caught by valgrind. | Jeremy Allison | 1 | -3/+1 | |
Jeremy. |