summaryrefslogtreecommitdiffstats
path: root/source3/smbd
Commit message (Collapse)AuthorAgeFilesLines
* s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-7/+0
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett
* s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-9/+0
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
* s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-7/+0
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
* s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-8/+0
|
* build: Remove SMB_F* locking definesAndrew Bartlett2012-04-051-2/+2
|
* build: Remove SMB_STRUCT_DIR defineAndrew Bartlett2012-04-053-12/+12
|
* build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett2012-04-051-2/+2
|
* build: Remove sys_fopen wrapperAndrew Bartlett2012-04-051-1/+1
|
* build: Remove sys_open wrapperAndrew Bartlett2012-04-052-3/+3
|
* build: #ifdef LARGE_SMB_OFF_T as off_t is now always 64 bitsAndrew Bartlett2012-04-052-82/+0
|
* Third part of fix for bug #8837 - smbd crashes when deleting directory and ↵Jeremy Allison2012-04-051-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
* Second part of bugfix for bug #8837 - smbd crashes when deleting directory ↵Jeremy Allison2012-04-043-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.
* First part of fix for bug 8837 - smbd crashes when deleting directory and ↵Jeremy Allison2012-04-042-2/+2
| | | | | | veto files are enabled. Add some const to the sec_ctx code.
* s3-vfs: Use new smb_load_module for better diagnosticsAndrew Bartlett2012-04-031-1/+1
|
* s3-smbd: Inline init_modules() into only callerAndrew Bartlett2012-04-031-1/+3
|
* Start to add truncate checks on all uses of strlcpy(). Reading lwnJeremy Allison2012-03-291-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
* Based on code from Richard Sharpe <realrichardsharpe@gmail.com>,Jeremy Allison2012-03-291-1/+4
| | | | ensure we don't crash on a NULL DACL.
* Add DEBUG statements to show when access has been denied and why.Richard Sharpe2012-03-281-0/+2
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Wed Mar 28 07:07:26 CEST 2012 on sn-devel-104
* s3: Pass filters explicitly through vfs notify watchVolker Lendecke2012-03-264-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
* s3: Fix a typoVolker Lendecke2012-03-261-1/+1
|
* s3: Rename a variable in inotify_watch for clarityVolker Lendecke2012-03-261-5/+5
|
* s3: Pass "filter" instead of "notify_entry" to inotify_mapVolker Lendecke2012-03-261-4/+4
| | | | This makes the potential modification a bit more obvious
* lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij2012-03-248-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
* lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent.Jelmer Vernooij2012-03-241-3/+3
|
* s3: Remove the sys_notify dependency from notify_internalVolker Lendecke2012-03-235-63/+37
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 23 12:12:51 CET 2012 on sn-devel-104
* s3:vfs_gpfs: Export disk_norm functionChristof Schmitt2012-03-222-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.
* s3: Fix smbd -iVolker Lendecke2012-03-221-9/+11
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Mar 22 18:40:02 CET 2012 on sn-devel-104
* s3: Remove an unused structure fieldVolker Lendecke2012-03-221-2/+0
|
* Fix bug 8823 - source3/smbd/process.c:smb_dump seems to have a memory leak.Jeremy Allison2012-03-221-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
* s3: Move the notify_ctx to the smbd_server_connectionVolker Lendecke2012-03-214-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
* s3: Remove "conn" param from notify_init()Volker Lendecke2012-03-213-11/+5
|
* s3: Remove "conn" param from sys_notify_context_createVolker Lendecke2012-03-213-5/+3
|
* s3: Remove "conn" from sys_notify_contextVolker Lendecke2012-03-211-1/+0
|
* s3: Pass "conn" to sys_notify_watch()Volker Lendecke2012-03-213-2/+5
|
* s3: Pass "conn" to notify_add()Volker Lendecke2012-03-213-3/+6
|
* s3: Pass "path" through vfs_notify_watchVolker Lendecke2012-03-215-6/+11
|
* s3-notify: Lift "/." handling up one levelVolker Lendecke2012-03-162-15/+9
| | | | | | | This slightly simplifies the code Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 16 14:28:44 CET 2012 on sn-devel-104
* s3-notify: Simplify if-expressionsVolker Lendecke2012-03-161-16/+13
|
* s3:smbd: call file_close_user() before removing tree connects in ↵Stefan Metzmacher2012-03-152-0/+6
| | | | | | | | | | | | conn_close_all() This will help later if we have to handle a SMB2TreeDisconnect different compared to a SMB2SessionLogoff and a TCPDisconnect. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 15 21:56:09 CET 2012 on sn-devel-104
* s3:smbd: let smbd/nmbd/winbindd child processes terminate if the parent ↵Michael Adam2012-03-151-0/+13
| | | | | | | | | | | process died. This applies to all child processes making use of reinit_after_fork(). It is implemented by establishing a pipe between parent and child. The child watches for EOF on the read end of the pipe, indidcating an exited parent. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3: Use talloc_tos() in notify_send()Volker Lendecke2012-03-151-6/+2
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 15 12:43:41 CET 2012 on sn-devel-104
* s3: Fix lock ordering in notify_addVolker Lendecke2012-03-151-13/+15
| | | | | | | It's not necessary to keep the global notify record locked during the inotify and notify_onelevel.tdb operations. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: properly free the notify_onelevel recordVolker Lendecke2012-03-151-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Replace some callers of cluster_id_equalVolker Lendecke2012-03-151-4/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Remove the separate server_id arg to notify_initVolker Lendecke2012-03-153-4/+3
| | | | | | The server_id is tied to the messaging_context Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Fix blank line endingsVolker Lendecke2012-03-151-13/+13
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Mar 15 10:59:46 CET 2012 on sn-devel-104
* s3-printing: Check for browseable too.Andreas Schneider2012-03-141-1/+6
|
* s3:smb2_server: fix a compiler warningChristian Ambach2012-03-141-2/+2
| | | | | Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Wed Mar 14 16:06:48 CET 2012 on sn-devel-104
* s3:smbd: also create ncalrpc/np directory before forking rpc daemonsStefan Metzmacher2012-03-141-0/+13
| | | | | | | | | | After the fixes to directory_create_or_exist(), this should not be needed anymore, but lets try to make autobuild reliable first. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 14 13:44:41 CET 2012 on sn-devel-104
* Second part of fix for bug #7933 - samba fails to honor SEC_STD_WRITE_OWNER ↵Jeremy Allison2012-03-131-4/+6
| | | | | | | | | | | | bit with the acl_xattr module. Error found by Andrew Bartlett <abartlet@samba.org> and Ricky Nance <ricky.nance@weaubleau.k12.mo.us>. Don't use a pointer when you really mean a bool flag. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 13 21:56:15 CET 2012 on sn-devel-104