Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-19 | s3:smbd: remove uses of "./" in unlink_internals() | Stefan Metzmacher | 1 | -4/+0 | |
Commit 78b931ce6c840ade646c1c6030fa2d6acb77208b tried to do that, but didn't have any effect. metze | |||||
2011-02-22 | s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_info | Andrew Bartlett | 1 | -3/+3 | |
These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-02-10 | Put OpenDir() back the way it was - don't overload with an fsp arg. Create ↵ | Jeremy Allison | 1 | -3/+3 | |
OpenDir_fsp for new usage. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Feb 10 02:43:31 CET 2011 on sn-devel-104 | |||||
2011-02-09 | Allow SMB2_FIND to actually use the open fd handle if we support fdopendir. ↵ | Jeremy Allison | 1 | -3/+4 | |
Fallback to pathname opendir if not. | |||||
2011-02-08 | Use corrcet function instead of cut-and-paste code. | Jeremy Allison | 1 | -1/+1 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Feb 8 03:23:40 CET 2011 on sn-devel-104 | |||||
2011-01-27 | Looking into printer driver issues, I ran across some peculiarities in | David Disseldorp | 1 | -8/+11 | |
copy_file(): - Firstly, if the source file is zero bytes, NT_STATUS_DISK_FULL is returned. - Secondly, the conditional lseek is confusing. It fires when OPENX_FILE_EXISTS_OPEN is set and I can't see why the lseek is necessary in this case. - Finally, the lseek error path also results in NT_STATUS_DISK_FULL. Proposed fix for first and third point below. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 27 00:59:56 CET 2011 on sn-devel-104 | |||||
2011-01-25 | Add uint32_t name_hash argument (currently unused) to get_file_infos(). | Jeremy Allison | 1 | -2/+2 | |
Will be used when we store more than one delete on close token. | |||||
2011-01-25 | Add name_hash into the share mode entry struct (as yet only use for renames ↵ | Jeremy Allison | 1 | -1/+8 | |
to identify a specific path). | |||||
2011-01-21 | s3:smbd: use dcerpc_spoolss_X() functions | Stefan Metzmacher | 1 | -4/+6 | |
metze Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-01-21 | Remove all uses of "./" in pathnames - make canonical. This will become ↵ | Jeremy Allison | 1 | -50/+78 | |
important when we need to guarantee canonical names for hashing. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jan 21 02:59:56 CET 2011 on sn-devel-104 | |||||
2011-01-20 | Make processing of incoming stream rename paths common between reply_mv and ↵ | Jeremy Allison | 1 | -0/+25 | |
ntrename. Ensure we don't depend on "./" in the streams module. | |||||
2010-12-16 | Fix old bug in openX code, exposed when "strict allocate" is set to true. | Jeremy Allison | 1 | -5/+9 | |
We need to return the file size here, not the allocation size, but we were not updating the stat struct after the vfs_set_filesize() call. Ensure we always use fresh data in openX replies. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Dec 16 02:37:58 CET 2010 on sn-devel-104 | |||||
2010-12-15 | Implement "use sendfile = yes" for SMB2. (cherry picked from commit ↵ | Jeremy Allison | 1 | -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-13 | As we handle missing sendfile() inside lib/sendfile.c, remove the ↵ | Jeremy Allison | 1 | -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-12 | libcli/security Provide a common, top level libcli/security/security.h | Andrew Bartlett | 1 | -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-28 | s3: Lift smbd_server_conn from file_find_di_first | Volker Lendecke | 1 | -2/+3 | |
2010-09-28 | s3: Remove smbd_server_conn from file_close_user | Volker Lendecke | 1 | -1/+1 | |
2010-09-28 | s3: Remove smbd_server_conn from file_close_pid | Volker Lendecke | 1 | -1/+1 | |
2010-09-27 | Small tweak to bugfix for 7698 - Assert causes smbd to panic on invalid ↵ | Jeremy Allison | 1 | -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-26 | Fix bug #7698 - Assert causes smbd to panic on invalid NetBIOS session request. | Jeremy Allison | 1 | -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-22 | Thank goodness for code reviews. Volker caught - this should be ↵ | Jeremy Allison | 1 | -1/+1 | |
lp_posix_pathnames() not lp_unix_extensions(). Jeremy. | |||||
2010-09-22 | Fix bug #7693 - smbd changing mode of files on rename | Jeremy Allison | 1 | -2/+3 | |
When using "map archive", don't change the archive bit on renames or writes with UNIX extensions turned on. Jeremy. | |||||
2010-09-15 | s3-rpc_server: Moved ncacn_np declarations in common header file. | Simo Sorce | 1 | -0/+1 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-09-15 | s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface. | Simo Sorce | 1 | -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-28 | s3: Remove smbd_server_fd() from set_local_machine_name() | Volker Lendecke | 1 | -0/+9 | |
2010-08-26 | s3-build: only include "fake_file.h" where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-24 | s3: Make srv_send_smb take an sconn instead of a sock fd | Volker Lendecke | 1 | -4/+4 | |
2010-08-18 | s3: Lift smbd_server_fd from reload_services() | Volker Lendecke | 1 | -1/+1 | |
2010-08-17 | s3: Remove smbd_server_fd() from read_smb_length() | Volker Lendecke | 1 | -12/+7 | |
2010-08-17 | s3: Move read_smb_length() to smbd/reply.c | Volker Lendecke | 1 | -0/+42 | |
2010-08-17 | s3: Lift smbd_server_fd() from read_data() | Volker Lendecke | 1 | -3/+8 | |
All callers have appropriate debug messages themselves | |||||
2010-08-17 | s3: Remove smbd_server_fd() from write_data() | Volker Lendecke | 1 | -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-16 | s3: Remove smbd_server_fd() from reply_echo | Volker Lendecke | 1 | -1/+1 | |
2010-08-16 | s3: Remove smbd_server_fd() from reply_writebraw | Volker Lendecke | 1 | -4/+4 | |
2010-08-16 | s3: Remove smbd_server_fd() from send_file_readX | Volker Lendecke | 1 | -2/+4 | |
2010-08-16 | s3: Remove smbd_server_fd() from send_file_readbraw | Volker Lendecke | 1 | -3/+5 | |
2010-08-16 | s3: Remove smbd_server_fd() from reply_readbraw_error | Volker Lendecke | 1 | -1/+1 | |
2010-08-16 | s3: Remove smbd_server_fd() from sendfile_short_send | Volker Lendecke | 1 | -1/+2 | |
2010-08-16 | s3: Remove smbd_server_fd() from fake_sendfile | Volker Lendecke | 1 | -1/+2 | |
2010-08-16 | s3: Remove smbd_server_fd from netbios_session_retarget | Volker Lendecke | 1 | -4/+5 | |
2010-08-16 | s3: Remove smbd_server_fd from reply_special | Volker Lendecke | 1 | -1/+1 | |
2010-08-08 | s3: Lift the smbd_messaging_context from reload_services | Volker Lendecke | 1 | -1/+1 | |
2010-07-31 | s3-build: avoid to globally include printing and spoolss headers. | Günther Deschner | 1 | -0/+1 | |
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther | |||||
2010-07-27 | s3-smbd: Convert reply_printqueue to use spoolss. | Simo Sorce | 1 | -22/+91 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-27 | s3-smbd: Use the right check to test if we can print. | Simo Sorce | 1 | -1/+1 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-27 | s3-printing: Moved printing.c headers to include/printing.h. | Simo Sorce | 1 | -0/+1 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-27 | s3-smbd: Migrated to new spoolss functions for printing. | Simo Sorce | 1 | -1/+2 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-05 | s3: Remove smbd_messaging_context() from smbd_do_locking() | Volker Lendecke | 1 | -3/+3 | |
2010-07-05 | s3: Remove smbd_messaging_context() from rename_open_files() | Volker Lendecke | 1 | -1/+1 | |
2010-07-05 | s3: Remove smbd_messaging_context() from reply_unlock() | Volker Lendecke | 1 | -1/+1 | |