Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-01-13 | Only call sendfile_short_read() if we need it. | Jeremy Allison | 1 | -2/+6 | |
Jeremy. | |||||
2009-01-13 | Fix bug noticed by Volker - if sendfile returns zero then | Jeremy Allison | 2 | -6/+78 | |
we might have to handle a short send by filling with zeros. Jeremy. | |||||
2009-01-13 | Fix bug #6019 File corruption in Clustered SMB/NFS environment managed via CTDB | Jeremy Allison | 2 | -4/+4 | |
Jeremy. | |||||
2009-01-12 | Covert several persistant tdb files to use state_path() instead of lock_path() | Steven Danneman | 3 | -3/+3 | |
2009-01-12 | Audit usage of get_dyn_STATEDIR() and replace with state_path() | Steven Danneman | 1 | -2/+2 | |
The state directory is now run-time configurable through loadparm, so all references to it should be done through state_path() or lp_statedir(). | |||||
2009-01-12 | Deprecate the "share modes" parameter to address bug #6024, swat disagrees ↵ | Jeremy Allison | 1 | -1/+1 | |
with smbstatus as to share mode with share modes = No set in samba. Jeremy. | |||||
2009-01-12 | s3-rpcclient: some cleanup for eventlog client. | Günther Deschner | 1 | -9/+26 | |
Guenther | |||||
2009-01-12 | s3:libsmb: handle the smb signing states the same in the krb5 and ntlmssp cases | Stefan Metzmacher | 1 | -16/+35 | |
SMB signing works the same regardless of the used auth mech. We need to start with the temp signing ("BSRSPYL ") and the session setup response with NT_STATUS_OK is the first signed packet. Now we set the krb5 session key if we got the NT_STATUS_OK from the server and then recheck the packet. All this is needed to make the fallback from krb5 to ntlmssp possible. This commit also resets the cli->vuid value to 0, if the krb5 auth didn't succeed. Otherwise the server handles NTLMSSP packets as krb5 packets. The restructuring of the SMB signing code is needed to make sure the krb5 code only starts the signing engine on success. Otherwise the NTLMSSP fallback could not initialize the signing engine (again). metze | |||||
2009-01-12 | Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.c | Steven Danneman | 11 | -51/+188 | |
If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-01-12 | Even for srclen == 0 we have to return something | Volker Lendecke | 1 | -0/+6 | |
This fixes a regression reported by Corinna Vinschen <corinna@vinschen.de> Thanks, Volker | |||||
2009-01-11 | s3: Fix uninitialized variable in OneFS streams | Tim Prouty | 1 | -2/+5 | |
2009-01-11 | s3: Differentiate between posix files with colons and actual streams | Tim Prouty | 1 | -2/+34 | |
It is possible for a posix file created locally or over nfs to have a ":" in the name. Since ":" is a reserved character in windows, filenames containing a colon must be mangled in a directory listing. Right now files containing colons will not even be displayed in directory listings if streams modules are in use. During the directory listing the file will be detected as a stream because of the colon, but the streams module will fail to find the stream since it doesn't exist. This fix adds a step to is_ntfs_stream_name that stats the filename to differentiate between actual streams and files containing colons. While this is an improvement, it isn't perfect. Consider the case where there is a file on disk called "a.txt:s1" and also a file called "a.txt" that has a stream called "s1". This patch will always preference "a.txt:s1" over a.txt's s1 stream. The real issue is that at the vfs level, the vfs modules have no way to tell between a demangled name with a colon and an actual stream. A more invasive, but better, long-term fix would be to add all paths that come over the wire into a struct containing metadata about the path. This metadata could include a flag to indicate whether the path came over the wire with a colon ":" (guaranteeing that the client is requesting a stream). Passing this struct down to the lower levels, including all path-based vfs calls, would allow the above case to be handled correctly in all cases. | |||||
2009-01-11 | s3: Add OneFS alternate data streams implementation | Tim Prouty | 5 | -15/+674 | |
2009-01-11 | s3: General cleanup of the open path in the OneFS vfs module | Tim Prouty | 5 | -27/+17 | |
2009-01-11 | Move cli_api_pipe() to its only user cli_pipe.c | Volker Lendecke | 3 | -29/+26 | |
2009-01-10 | Don't set child->requests to NULL in parent after fork | Bo Yang | 1 | -1/+0 | |
2009-01-10 | Fix a type-punned error | Volker Lendecke | 1 | -1/+1 | |
2009-01-10 | Fix a C++ warning | Volker Lendecke | 1 | -2/+2 | |
2009-01-09 | Minor tidyup of unix account missing code. | Jeremy Allison | 1 | -5/+5 | |
Jeremy. | |||||
2009-01-09 | Remove the rpc_srv_register wrapper around rpc_pipe_register_commands | Volker Lendecke | 1 | -15/+4 | |
2009-01-09 | Call rpc_srv_register instead of rpc_pipe_register_commands in eventlog and ↵ | Volker Lendecke | 1 | -2/+2 | |
svcctl | |||||
2009-01-09 | Fake up ndr_table_spoolss | Volker Lendecke | 1 | -4/+27 | |
2009-01-09 | Pass the full ndr_interface_table into the s3 rpcserver when registering | Volker Lendecke | 2 | -0/+14 | |
2009-01-09 | Add derpc_transport_string_by_transport(), apply some const | Volker Lendecke | 1 | -1/+2 | |
2009-01-09 | start rpcclient epmapper | Volker Lendecke | 3 | -1/+136 | |
2009-01-09 | Simplify find_pipe_fns_by_context slightly | Volker Lendecke | 1 | -8/+4 | |
2009-01-09 | Fix some nonempty blank lines | Volker Lendecke | 1 | -17/+17 | |
2009-01-09 | s3: Remove rendundant op_tuple entry in xattr streams | Tim Prouty | 1 | -2/+0 | |
2009-01-09 | s3: Fix open path to delete streams depending on the create disposition | Tim Prouty | 1 | -0/+14 | |
The new create disposition test in smbtorture RAW-STREAMS verifies this fix. | |||||
2009-01-09 | s3: Add delete_all_streams to proto.h | Tim Prouty | 2 | -1/+2 | |
2009-01-09 | s3-svcctl: remove last traces of hand-marshalled svcctl code. | Günther Deschner | 8 | -328/+4 | |
Guenther | |||||
2009-01-09 | s3-svcctl: remove old marshalling of svcctl_EnumServicesStatusW. | Günther Deschner | 4 | -234/+0 | |
Guenther | |||||
2009-01-09 | s3-svcctl: build svcctl marshalling helper. | Günther Deschner | 1 | -1/+2 | |
Guenther | |||||
2009-01-09 | s3-svcctl: use pidl for _svcctl_EnumServicesStatusW. | Günther Deschner | 2 | -43/+34 | |
Guenther | |||||
2009-01-09 | s3-net: use rpccli_svcctl_EnumServicesStatusW. | Günther Deschner | 1 | -19/+68 | |
Guenther | |||||
2009-01-09 | s3/net: Display error message if user does not exist. | Karolin Seeger | 1 | -1/+4 | |
net rpc rights grant: Verify if the username can be resolved to a SID and display a proper error message if it does not. Otherwise users might think setting privileges worked fine, but in fact it does not. Karolin | |||||
2009-01-09 | s3-svcctl: use pidl defined constants in services implementation. | Günther Deschner | 5 | -54/+60 | |
Guenther | |||||
2009-01-09 | s3/smbpasswd: Check if Unix account exists before asking for the password. | Karolin Seeger | 1 | -0/+9 | |
Admins shouldn't have to type in the password twice when the passdb account cannot be created because the Unix account is missing. Karolin | |||||
2009-01-09 | s3:smbd: handle incoming smb requests via event handlers | Stefan Metzmacher | 4 | -109/+164 | |
We use a fd event and receive incoming smb requests when the fd becomes readable. It's not completely nonblocking yet, but it should behave like the old code. We use timed events to trigger retries for deferred open calls. metze | |||||
2009-01-09 | s3:events: debug sys_select() errors | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2009-01-09 | s3:events: install a tevent debug handler that calls DEBUG() | Stefan Metzmacher | 1 | -1/+42 | |
metze | |||||
2009-01-08 | Fix bug #6021 - smbclient du command does not recuse properly | Jeremy Allison | 2 | -5/+6 | |
Jeremy. | |||||
2009-01-08 | Now that all policy_handle free_fn's are just TALLOC_FREE, dump free_fn | Volker Lendecke | 9 | -101/+51 | |
2009-01-08 | Use TALLOC for struct lsa_info | Volker Lendecke | 1 | -11/+13 | |
2009-01-08 | Make use of a talloc_destructor for free_printer_entry | Volker Lendecke | 2 | -17/+11 | |
2009-01-08 | Make use of a talloc_destructor for free_eventlog_info() | Volker Lendecke | 1 | -7/+10 | |
2009-01-08 | Make samr_info a talloc context of its own | Volker Lendecke | 1 | -14/+15 | |
2009-01-08 | Simplify init_pipe_handle_list a bit | Volker Lendecke | 1 | -23/+26 | |
2009-01-08 | s3-rpcclient: add eventlog test client. | Günther Deschner | 3 | -1/+192 | |
Guenther | |||||
2009-01-08 | s3-eventlog: minor cosmetics. | Günther Deschner | 1 | -1/+3 | |
Guenther |