summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * s3: Remove unnecessary callers of get_full_smb_filenameTim Prouty2009-07-215-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
| * s3: Remove the now unused fname parameter from filename_convert()Tim Prouty2009-07-217-56/+26
| |
| * s3: Fix RENAME_FLAG_RENAME path to stop calling unix_convert twiceTim Prouty2009-07-211-50/+75
| |
| * s3: Remove unnecessary fname argument from callers of filename_convertTim Prouty2009-07-211-9/+14
| |
| * s3: Plumb smb_filename through map_open_params_to_ntcreateTim Prouty2009-07-214-20/+22
| |
| * frsrpc.idl: make the chunk array in frsrpc_CommPktChunkCtr dynamicStefan Metzmacher2009-07-214-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
| * frsrpc.idl: almost complete the idl for the frsrpc_FrsSendCommPkt() functionStefan Metzmacher2009-07-211-87/+312
| | | | | | | | | | | | TODO: The amount of chunks is dynamic, we need to fix that metze
| * frsapi.idl: fill the frsapi_WriterCommand() functionStefan Metzmacher2009-07-211-1/+8
| | | | | | | | metze
| * frsapi.idl: fix some unknown field namesStefan Metzmacher2009-07-212-16/+16
| | | | | | | | metze
| * do not log chdir with level 0 if reason is access deniedChristian Ambach2009-07-211-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>
| * s3:dbwrap: use the transaction wrapper in dbwrap_trans_store().Michael Adam2009-07-211-26/+23
| | | | | | | | | | | | | | Now dbwrap_util.c contains only one call to each of transaction_start, transaction_commit and transaction_cancel. Michael
| * s3:dbwrap: use the transaction wrapper in dbwrap_trans_delete().Michael Adam2009-07-211-28/+12
| | | | | | | | Michael
| * tdb: fix locking errorRusty Russell2009-07-211-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>
| * s3: Add some asserts to the filename util functionsTim Prouty2009-07-201-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.
| * s3: Plumb smb_filename through open_fake_fileTim Prouty2009-07-203-20/+26
| |
| * s3: Separate out a new file: filename_utils.cTim Prouty2009-07-206-254/+280
| | | | | | | | This is to ease the linking pain of everything that links LOCKING_OBJ
| * s3: Move is_ntfs_stream*() to filename.cTim Prouty2009-07-203-26/+26
| |
| * s3: Finish plumbing the fsp->fsp_name smb_fname conversion through the modules.Tim Prouty2009-07-2023-263/+312
| |
| * s3: Change fsp->fsp_name to be an smb_filename struct!Tim Prouty2009-07-2032-590/+585
| |
| * s3 onefs oplocks: Replace static fstring with talloc'd dbg_ctx()Tim Prouty2009-07-201-16/+16
| |
| * s3: Change file_structs to be allocated with talloc instead of mallocTim Prouty2009-07-201-10/+15
| |
| * lib util: Fix const warningTim Prouty2009-07-201-1/+1
| |
| * Make cli_send_mailslot() static. Preparing to do away with unexpected.tdb....Jeremy Allison2009-07-202-9/+1
| | | | | | | | Jeremy.
| * Make tdb transaction lock recursive (samba version)Rusty Russell2009-07-203-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>
| * Re-add accidently removed shares test.Jelmer Vernooij2009-07-201-0/+74
| |
| * s4:kdc Add in a simple check for constrained delegation to selfAndrew Bartlett2009-07-201-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
| * [SAMBA 4 directory] Refactoring and clean up of directory structureMatthias Dieter Wallnöfer2009-07-209-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
| * pidl: Print actual type names in errors about unknown origins rather than ↵Jelmer Vernooij2009-07-192-17/+20
| | | | | | | | 'HASH(0x....)'.
| * pidl: Print proper errors when arrays don't have a specified size rather ↵Jelmer Vernooij2009-07-192-7/+18
| | | | | | | | than spewing pages of perl warnings.
| * Remove unused parameter setting.Jelmer Vernooij2009-07-192-11/+0
| |
| * Remove unnecessary imports.Jelmer Vernooij2009-07-196-14/+9
| |
| * Merge branch 'master' of git://git.samba.org/sambaJelmer Vernooij2009-07-1920-194/+100
| |\
| | * Include ntsvc NDR in libndr-standard.Jelmer Vernooij2009-07-191-8/+5
| | |
| | * Remove unused variable.Jelmer Vernooij2009-07-191-1/+0
| | |
| | * source4/lib/registry/patchfile.c(reg_diff_load): fixed possible resource leak.Slava Semushin2009-07-191-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
| | * lib/util/util_file.c(file_save): fixed file descriptor leak when read(2) fails.Slava Semushin2009-07-191-0/+1
| | | | | | | | | | | | | | | Found by cppcheck: [./lib/util/util_file.c:383]: (error) Resource leak: fd
| | * Fix broken password quality checkMatthieu Patou2009-07-192-1/+4
| | | | | | | | | | | | | | | This fixes broken password tests when the passwords contain non ASCII characters (e.g. accentuated chars like ('e, `e, ...)
| | * Fix typoMatthias Dieter Wallnöfer2009-07-191-1/+1
| | |
| | * [SAMBA 4] Some cosmetic changes for the LDB modulesMatthias Dieter Wallnöfer2009-07-192-12/+12
| | | | | | | | | | | | Some corrections which make the code a bit more readable (no functional changes here)
| | * include unix.h if it's availableMatt Kraai2009-07-192-0/+5
| | |
| | * Cosmetic correctionMatthias Dieter Wallnöfer2009-07-191-1/+1
| | | | | | | | | | | | | | | Changes the order of two commands. First set up the "priv" structure, then assign it to the "ntvfs" structure.
| | * Merge more ndr interfaces into libndr-standard.Jelmer Vernooij2009-07-192-59/+23
| | |
| | * librpc: Integrate some subsystems now part of libndr-standard and integrate ↵Jelmer Vernooij2009-07-191-30/+14
| | | | | | | | | | | | ndr_dfs in libndr-standard.
| | * Add missing includes.Jelmer Vernooij2009-07-192-0/+2
| | |
| | * Create libndr-standard, which includes the NDR marshalling code forJelmer Vernooij2009-07-194-19/+41
| | | | | | | | | | | | the "standard" set of DCE/RPC interfaces found on Windows.
| | * Remove unnecessary include, update README.Jelmer Vernooij2009-07-192-4/+0
| | |
| | * Remove outdated status file about samba3 -> samba4 upgrade project.Jelmer Vernooij2009-07-191-68/+0
| | |
| * | provision: Remove unused imports.Jelmer Vernooij2009-07-191-4/+0
| |/
| * Fix a few type errors in VFS modulesVolker Lendecke2009-07-196-10/+18
| |
| * VFS examples: Update copy of config.{guess,sub}.Jelmer Vernooij2009-07-182-75/+282
| |