Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-06-06 | s3:include: move struct smb_file_time to vfs.h | Stefan Metzmacher | 2 | -8/+8 | |
metze | |||||
2012-06-06 | s3:include: move struct connection_struct (and sub structs) to vfs.h | Stefan Metzmacher | 3 | -94/+94 | |
metze | |||||
2012-06-06 | s3:include: move struct stream_struct to vfs.h | Stefan Metzmacher | 2 | -10/+10 | |
metze | |||||
2012-06-06 | s3:include: move struct fd_handle/files_struct to vfs.h | Stefan Metzmacher | 2 | -82/+82 | |
metze | |||||
2012-06-06 | s3:includes: move union unid_t to vfs.h | Stefan Metzmacher | 2 | -5/+5 | |
metze | |||||
2012-06-06 | s3:smbd: move struct trans_state to smbd.h | Stefan Metzmacher | 2 | -30/+30 | |
metze | |||||
2012-06-06 | s3:smbd: move struct privilege_paths to smbd.h | Stefan Metzmacher | 2 | -9/+9 | |
metze | |||||
2012-06-06 | s3:smbd: make struct notify_change_buf private to notify.c | Stefan Metzmacher | 2 | -20/+20 | |
metze | |||||
2012-06-06 | s3:smbd: make use of change_notify_fsp_has_changes() | Stefan Metzmacher | 2 | -2/+2 | |
metze | |||||
2012-06-06 | s3:smbd: add change_notify_fsp_has_changes() | Stefan Metzmacher | 2 | -0/+18 | |
metze | |||||
2012-06-06 | s3:printing: add print_spool_rap_jobid() | Stefan Metzmacher | 2 | -0/+10 | |
metze | |||||
2012-06-06 | s3:printing: make struct print_file_data private to printspoolss.c | Stefan Metzmacher | 2 | -9/+9 | |
metze | |||||
2012-06-06 | s3:smbd: use print_spool_rap_jobid() in call_trans2ioctl() | Stefan Metzmacher | 1 | -5/+3 | |
metze | |||||
2012-06-06 | s3:smbd: use print_spool_rap_jobid() in reply_ioctl() | Stefan Metzmacher | 1 | -5/+2 | |
metze | |||||
2012-06-06 | s3:smbd: fcb_or_dos_open() can be static | Stefan Metzmacher | 2 | -20/+10 | |
metze | |||||
2012-06-06 | s3:smbd: dup_file_fsp() never gets called for print files | Stefan Metzmacher | 1 | -8/+3 | |
metze | |||||
2012-06-06 | s3:smbd: make struct vfs_fsp_data private to vfs.c | Stefan Metzmacher | 2 | -10/+10 | |
metze | |||||
2012-06-06 | s3:smbd: make use of vfs_remove_all_fsp_extensions() in file_free() | Stefan Metzmacher | 1 | -3/+1 | |
metze | |||||
2012-06-06 | s3:smbd: add vfs_remove_all_fsp_extensions() | Stefan Metzmacher | 2 | -0/+22 | |
metze | |||||
2012-06-06 | s3:includes: move struct share_mode_lock to locking.h | Stefan Metzmacher | 2 | -4/+4 | |
metze | |||||
2012-06-06 | s3:smbd: remove typedef for struct write_cache | Stefan Metzmacher | 1 | -9/+9 | |
metze | |||||
2012-06-06 | s3:smbd: make typedef write_cache private to fileio.c | Stefan Metzmacher | 2 | -9/+9 | |
metze | |||||
2012-06-06 | s3-libsmb: Fix error messages to correctly mention PLAINTEXT not LM | Andrew Bartlett | 1 | -6/+6 | |
Also make all the message say the same thing. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 6 10:17:55 CEST 2012 on sn-devel-104 | |||||
2012-06-06 | build: Rationalise AIO support in configure, ensure on by default | Andrew Bartlett | 7 | -30/+26 | |
With this change, the define to check for AIO is HAVE_AIO, consistant with other subsystems. It is now also on by default in the autoconf build, as it has been for waf. Andrew Bartlett | |||||
2012-06-05 | s3: temporary hack to make the waf build work withouth autotools being required | Björn Jacke | 1 | -0/+1 | |
this also disables the examples/VFS build for waf now. Finally we should create a wscript file for examples/VFS. Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue Jun 5 23:56:22 CEST 2012 on sn-devel-104 | |||||
2012-06-05 | s3:lib: split things into a conn_tdb.h | Stefan Metzmacher | 12 | -44/+71 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 5 19:28:35 CEST 2012 on sn-devel-104 | |||||
2012-06-05 | s3:libsmb: fix the talloc parent of clistr_pull_talloc() in cli_notify_done() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-05 | s3:libsmb: change cli_sesssetup_blob_* to use uint8_t instead of char for inbuf | Stefan Metzmacher | 1 | -8/+8 | |
metze | |||||
2012-06-05 | s3:libsmb: use inhdr instead of inbuf in tree connect related functions | Stefan Metzmacher | 1 | -5/+5 | |
metze | |||||
2012-06-05 | s3:libsmb: use inhdr instead of inbuf in session setup related functions | Stefan Metzmacher | 1 | -34/+36 | |
metze | |||||
2012-06-05 | s3:libsmb: remove unused 'inbuf' variable | Stefan Metzmacher | 5 | -20/+10 | |
metze | |||||
2012-06-05 | s3:libsmb: don't require a pinbuf in cli_smb_recv() to keep the memory | Stefan Metzmacher | 1 | -0/+5 | |
metze | |||||
2012-06-05 | s3: remove dependency on automake for "make everything" | Björn Jacke | 2 | -1/+9 | |
the dependency was introduced by 737a1c9b96a4ba8d8688f4dba1df6d931e10e64d We now call auto* in examples/VFS from within the main autogen.sh. This fixes bug #8978. Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue Jun 5 17:32:22 CEST 2012 on sn-devel-104 | |||||
2012-06-05 | build: Add newlines for clarity | Andrew Bartlett | 1 | -0/+2 | |
2012-06-05 | build: Add test for HAVE_BROKEN_POSIX_FALLOCATE to waf build | Andrew Bartlett | 1 | -0/+13 | |
This was previously only in the autoconf build, added in 3264a98f. Andrew Bartlett | |||||
2012-06-05 | build: Remove unused check for HAVE_UNSIGNED_CHAR | Andrew Bartlett | 1 | -8/+0 | |
BTW, uint8_t check is in libreplace for both build systems. | |||||
2012-06-05 | Tests for bug #8972 - Add permission checks to run_simple_posix_open_test(). | Jeremy Allison | 1 | -0/+27 | |
This requires a share with : create mask = 0777 force create mode = 0 directory mask = 0777 force directory mode = 0 set so we don't mess with requested permissions. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jun 5 08:20:03 CEST 2012 on sn-devel-104 | |||||
2012-06-05 | Tests for bug #8972 - run the POSIX tests against the posix_share. | Jeremy Allison | 1 | -2/+8 | |
2012-06-05 | s3:build(autoconf): fix "no AC_LANG_SOURCE call detected" warnings | Martin Schwenke | 1 | -16/+16 | |
Autoconf 2.68 NEWS says: ** The macros AC_PREPROC_IFELSE, AC_COMPILE_IFELSE, AC_LINK_IFELSE, and AC_RUN_IFELSE now warn if the first argument failed to use AC_LANG_SOURCE or AC_LANG_PROGRAM to generate the conftest file contents. A new macro AC_LANG_DEFINES_PROVIDED exists if you have a compelling reason why you cannot use AC_LANG_SOURCE but must avoid the warning. Signed-off-by: Martin Schwenke <martin@meltin.net> | |||||
2012-06-05 | VERSION: prepare for beta1 by setting and parsing the beta version | Andrew Bartlett | 1 | -0/+4 | |
2012-06-05 | s3-smbd: Remove support for protocols before LANMAN1 | Andrew Bartlett | 2 | -36/+1 | |
This falls out of the removal of security=share, because we now require that a session setup has been performed before (essentially) all other operations. Andrew Bartlett | |||||
2012-06-05 | Fix bug #8972 - Directory group write permission bit is set if unix ↵ | Jeremy Allison | 1 | -2/+4 | |
extensions are enabled We can't manipulate file_attributes if it's a posix call. I'll look at adding a test for this asap. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jun 5 04:26:11 CEST 2012 on sn-devel-104 | |||||
2012-06-03 | s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_send | Luk Claes | 8 | -57/+12 | |
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jun 3 23:37:02 CEST 2012 on sn-devel-104 | |||||
2012-06-03 | s3:smbd: make conn_close_all() a void function | Stefan Metzmacher | 3 | -8/+3 | |
metze | |||||
2012-06-03 | s3:smbd/close: call del_share_mode() directly before TALLOC_FREE(lck) | Stefan Metzmacher | 1 | -5/+15 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jun 3 21:08:19 CEST 2012 on sn-devel-104 | |||||
2012-06-03 | s3:smbd/close: remove unused goto out from close_directory() | Stefan Metzmacher | 1 | -3/+1 | |
metze | |||||
2012-06-03 | s3:smbd/close: do an early return in close_directory() | Stefan Metzmacher | 1 | -2/+1 | |
metze | |||||
2012-06-03 | s3: Fix an assert to trigger in close_remove_share_mode | Stefan Metzmacher | 1 | -6/+17 | |
In case we have a left-over entry in the share mode entry array, the SMB_ASSERT(got_tokens) is likely to kick in. It happens when we are about to delete a file with initial delete on close. We don't have a delete on close token set in the locking.tdb record. We see the fsp->initial_delete_on_close set, add the delete_on_close token to lck. Then "delete_file" is being set to true. Then later on we do the notify_deferred_opens. This walks the list, also checking for share_mode_stale_pid. We have already deleted our own share mode entry, share_mode_stale_pid() sees the left-over entry. It not also deletes that one but also the delete on close token. This leads to a different view of "delete_file" a.k.a. "got_tokens" further down in close_remove_share_mode, leading the SMB_ASSERT to fire. This patch attempts to fix the issue by keeping around our own share mode entry for almost the whole routine, preventing share_mode_stale_pid() from removing the delete tokens. Pair-Programmed-With: Volker Lendecke <vl@samba.org> | |||||
2012-06-03 | s3: Do an early return in close_remove_share_mode | Volker Lendecke | 1 | -2/+1 | |
Without "lck" we don't have much to clean up Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-03 | s3: Make close_remove_share_mode a bit more readable | Volker Lendecke | 1 | -2/+4 | |
by introducing a variable simplifying a boolean expression Signed-off-by: Stefan Metzmacher <metze@samba.org> |