Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-17 | s3: Increase debuglevel for unknown child msgs | Volker Lendecke | 1 | -1/+1 | |
Now that we have forked background jobs, this spams log.smbd | |||||
2012-04-16 | s3:smbd/sesssetup: use a helper variable 'action' to mark guest access | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2012-04-16 | param: Change from _lp to lp__ as the prefix for internal parameter wrappers | Andrew Bartlett | 1 | -2/+2 | |
This will make a merge with the lib/param param code easier, as we can then paste lp_ to the front of all parameters unconditionally. Andrew Bartlett | |||||
2012-04-13 | rely on sys/inotify.h for inotify | Adrian Bunk | 1 | -37/+1 | |
sys/inotify.h was added to glibc 2.4 in 2006. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 13 21:15:00 CEST 2012 on sn-devel-104 | |||||
2012-04-12 | We never cancel SMB1 aio, only SMB2 aio - and in this case we always return ↵ | Jeremy Allison | 1 | -12/+7 | |
a value. So pass_cancel is no longer needed. | |||||
2012-04-12 | Remove cancel_aio_by_fsp(). It can never work and could lead to memory ↵ | Jeremy Allison | 3 | -43/+18 | |
corruption as outstanding IO's complete. Also we never have any aio's on a call to close_normal_file() with close_type ERROR_CLOSE. | |||||
2012-04-12 | Move the counting of outstanding_aio_calls into the lifecycle of the ↵ | Jeremy Allison | 1 | -6/+2 | |
aio_extra struct. This way we can't end up with a mismatch between outstanding events and the counter. We may still have problems with canceling and not correctly freeing the aio struct, but at least the counter won't get out of sync anymore. | |||||
2012-04-12 | s3: Fix a segfault with debug level 3 on Solaris | Volker Lendecke | 1 | -1/+2 | |
printf can not deal with NULL strings | |||||
2012-04-11 | s3:smbd only care about missing level2 support if kernel oplocks are enabled | Christian Ambach | 1 | -4/+10 | |
if kernel oplocks are not enabled for that share, we can grant level2 oplocks Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 11 22:45:21 CEST 2012 on sn-devel-104 | |||||
2012-04-11 | s3:smbd only initialize kernel oplocks if they are enabled for a share | Christian Ambach | 1 | -0/+4 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-04-11 | s3:smbd add seperate function to initialize kernel oplocks | Christian Ambach | 2 | -3/+8 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-04-11 | s3:param convert kernel oplocks to share parameter | Christian Ambach | 1 | -1/+1 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-04-10 | s3: Use talloc_get_size instead of strlen | Volker Lendecke | 1 | -1/+1 | |
We've just talloc_asprintf'ed the fullpath, so talloc_get_size knows the strlen. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 10 13:20:22 CEST 2012 on sn-devel-104 | |||||
2012-04-09 | s3: Move the aio signal init to the vfs module | Volker Lendecke | 2 | -21/+8 | |
On platforms that don't have an RT signal space, signal initialization fails. aio_fork and aio_pthread don't need the signal, so this would block them from running as well. | |||||
2012-04-06 | build: Remove SMB_OFF_T, replace with off_t | Andrew Bartlett | 10 | -90/+90 | |
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104 | |||||
2012-04-05 | s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configure | Andrew Bartlett | 1 | -7/+0 | |
If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett | |||||
2012-04-05 | s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configure | Andrew Bartlett | 1 | -9/+0 | |
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett | |||||
2012-04-05 | s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configure | Andrew Bartlett | 1 | -7/+0 | |
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett | |||||
2012-04-05 | s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configure | Andrew Bartlett | 1 | -8/+0 | |
2012-04-05 | build: Remove SMB_F* locking defines | Andrew Bartlett | 1 | -2/+2 | |
2012-04-05 | build: Remove SMB_STRUCT_DIR define | Andrew Bartlett | 3 | -12/+12 | |
2012-04-05 | build: Remove SMB_STRUCT_DIRENT define | Andrew Bartlett | 1 | -2/+2 | |
2012-04-05 | build: Remove sys_fopen wrapper | Andrew Bartlett | 1 | -1/+1 | |
2012-04-05 | build: Remove sys_open wrapper | Andrew Bartlett | 2 | -3/+3 | |
2012-04-05 | build: #ifdef LARGE_SMB_OFF_T as off_t is now always 64 bits | Andrew Bartlett | 2 | -82/+0 | |
2012-04-05 | Third part of fix for bug #8837 - smbd crashes when deleting directory and ↵ | Jeremy Allison | 1 | -1/+1 | |
veto files are enabled. Use correct check to see if veto files has been enabled. Even if not set lp_veto_files() returns a valid string address (to a '\0' character). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 5 01:36:04 CEST 2012 on sn-devel-104 | |||||
2012-04-04 | Second part of bugfix for bug #8837 - smbd crashes when deleting directory ↵ | Jeremy Allison | 3 | -10/+22 | |
and veto files are enabled. Store the 'struct security_token' as well as the 'struct security_unix_token' inside the locking db when setting a delete on close. | |||||
2012-04-04 | First part of fix for bug 8837 - smbd crashes when deleting directory and ↵ | Jeremy Allison | 2 | -2/+2 | |
veto files are enabled. Add some const to the sec_ctx code. | |||||
2012-04-03 | s3-vfs: Use new smb_load_module for better diagnostics | Andrew Bartlett | 1 | -1/+1 | |
2012-04-03 | s3-smbd: Inline init_modules() into only caller | Andrew Bartlett | 1 | -1/+3 | |
2012-03-29 | Start to add truncate checks on all uses of strlcpy(). Reading lwn | Jeremy Allison | 1 | -1/+3 | |
has it's uses :-). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 29 20:48:15 CEST 2012 on sn-devel-104 | |||||
2012-03-29 | Based on code from Richard Sharpe <realrichardsharpe@gmail.com>, | Jeremy Allison | 1 | -1/+4 | |
ensure we don't crash on a NULL DACL. | |||||
2012-03-28 | Add DEBUG statements to show when access has been denied and why. | Richard Sharpe | 1 | -0/+2 | |
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Wed Mar 28 07:07:26 CEST 2012 on sn-devel-104 | |||||
2012-03-26 | s3: Pass filters explicitly through vfs notify watch | Volker Lendecke | 4 | -12/+16 | |
This removes a dependency on "struct notify_entry" and makes the nature of the API more explicit. We depend upon the VFS module to mask out elements from e->filter and e->subdir_filter that it took over to handle. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Mar 26 17:45:44 CEST 2012 on sn-devel-104 | |||||
2012-03-26 | s3: Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2012-03-26 | s3: Rename a variable in inotify_watch for clarity | Volker Lendecke | 1 | -5/+5 | |
2012-03-26 | s3: Pass "filter" instead of "notify_entry" to inotify_map | Volker Lendecke | 1 | -4/+4 | |
This makes the potential modification a bit more obvious | |||||
2012-03-24 | lib/util: Remove obsolete sys_getpid() and sys_fork(). | Jelmer Vernooij | 8 | -33/+33 | |
The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104 | |||||
2012-03-24 | lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent. | Jelmer Vernooij | 1 | -3/+3 | |
2012-03-23 | s3: Remove the sys_notify dependency from notify_internal | Volker Lendecke | 5 | -63/+37 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 23 12:12:51 CET 2012 on sn-devel-104 | |||||
2012-03-22 | s3:vfs_gpfs: Export disk_norm function | Christof Schmitt | 2 | -1/+2 | |
vfs modules implementing the disk_free callback need access to the function disk_norm for normalizing the data if the parameter small query is true. | |||||
2012-03-22 | s3: Fix smbd -i | Volker Lendecke | 1 | -9/+11 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Mar 22 18:40:02 CET 2012 on sn-devel-104 | |||||
2012-03-22 | s3: Remove an unused structure field | Volker Lendecke | 1 | -2/+0 | |
2012-03-22 | Fix bug 8823 - source3/smbd/process.c:smb_dump seems to have a memory leak. | Jeremy Allison | 1 | -3/+8 | |
Based on code from Richard Sharpe. Move to talloc from malloc. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 22 00:20:41 CET 2012 on sn-devel-104 | |||||
2012-03-21 | s3: Move the notify_ctx to the smbd_server_connection | Volker Lendecke | 4 | -9/+14 | |
We only need one notify_ctx per smbd. The notify_array can become quite large. It's based on absolute paths, so there's no point in having a copy of the complete array in memory multiple times. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Mar 21 14:26:07 CET 2012 on sn-devel-104 | |||||
2012-03-21 | s3: Remove "conn" param from notify_init() | Volker Lendecke | 3 | -11/+5 | |
2012-03-21 | s3: Remove "conn" param from sys_notify_context_create | Volker Lendecke | 3 | -5/+3 | |
2012-03-21 | s3: Remove "conn" from sys_notify_context | Volker Lendecke | 1 | -1/+0 | |
2012-03-21 | s3: Pass "conn" to sys_notify_watch() | Volker Lendecke | 3 | -2/+5 | |
2012-03-21 | s3: Pass "conn" to notify_add() | Volker Lendecke | 3 | -3/+6 | |