summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-15Implement "use sendfile = yes" for SMB2. (cherry picked from commit ↵Jeremy Allison1-3/+2
95cb7adcd03a1abbd0af395b6c96dd8e0eebd3d1) Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 15 02:24:08 CET 2010 on sn-devel-104
2010-12-13As we handle missing sendfile() inside lib/sendfile.c, remove the ↵Jeremy Allison1-7/+0
WITH_SENDFILE ifdefs. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Dec 13 23:47:07 CET 2010 on sn-devel-104
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-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
2010-09-28s3: Lift smbd_server_conn from file_find_di_firstVolker Lendecke1-2/+3
2010-09-28s3: Remove smbd_server_conn from file_close_userVolker Lendecke1-1/+1
2010-09-28s3: Remove smbd_server_conn from file_close_pidVolker Lendecke1-1/+1
2010-09-27Small tweak to bugfix for 7698 - Assert causes smbd to panic on invalid ↵Jeremy Allison1-3/+3
NetBIOS session request. Don't just fail to reply on a bad NBT name, just don't do the internal action. Jeremy.
2010-09-26Fix bug #7698 - Assert causes smbd to panic on invalid NetBIOS session request.Jeremy Allison1-11/+30
Found by the CodeNomicon test suites at the SNIA plugfest. http://www.codenomicon.com/ If an invalid NetBIOS session request is received the code in name_len() in libsmb/nmblib.c can hit an assert. Re-write name_len() and name_extract() to use "buf/len" pairs and always limit reads. Jeremy.
2010-09-22Thank goodness for code reviews. Volker caught - this should be ↵Jeremy Allison1-1/+1
lp_posix_pathnames() not lp_unix_extensions(). Jeremy.
2010-09-22Fix bug #7693 - smbd changing mode of files on renameJeremy Allison1-2/+3
When using "map archive", don't change the archive bit on renames or writes with UNIX extensions turned on. Jeremy.
2010-09-15s3-rpc_server: Moved ncacn_np declarations in common header file.Simo Sorce1-0/+1
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface.Simo Sorce1-1/+6
This way we have one common way to open internal pipes whether they are shortcircuited or piped to an external process.
2010-08-28s3: Remove smbd_server_fd() from set_local_machine_name()Volker Lendecke1-0/+9
2010-08-26s3-build: only include "fake_file.h" where needed.Günther Deschner1-0/+1
Guenther
2010-08-24s3: Make srv_send_smb take an sconn instead of a sock fdVolker Lendecke1-4/+4
2010-08-18s3: Lift smbd_server_fd from reload_services()Volker Lendecke1-1/+1
2010-08-17s3: Remove smbd_server_fd() from read_smb_length()Volker Lendecke1-12/+7
2010-08-17s3: Move read_smb_length() to smbd/reply.cVolker Lendecke1-0/+42
2010-08-17s3: Lift smbd_server_fd() from read_data()Volker Lendecke1-3/+8
All callers have appropriate debug messages themselves
2010-08-17s3: Remove smbd_server_fd() from write_data()Volker Lendecke1-2/+57
This completely removes the DEBUG(0, ..) error message from write_data(). I've gone through all callers of write_data() and made sure that they have their own equivalent error message printing.
2010-08-16s3: Remove smbd_server_fd() from reply_echoVolker Lendecke1-1/+1
2010-08-16s3: Remove smbd_server_fd() from reply_writebrawVolker Lendecke1-4/+4
2010-08-16s3: Remove smbd_server_fd() from send_file_readXVolker Lendecke1-2/+4
2010-08-16s3: Remove smbd_server_fd() from send_file_readbrawVolker Lendecke1-3/+5
2010-08-16s3: Remove smbd_server_fd() from reply_readbraw_errorVolker Lendecke1-1/+1
2010-08-16s3: Remove smbd_server_fd() from sendfile_short_sendVolker Lendecke1-1/+2
2010-08-16s3: Remove smbd_server_fd() from fake_sendfileVolker Lendecke1-1/+2
2010-08-16s3: Remove smbd_server_fd from netbios_session_retargetVolker Lendecke1-4/+5
2010-08-16s3: Remove smbd_server_fd from reply_specialVolker Lendecke1-1/+1
2010-08-08s3: Lift the smbd_messaging_context from reload_servicesVolker Lendecke1-1/+1
2010-07-31s3-build: avoid to globally include printing and spoolss headers.Günther Deschner1-0/+1
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
2010-07-27s3-smbd: Convert reply_printqueue to use spoolss.Simo Sorce1-22/+91
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-smbd: Use the right check to test if we can print.Simo Sorce1-1/+1
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Moved printing.c headers to include/printing.h.Simo Sorce1-0/+1
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-smbd: Migrated to new spoolss functions for printing.Simo Sorce1-1/+2
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-05s3: Remove smbd_messaging_context() from smbd_do_locking()Volker Lendecke1-3/+3
2010-07-05s3: Remove smbd_messaging_context() from rename_open_files()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from reply_unlock()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from reply_lock()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from reply_writeunlock()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from reply_lockread()Volker Lendecke1-1/+1
2010-06-13s3: Remove fsp_belongs_connVolker Lendecke1-16/+0
check_open_fsp does exactly the same
2010-06-13s3: Remove some leftovers from macrosVolker Lendecke1-5/+5
check_fsp and check_fsp_open used to be macros
2010-06-12s3: Explicitly pass sconn to is_valid_writeX_bufferVolker Lendecke1-2/+2
2010-06-12s3: Explicitly pass sconn to reply_readbraw_errorVolker Lendecke1-10/+11
2010-06-12s3: Pass sconn explicitly to reply_specialVolker Lendecke1-2/+1
2010-06-12s3: Remove smbd_server_conn from smbd_do_lockingVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from reply_rmdirVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from reply_writebrawVolker Lendecke1-2/+2
2010-06-12s3: Remove smbd_server_conn from reply_read_and_XVolker Lendecke1-3/+3