Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-07-21 | s3: Plumb smb_filename through map_open_params_to_ntcreate | Tim Prouty | 4 | -20/+22 | |
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-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 | Make cli_send_mailslot() static. Preparing to do away with unexpected.tdb.... | Jeremy Allison | 2 | -9/+1 | |
Jeremy. | |||||
2009-07-19 | Fix a few type errors in VFS modules | Volker Lendecke | 6 | -10/+18 | |
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. | |||||
2009-07-17 | Move the initialization of smbd_server_conn from smbd/process, | Jeremy Allison | 2 | -5/+5 | |
after the accept and fork, to smbd_init_globals(), so it's done immediately on server startup. This is needed as some messages are sent to all active smbd processes (including the master listening daemon). If it gets a message that forces it to scan it's current connections (ie. conn_find()) then it discovers that sconn->smb1.tcons.Connections dereferences null (as sconn == NULL in the parent) and crashes. Yes, I could fix all cases where sconn is used and explicitly check for NULL but this fix is easier. It means that the smbd_event_context() is initialized in the master daemon and then re-initialized after fork, but that should be being done correctly in every fork call anyway. Without this change the previous fix 6a9e0039100b57f9626e87defec6720c476b9789 still panics in the reproducible test case for bug 6564, as this is one case where such a message (MSG_SMB_CONF_UPDATED) is sent to the parent. Metze please check. This change passes valgrind. Jeremy. | |||||
2009-07-17 | Fix bug #6564 - SetPrinter fails (panics) as non root. | Jeremy Allison | 2 | -0/+5 | |
Missing become_root()/unbecome_root() around reload_services. Jeremy. | |||||
2009-07-17 | s3-rpcclient: add createprinteric command. | Günther Deschner | 1 | -0/+43 | |
Guenther | |||||
2009-07-17 | s3-lsa: let _lsa_Delete return NT_STATUS_NOT_SUPPORTED as w2k3 does. | Günther Deschner | 1 | -6/+10 | |
Guenther | |||||
2009-07-17 | s3-lsa: Fix access_mask calculation for new handle in _lsa_CreateAccount(). | Günther Deschner | 1 | -6/+24 | |
Guenther | |||||
2009-07-17 | s3-lsa: add (not yet activate) level specific access checks for ↵ | Günther Deschner | 1 | -0/+42 | |
_lsa_QueryInfoPolicy. Guenther | |||||
2009-07-17 | s3-lsa: also implement level 13 in lsa_QueryInfoPolicy. | Günther Deschner | 1 | -19/+24 | |
Guenther | |||||
2009-07-17 | s3-lsa: Fix policy handle memleak and handle type check in _lsa_DeleteObject(). | Günther Deschner | 1 | -4/+14 | |
Guenther | |||||
2009-07-17 | s3-rpcclient: add LSA storeprivatedata command. | Günther Deschner | 1 | -0/+56 | |
Guenther | |||||
2009-07-17 | s3-rpcclient: add LSA retrieveprivatedata command. | Günther Deschner | 1 | -0/+60 | |
Guenther | |||||
2009-07-17 | s3-rpcclient: add LSA setsecret command. | Günther Deschner | 1 | -0/+71 | |
Guenther | |||||
2009-07-17 | s3-rpcclient: add LSA querysecret command. | Günther Deschner | 1 | -0/+86 | |
Guenther | |||||
2009-07-17 | s3-rpcclient: add LSA deletesecret command. | Günther Deschner | 1 | -0/+50 | |
Guenther | |||||
2009-07-17 | s3-rpcclient: add LSA createsecret command. | Günther Deschner | 1 | -0/+43 | |
Guenther | |||||
2009-07-18 | s3: compile warning and upn handling | Bo Yang | 2 | -1/+7 | |
Signed-off-by: Bo Yang <boyang@samba.org> | |||||
2009-07-18 | s3: don't do this, upper callbacks will check it | Bo Yang | 1 | -4/+0 | |
Signed-off-by: Bo Yang <boyang@samba.org> | |||||
2009-07-18 | s3: Fix crsh in net usershare list | Bo Yang | 1 | -0/+1 | |
Signed-off-by: Bo Yang <boyang@samba.org> | |||||
2009-07-16 | More conversions of NULL -> talloc_autofree_context() | Jeremy Allison | 3 | -19/+24 | |
so we at least know when we're using a long-lived context. Jeremy. | |||||
2009-07-16 | Replace more long-lived contexts with talloc_autofree_context(). | Jeremy Allison | 2 | -2/+2 | |
Jeremy. | |||||
2009-07-16 | Replace short-lived NULL talloc contexts with talloc_tos(). | Jeremy Allison | 3 | -22/+22 | |
Jeremy. | |||||
2009-07-16 | Remove an unused talloc context. | Jeremy Allison | 1 | -8/+2 | |
Jeremy. | |||||
2009-07-17 | s3-lsa: Fix pointless check for sec_info flags in _lsa_QuerySecurity(). | Günther Deschner | 1 | -13/+3 | |
Guenther | |||||
2009-07-17 | s3-lsa: implement _lsa_LookupPrivName(). | Günther Deschner | 1 | -6/+45 | |
Guenther | |||||
2009-07-17 | s3-lsa: implement _lsa_EnumAccountsWithUserRight(). | Günther Deschner | 1 | -6/+57 | |
Guenther | |||||
2009-07-16 | Tidyup prompted by #6554 - Wrong deallocation in sam_account_ok. | Jeremy Allison | 1 | -2/+3 | |
Jeremy. | |||||
2009-07-16 | s3-rpc_parse: remove more unused code. | Günther Deschner | 2 | -334/+0 | |
Guenther | |||||
2009-07-16 | s3-spoolss: make some of the command hooks static. | Günther Deschner | 2 | -6/+3 | |
Guenther | |||||
2009-07-15 | Fix bug #6551 - win98 clients cannot connect after server upgrade to ↵ | Jeremy Allison | 2 | -0/+3 | |
samba-3.4.0. The values of vuid and tid were not being correctly updated in the struct smb_request when passed to chain_reply inside sessionsetupX and tconX. Jeremy. | |||||
2009-07-15 | s3:smbd: try to fix a compiler warning on i386 : left shift count >= width ↵ | Stefan Metzmacher | 1 | -1/+1 | |
of type metze | |||||
2009-07-15 | s3:libsmb: we need to include "includes.h" as first header to let code build ↵ | Stefan Metzmacher | 1 | -1/+1 | |
on all platforms This should fix the Tru64 build. metze |