summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2012-03-30s3: Avoid a crash with debug level 10Volker Lendecke1-1/+2
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 30 16:52:16 CEST 2012 on sn-devel-104
2012-03-29Start to add truncate checks on all uses of strlcpy(). Reading lwnJeremy Allison1-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-29Based on code from Richard Sharpe <realrichardsharpe@gmail.com>,Jeremy Allison1-1/+4
ensure we don't crash on a NULL DACL.
2012-03-29s3: Fix a valgrind errorVolker Lendecke1-1/+8
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Mar 29 15:50:13 CEST 2012 on sn-devel-104
2012-03-28Add DEBUG statements to show when access has been denied and why.Richard Sharpe1-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-26s3: Pass filters explicitly through vfs notify watchVolker Lendecke10-29/+41
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-26s3: Fix a typoVolker Lendecke1-1/+1
2012-03-26s3: Rename a variable in inotify_watch for clarityVolker Lendecke1-5/+5
2012-03-26s3: Pass "filter" instead of "notify_entry" to inotify_mapVolker Lendecke1-4/+4
This makes the potential modification a bit more obvious
2012-03-26s3-make: Fix build with new smb2_session file.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Mar 26 00:56:13 CEST 2012 on sn-devel-104
2012-03-25smb2: Move smb2cli session setup code to cli_smb_common.Jelmer Vernooij1-207/+0
2012-03-24use usleep rather than sys_usleep in various places, in anticipation of ↵Jelmer Vernooij6-39/+4
usleep moving to libreplace.
2012-03-24lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij45-93/+93
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-24adt_tree: Fix return types.Jelmer Vernooij1-3/+3
2012-03-24s3-waf: Use samba3-util library instead of lots of tiny libs.Jelmer Vernooij1-52/+18
The smaller libraries are currently all trivial in size and don't have any dependencies other than samba-util. Having lots of small private libraries is a pain for packaging, and there isn't much advantage in this.
2012-03-24adt_tree: Avoid WERROR.Jelmer Vernooij3-5/+8
2012-03-24libreplace: Add getpeereid implementation.Jelmer Vernooij5-36/+6
2012-03-24util_malloc: Remove unused constant.Jelmer Vernooij1-3/+0
2012-03-24lib/util: Remove dummy wrapper for getgrgid().Jelmer Vernooij1-3/+3
2012-03-24lib/util: Remove dummy wrapper for getgrnam().Jelmer Vernooij2-2/+2
2012-03-24lib/util: Remove dummy wrapper for getpwuid().Jelmer Vernooij3-6/+6
2012-03-24lib/util: Remove dummy wrapper for getpwnam().Jelmer Vernooij3-5/+5
2012-03-24lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent.Jelmer Vernooij2-4/+4
2012-03-24lib/util: Move calloc_array and memalign_array to top-level libutil.Jelmer Vernooij2-34/+0
2012-03-24cli_pipe: Avoid sys_connect.Jelmer Vernooij1-1/+3
2012-03-24sock_exec: Avoid sys_connect.Jelmer Vernooij1-2/+2
2012-03-24util_sock: Avoid sys_connect.Jelmer Vernooij1-7/+13
2012-03-24ctdb_conn: Avoid sys_connect.Jelmer Vernooij1-1/+3
2012-03-24replace: Move memalign() from lib/util/system.c to libreplace.Jelmer Vernooij1-1/+1
2012-03-23s3: Remove the sys_notify dependency from notify_internalVolker Lendecke5-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-23s3-build: gss_krb5_export_lucid_sec_context is no longer used in the s3 buildAndrew Bartlett1-6/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Mar 23 04:37:36 CET 2012 on sn-devel-104
2012-03-22s3:vfs_gpfs: fix some compiler warningsChristian Ambach2-4/+4
Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Mar 22 20:14:34 CET 2012 on sn-devel-104
2012-03-22s3:vfs_gpfs: remove fallback to linux_setleaseChristian Ambach1-6/+0
if setting the lease in GPFS failed, there is not much sense in trying to set a lease just locally that would not inform us of openers on other cluster nodes
2012-03-22s3:vfs_gpfs: correct use of profiling macrosChristian Ambach1-4/+5
under certain conditions START_PROFILE could have been called, but no END_PROFILE
2012-03-22s3:vfs_gpfs: Implement fallocate callback for GPFSChristof Schmitt3-0/+54
GPFS provides the gpfs_prealloc call. Implement the fallocate callback with mode VFS_FALLOCATE_EXTEND_SIZE using this call. There is no support for VFS_FALLOCATE_KEEP_SIZE, so report this mode as not available.
2012-03-22s3:vfs_gpfs: Report disk space and usage on GPFS share according to quotasChristof Schmitt1-0/+129
When a client requests the information about free space and space used, adjust the reported values according to quotas in the GPFS file system: - Retrieve quotas for the current user, current group and fileset for the top level of the share. - If the soft block quota grace time has expired, report disk as full. - If a hard block quota has been exceeded, report disk as full. - If none of the hard block quotas been exceeded, report share size and free space according to the lowest limits found in the quotas. - If no applicable hard block quota has been set, report the information from the statfs call. This feature is disabled by default and has to be enabled by setting the option gpfs:dfreequota.
2012-03-22s3:vfs_gpfs: add GPFS api calls for quota and free space reportingChristof Schmitt2-0/+80
Add the GPFS api calls for reporting the quotas and free space: - get_gpfs_quota for querying a quota - get_gpfs_fset_id for mapping a path to a fileset id
2012-03-22s3:vfs_gpfs: Export disk_norm functionChristof Schmitt2-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-22s3:client correct a wordingChristian Ambach1-1/+1
2012-03-22s3: Fix smbd -iVolker Lendecke1-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-22s3: Remove an unused structure fieldVolker Lendecke1-2/+0
2012-03-22s3: Add "notify" cmd to smbclientVolker Lendecke1-0/+57
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Mar 22 13:51:50 CET 2012 on sn-devel-104
2012-03-22s3: Add sync cli_notifyVolker Lendecke2-0/+39
2012-03-22s3: Add FILE_NOTIFY_CHANGE_ALL #defineVolker Lendecke1-0/+8
2012-03-22s3-libsmb: Fix parsing a notify responseVolker Lendecke1-1/+1
2012-03-22s3: rename "len"->"next", according to wiresharkVolker Lendecke1-3/+3
2012-03-22s3:vfs_tsmsm: Fix a misspelling of a config parameter in the doc-commentMichael Adam1-1/+1
The module uses "tsmsm:dmapi attribute" instead of "tsmsm:attribute name".
2012-03-22s3-selftest: Remove some unnecessary commaBjörn Baumbach1-2/+2
Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-22s3-selftest: Add samba3.blackbox.net.registry.check to test listBjörn Baumbach1-0/+2
Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-22s3-selftest: introduce new net registry check checkBjörn Baumbach1-0/+146
Add a new check which checks for defects in the net registry check tool. Signed-off-by: Michael Adam <obnox@samba.org>