summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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>
2012-03-22Fix bug 8823 - source3/smbd/process.c:smb_dump seems to have a memory leak.Jeremy Allison1-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-21s3: Move the notify_ctx to the smbd_server_connectionVolker Lendecke5-10/+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-21s3: Remove "conn" param from notify_init()Volker Lendecke3-11/+5
2012-03-21s3: Remove "conn" param from sys_notify_context_createVolker Lendecke3-5/+3
2012-03-21s3: Remove "conn" from sys_notify_contextVolker Lendecke3-3/+1
2012-03-21s3: Pass "conn" to sys_notify_watch()Volker Lendecke3-2/+5
2012-03-21s3: Pass "conn" to notify_add()Volker Lendecke3-3/+6
2012-03-21s3: Pass "path" through vfs_notify_watchVolker Lendecke11-14/+28
2012-03-20libndr: Rename policy_handle_empty to ndr_policy_handle_empty.Jelmer Vernooij1-2/+2
This makes the NDR namespace a bit clearer, in preparation of ABI checking.
2012-03-20libndr: Rename policy_handle_equal to ndr_policy_handle_equal.Jelmer Vernooij1-3/+3
This makes the NDR namespace a bit clearer, in preparation of ABI checking.
2012-03-20libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id so they have a ↵Jelmer Vernooij4-10/+10
ndr_ prefix. This makes the NDR namespace a bit clearer, in preparation of ABI checking.
2012-03-19s3-winbindd Only use SamLogonEx when we can get unencrypted session keysAndrew Bartlett1-2/+2
This ensures that we have some check on the session keys being returned as the RC4 cipher is not checksumed. The check comes from the fact that the credentials chain is tied to the session key, and so if the credentials check passes then the netlogon session key will be correct, and so the user session key will be correctly decrypted. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Mar 19 21:31:46 CET 2012 on sn-devel-104
2012-03-17s3:gse: fix debug message in gse_get_server_auth_token()Stefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Mar 17 03:21:06 CET 2012 on sn-devel-104
2012-03-17Fix second part of bug #8811 - sd_has_inheritable_components segfaults on an ↵Jeremy Allison1-5/+20
SD that se_access_check accepts. This fixes a coredump with a NULL DACL in add_directory_inheritable_components(). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Mar 17 01:05:57 CET 2012 on sn-devel-104
2012-03-16build: Do not use --export-dynamic flag on OpenBSD 5.xAmitay Isaacs1-1/+2
With --export-dynamic flag on OpenBSD 5.x, extra symbols get added in the data segment which causes ABI generation script to fail. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Mar 16 16:04:31 CET 2012 on sn-devel-104
2012-03-16s3-notify: Lift "/." handling up one levelVolker Lendecke2-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
2012-03-16s3-notify: Simplify if-expressionsVolker Lendecke1-16/+13
2012-03-16s3-dbwrap: Move "lock_order" initialization to db_open_xxVolker Lendecke4-6/+8
2012-03-15Make reinit_after_fork_pipe_handler code with reads being interrupted by a ↵Jeremy Allison1-1/+1
signal. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 15 23:29:47 CET 2012 on sn-devel-104
2012-03-15s3:smbd: call file_close_user() before removing tree connects in ↵Stefan Metzmacher2-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
2012-03-15s3:selftest: reactivate the writetimeupdatedelay speed-upMichael Adam1-1/+2
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-03-15s3:smbd: let smbd/nmbd/winbindd child processes terminate if the parent ↵Michael Adam5-0/+92
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>
2012-03-15s3: Use talloc_tos() in notify_send()Volker Lendecke1-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
2012-03-15s3: Fix lock ordering in notify_addVolker Lendecke1-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>
2012-03-15s3: properly free the notify_onelevel recordVolker Lendecke1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-15s3: Replace some callers of cluster_id_equalVolker Lendecke1-4/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-15s3: Remove the separate server_id arg to notify_initVolker Lendecke3-4/+3
The server_id is tied to the messaging_context Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-15s3: Fix blank line endingsVolker Lendecke1-13/+13
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Mar 15 10:59:46 CET 2012 on sn-devel-104
2012-03-15s3: Update waf build to include missed dependancy on Lion.Ira Cooper1-1/+1
Autobuild-User: Ira Cooper <ira@samba.org> Autobuild-Date: Thu Mar 15 07:34:43 CET 2012 on sn-devel-104