[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 674f9cc s3:smb2cli: fix marshalling of smb2_create_blobs in smb2cli_create() via 013d2ab s3:smb2cli: don't terminate the pathname in smb2cli_query_directory() via 96a3ec5 s3:smb2cli: don't terminate the pathname in smb2cli_create() via 817bb1f s3:smb2cli: don't terminate the pathname in smb2cli_tcon() via 884a5a6 s3:smb2cli: SMB2_TCON needs one dyn byte to that the structure size check works. via 85b393a s3:smb2cli: SMB2_WRITE needs one dyn byte to that the structure size check works. via 4260903 s3:smb2cli: SMB2_READ needs one dyn byte to that the structure size check works. via fbcba9f s3:smb2cli: SMB2_QUERY_DIRECTORY needs one dyn byte to that the structure size check works. via b57fb1e s3:smb2cli: SMB2_CREATE needs one dyn byte to that the structure size check works. via 35d4afc s3:smb2cli: SMB2_SESSION_SETUP needs one dyn byte to that the structure size check works. from 9646d80 Revert Part 5 of bugfix for bug #7509 - smb_acl_to_posix: ACL is invalid for set (Invalid argument) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 674f9cc1d9f45a955802571936ff275e0444b2ea Author: Stefan Metzmacher me...@samba.org Date: Wed Sep 7 08:15:00 2011 +0200 s3:smb2cli: fix marshalling of smb2_create_blobs in smb2cli_create() metze Autobuild-User: Stefan Metzmacher me...@samba.org Autobuild-Date: Wed Sep 7 10:21:55 CEST 2011 on sn-devel-104 commit 013d2abc75b7d17e8ea22ae1d90c0308f3332ad0 Author: Stefan Metzmacher me...@samba.org Date: Mon Sep 5 18:22:57 2011 +0200 s3:smb2cli: don't terminate the pathname in smb2cli_query_directory() Windows generates NT_STATUS_OBJECT_NAME_INVALID otherwise. metze commit 96a3ec51b40ff6d84d7194dcd5386884f00122bd Author: Stefan Metzmacher me...@samba.org Date: Mon Sep 5 18:22:57 2011 +0200 s3:smb2cli: don't terminate the pathname in smb2cli_create() Windows generates NT_STATUS_OBJECT_NAME_INVALID otherwise. metze commit 817bb1f8f24bb86bcf675a9294169d5320512178 Author: Stefan Metzmacher me...@samba.org Date: Mon Sep 5 18:22:57 2011 +0200 s3:smb2cli: don't terminate the pathname in smb2cli_tcon() Windows generates NT_STATUS_BAD_NETWORK_NAME otherwise. metze commit 884a5a620f06c76c8b800fa5ddfbaf8dce240563 Author: Stefan Metzmacher me...@samba.org Date: Mon Sep 5 18:22:57 2011 +0200 s3:smb2cli: SMB2_TCON needs one dyn byte to that the structure size check works. Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze commit 85b393a199c633acaec68591c2b3940fdb5fbf99 Author: Stefan Metzmacher me...@samba.org Date: Mon Sep 5 18:22:57 2011 +0200 s3:smb2cli: SMB2_WRITE needs one dyn byte to that the structure size check works. Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze commit 42609036be8068a143169cbf18f42b0ac7f6575f Author: Stefan Metzmacher me...@samba.org Date: Mon Sep 5 18:22:57 2011 +0200 s3:smb2cli: SMB2_READ needs one dyn byte to that the structure size check works. Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze commit fbcba9fa8ff3d8b091016ed4e7d60a30703af50c Author: Stefan Metzmacher me...@samba.org Date: Mon Sep 5 18:22:57 2011 +0200 s3:smb2cli: SMB2_QUERY_DIRECTORY needs one dyn byte to that the structure size check works. Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze commit b57fb1e1a4ec286940f1d165f360af62278e5a8f Author: Stefan Metzmacher me...@samba.org Date: Mon Sep 5 18:22:57 2011 +0200 s3:smb2cli: SMB2_CREATE needs one dyn byte to that the structure size check works. Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze commit 35d4afc3e0a364328e5fd1e3789ec18705c2c482 Author: Stefan Metzmacher me...@samba.org Date: Mon Sep 5 18:22:57 2011 +0200 s3:smb2cli: SMB2_SESSION_SETUP needs one dyn byte to that the structure size check works. Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze --- Summary of changes: source3/libsmb/smb2cli_create.c | 23 --- source3/libsmb/smb2cli_query_directory.c | 13 - source3/libsmb/smb2cli_read.c|3 ++- source3/libsmb/smb2cli_session.c | 13 - source3/libsmb/smb2cli_tcon.c| 13 - source3/libsmb/smb2cli_write.c | 13 - 6 files changed, 66 insertions(+), 12 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/libsmb/smb2cli_create.c b/source3/libsmb/smb2cli_create.c index ecb220d..2145ce2 100644 --- a/source3/libsmb/smb2cli_create.c +++ b/source3/libsmb/smb2cli_create.c
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 9bc4dec s3:smb2_server: return OBJECT_NAME_INVALID if the path is terminated in SMB2_FIND/QUERY_DIRECTORY via 1bc93c2 s3:smb2_server: return OBJECT_NAME_INVALID if the path is terminated in SMB2_CREATE via 68b33aa s3:smb2_server: return BAD_NETWORK_NAME if the path is terminated in SMB2_TCON via 1a726b8 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_write.c via 3643a05 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_setinfo.c via f3a8d65 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_read.c via c648036 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_notify.c via a358eee s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_lock.c via 22d479f s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_keepalive.c via 29b3601 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_ioctl.c via 880eafd s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_getinfo.c via 440f702 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_flush.c via bc95ab9 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_find.c via 251815b s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_create.c via e09b394 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_close.c via 9da2f72 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_break.c via 02f7c37 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_tcon.c via d280d9f s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_sesssetup.c via 7ec3a35 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_negprot.c via 6985a13 s3:smb2_server: add smbd_smb2_request_verify_sizes() via fcd0c0e s3:torture: relax TRANS2 midmight time checking via fce8ef6 s4:torture/basic: relax base.trans2 midmight time checking from 674f9cc s3:smb2cli: fix marshalling of smb2_create_blobs in smb2cli_create() http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 9bc4decc1cba701926fc8081c3903aac754a6f51 Author: Stefan Metzmacher me...@samba.org Date: Tue Sep 6 14:14:52 2011 +0200 s3:smb2_server: return OBJECT_NAME_INVALID if the path is terminated in SMB2_FIND/QUERY_DIRECTORY metze Autobuild-User: Stefan Metzmacher me...@samba.org Autobuild-Date: Wed Sep 7 12:15:51 CEST 2011 on sn-devel-104 commit 1bc93c2605e14104237bb100db1d8acb1e7fe389 Author: Stefan Metzmacher me...@samba.org Date: Tue Sep 6 14:14:52 2011 +0200 s3:smb2_server: return OBJECT_NAME_INVALID if the path is terminated in SMB2_CREATE metze commit 68b33aa61ac393c2737969f8449adce3e3096d73 Author: Stefan Metzmacher me...@samba.org Date: Tue Sep 6 14:14:52 2011 +0200 s3:smb2_server: return BAD_NETWORK_NAME if the path is terminated in SMB2_TCON metze commit 1a726b88ec74962d0317740bbdf576ddcffb52bc Author: Stefan Metzmacher me...@samba.org Date: Tue Sep 6 14:01:43 2011 +0200 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_write.c metze commit 3643a05ba63ac5d8466dc8391b5d05efeedb5ac4 Author: Stefan Metzmacher me...@samba.org Date: Tue Sep 6 14:01:43 2011 +0200 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_setinfo.c metze commit f3a8d65bdfe496f080a74eb7104500bd8e2b0179 Author: Stefan Metzmacher me...@samba.org Date: Tue Sep 6 14:01:43 2011 +0200 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_read.c metze commit c6480366e551d1dc683c2648bd897bdc7c1b90df Author: Stefan Metzmacher me...@samba.org Date: Tue Sep 6 14:01:43 2011 +0200 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_notify.c metze commit a358eee2d8670d4a1675e82562fa704fa45a71e6 Author: Stefan Metzmacher me...@samba.org Date: Tue Sep 6 14:01:43 2011 +0200 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_lock.c metze commit 22d479f75794b7c5fcac2fd47fbfd767700507d6 Author: Stefan Metzmacher me...@samba.org Date: Tue Sep 6 14:01:43 2011 +0200 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_keepalive.c metze commit 29b3601c028b8861102b1d988285c78fc17f3b8e Author: Stefan Metzmacher me...@samba.org Date: Tue Sep 6 14:01:43 2011 +0200 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_ioctl.c metze commit 880eafd7e83ba326be7036605179e8de746f4312 Author: Stefan Metzmacher me...@samba.org Date: Tue Sep 6 14:01:43 2011 +0200 s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_getinfo.c metze commit 440f702aa9a020f8cfe13037b7af1ba0dadf86f2 Author: Stefan Metzmacher me...@samba.org Date: Tue Sep 6 14:01:43 2011 +0200 s3:smb2_server: use
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via c640e92 s4-s3-upgrade: convert password age policies to the negative NTTIME format via 6154357 lib/addns: Remove unused TALLOC_ macros via 78c2eca build: Replace mkbuildoptions-waf awk script with waf target via 47f7e3c samba-tool: Add --filter option to ldapcmp to ignore specified attributes via 2fc233b s4-kcc: Fix the list of NCs for DRS replica information from 9bc4dec s3:smb2_server: return OBJECT_NAME_INVALID if the path is terminated in SMB2_FIND/QUERY_DIRECTORY http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit c640e9235fe0af6eb7dd9474807942ffdecbb8c4 Author: Andrew Bartlett abart...@samba.org Date: Wed Sep 7 12:21:00 2011 +1000 s4-s3-upgrade: convert password age policies to the negative NTTIME format This previously caused all accounts to be locked out. Andrew Bartlett Autobuild-User: Andrew Bartlett abart...@samba.org Autobuild-Date: Wed Sep 7 13:44:44 CEST 2011 on sn-devel-104 commit 61543577fa3b7aeaee27800c239f6c78fb74fd26 Author: Andrew Bartlett abart...@samba.org Date: Wed Sep 7 14:43:51 2011 +1000 lib/addns: Remove unused TALLOC_ macros commit 78c2eca811eb4f4303f46ee88fdbe51e220a6c92 Author: Amitay Isaacs ami...@gmail.com Date: Wed Sep 7 17:22:22 2011 +1000 build: Replace mkbuildoptions-waf awk script with waf target commit 47f7e3c525a79586008f14ad3cb2cb3311917524 Author: Amitay Isaacs ami...@gmail.com Date: Tue Sep 6 16:15:04 2011 +1000 samba-tool: Add --filter option to ldapcmp to ignore specified attributes commit 2fc233b78f35e4bc5062869d77985567d61d0f8a Author: Amitay Isaacs ami...@gmail.com Date: Tue Sep 6 16:13:44 2011 +1000 s4-kcc: Fix the list of NCs for DRS replica information AD DNS partitions (DomainDnsZones and ForestDnsZones) are listed under msDs-hasMasterNCs attribute for post-2003 windows servers. --- Summary of changes: buildtools/wafsamba/samba_patterns.py| 174 ++ lib/addns/dns.h | 42 source3/script/mkbuildoptions-waf.awk| 273 -- source3/wscript_build|5 +- source4/dsdb/kcc/kcc_drs_replica_info.c | 24 ++- source4/scripting/python/samba/netcmd/ldapcmp.py | 29 ++- source4/scripting/python/samba/upgrade.py| 29 ++- 7 files changed, 237 insertions(+), 339 deletions(-) delete mode 100644 source3/script/mkbuildoptions-waf.awk Changeset truncated at 500 lines: diff --git a/buildtools/wafsamba/samba_patterns.py b/buildtools/wafsamba/samba_patterns.py index f064608..dc988c5 100644 --- a/buildtools/wafsamba/samba_patterns.py +++ b/buildtools/wafsamba/samba_patterns.py @@ -28,3 +28,177 @@ def SAMBA_MKVERSION(bld, target): always=True) t.env.is_install = bld.is_install Build.BuildContext.SAMBA_MKVERSION = SAMBA_MKVERSION + + +def write_build_options_header(fp): +'''write preamble for build_options.c''' +fp.write(/*\n) +fp.write( Unix SMB/CIFS implementation.\n) +fp.write( Build Options for Samba Suite\n) +fp.write( Copyright (C) Vance Lankhaar vlankh...@linux.ca 2003\n) +fp.write( Copyright (C) Andrew Bartlett abart...@samba.org 2001\n) +fp.write(\n) +fp.write( This program is free software; you can redistribute it and/or modify\n) +fp.write( it under the terms of the GNU General Public License as published by\n) +fp.write( the Free Software Foundation; either version 3 of the License, or\n) +fp.write( (at your option) any later version.\n) +fp.write(\n) +fp.write( This program is distributed in the hope that it will be useful,\n) +fp.write( but WITHOUT ANY WARRANTY; without even the implied warranty of\n) +fp.write( MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n) +fp.write( GNU General Public License for more details.\n) +fp.write(\n) +fp.write( You should have received a copy of the GNU General Public License\n) +fp.write( along with this program; if not, see http://www.gnu.org/licenses/.\n) +fp.write(*/\n) +fp.write(\n) +fp.write(#include \includes.h\\n) +fp.write(#include \build_env.h\\n) +fp.write(#include \dynconfig/dynconfig.h\\n) +fp.write(\n) +fp.write(static int output(bool screen, const char *format, ...) PRINTF_ATTRIBUTE(2,3);\n) +fp.write(void build_options(bool screen);\n) +fp.write(\n) +fp.write(\n) + fp.write(/\n) +fp.write(helper function for build_options\n) + fp.write(/\n) +fp.write(static int output(bool screen,
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 0aa5587 s3:idmap/autorid add a small alloc pool to autorid from c640e92 s4-s3-upgrade: convert password age policies to the negative NTTIME format http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 0aa558718ad7427ee8b02046da73eea1838a5a32 Author: Christian Ambach a...@samba.org Date: Wed Aug 31 18:28:51 2011 +0200 s3:idmap/autorid add a small alloc pool to autorid this is needed to allocate gids for BUILTIN\Users and BUILTIN\Administrators gids are stored at the start of the first domain as RIDs start with values over 500, we have some room there so we do not need to allocate a range Autobuild-User: Christian Ambach a...@samba.org Autobuild-Date: Wed Sep 7 15:15:09 CEST 2011 on sn-devel-104 --- Summary of changes: source3/winbindd/idmap_autorid.c | 52 ++ 1 files changed, 52 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/winbindd/idmap_autorid.c b/source3/winbindd/idmap_autorid.c index a60f926..85ddca2 100644 --- a/source3/winbindd/idmap_autorid.c +++ b/source3/winbindd/idmap_autorid.c @@ -35,6 +35,8 @@ #define DBGC_CLASS DBGC_IDMAP #define HWM NEXT RANGE +#define ALLOC_HWM NEXT ALLOC ID +#define ALLOC_POOL_SIZE 500 #define CONFIGKEY CONFIG struct autorid_global_config { @@ -361,6 +363,17 @@ static NTSTATUS idmap_autorid_db_init(void) } } + /* Initialize high water mark for alloc pool to 0 */ + hwm = dbwrap_fetch_int32(autorid_db, ALLOC_HWM); + if ((hwm 0)) { + if (!NT_STATUS_IS_OK + (dbwrap_trans_store_int32(autorid_db, ALLOC_HWM, 0))) { + DEBUG(0, + (Unable to initialise HWM in autorid + database\n)); + return NT_STATUS_INTERNAL_DB_ERROR; + } + } return NT_STATUS_OK; } @@ -542,6 +555,44 @@ done: return status; } +static NTSTATUS idmap_autorid_allocate_id(struct idmap_domain *dom, + struct unixid *xid) { + + struct autorid_global_config *globalcfg; + NTSTATUS ret; + uint32_t hwm; + + if (!strequal(dom-name, *)) { + DEBUG(3, (idmap_autorid_allocate_id: + Refusing creation of mapping for domain'%s'. + Currently only supported for the default + domain \*\.\n, + dom-name)); + return NT_STATUS_NOT_IMPLEMENTED; + } + + globalcfg = talloc_get_type(dom-private_data, + struct autorid_global_config); + + if (!dbwrap_fetch_uint32(autorid_db, ALLOC_HWM, hwm)) { + DEBUG(1, (Failed to fetch current allocation HWM value!\n)); + return NT_STATUS_INTERNAL_ERROR; + } + + if (hwm ALLOC_POOL_SIZE) { + DEBUG(1, (allocation pool is depleted!\n)); + return NT_STATUS_NO_MEMORY; + } + + ret = dbwrap_change_uint32_atomic(autorid_db, ALLOC_HWM, (xid-id), 1); + if (!NT_STATUS_IS_OK(ret)) { + DEBUG(1, (Fatal error while allocating new ID!\n)); + } + xid-id = (xid-id)+(globalcfg-minvalue); + + return ret; +} + /* Close the idmap tdb instance */ @@ -549,6 +600,7 @@ static struct idmap_methods autorid_methods = { .init = idmap_autorid_initialize, .unixids_to_sids = idmap_autorid_unixids_to_sids, .sids_to_unixids = idmap_autorid_sids_to_unixids, + .allocate_id = idmap_autorid_allocate_id }; NTSTATUS idmap_autorid_init(void) -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 4ee613b talloc: Remove an unused variable from 0aa5587 s3:idmap/autorid add a small alloc pool to autorid http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 4ee613ba64cd49667ce934331a5fd8fae67c6795 Author: Volker Lendecke v...@samba.org Date: Wed Sep 7 14:36:39 2011 +0200 talloc: Remove an unused variable Autobuild-User: Volker Lendecke vlen...@samba.org Autobuild-Date: Wed Sep 7 16:47:26 CEST 2011 on sn-devel-104 --- Summary of changes: lib/talloc/talloc.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/lib/talloc/talloc.c b/lib/talloc/talloc.c index 19e6a37..5ea0791 100644 --- a/lib/talloc/talloc.c +++ b/lib/talloc/talloc.c @@ -1248,7 +1248,6 @@ static inline void _talloc_free_children_internal(struct talloc_chunk *tc, final choice is the null context. */ void *child = TC_PTR_FROM_CHUNK(tc-child); const void *new_parent = null_context; - struct talloc_chunk *old_parent = NULL; if (unlikely(tc-child-refs)) { struct talloc_chunk *p = talloc_parent_chunk(tc-child-refs); if (p) new_parent = TC_PTR_FROM_CHUNK(p); -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 9005e0f s3:smb2cli: let smb2cli_req_create() use the give pid, uid and tid values via 2ec0634 s3:smb2cli: pass the uid to the SMB2_SESSION_SETUP to support multi-leg-auth from 4ee613b talloc: Remove an unused variable http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 9005e0f7b36771df0da96764841a32d5a1627aca Author: Stefan Metzmacher me...@samba.org Date: Wed Sep 7 15:59:05 2011 +0200 s3:smb2cli: let smb2cli_req_create() use the give pid, uid and tid values metze Autobuild-User: Stefan Metzmacher me...@samba.org Autobuild-Date: Wed Sep 7 18:19:43 CEST 2011 on sn-devel-104 commit 2ec0634f288929fb43fe379cda8e15a8bc028677 Author: Stefan Metzmacher me...@samba.org Date: Wed Aug 31 00:32:48 2011 +0200 s3:smb2cli: pass the uid to the SMB2_SESSION_SETUP to support multi-leg-auth metze --- Summary of changes: source3/libsmb/smb2cli_base.c|6 +++--- source3/libsmb/smb2cli_session.c |3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/libsmb/smb2cli_base.c b/source3/libsmb/smb2cli_base.c index 7f4b176..5089aa9 100644 --- a/source3/libsmb/smb2cli_base.c +++ b/source3/libsmb/smb2cli_base.c @@ -219,9 +219,9 @@ struct tevent_req *smb2cli_req_create(TALLOC_CTX *mem_ctx, SSVAL(state-hdr, SMB2_HDR_OPCODE, cmd); SSVAL(state-hdr, SMB2_HDR_CREDIT, 31); SIVAL(state-hdr, SMB2_HDR_FLAGS, flags); - SIVAL(state-hdr, SMB2_HDR_PID, cli-smb2.pid); - SIVAL(state-hdr, SMB2_HDR_TID, cli-smb2.tid); - SBVAL(state-hdr, SMB2_HDR_SESSION_ID, cli-smb2.uid); + SIVAL(state-hdr, SMB2_HDR_PID, pid); + SIVAL(state-hdr, SMB2_HDR_TID, tid); + SBVAL(state-hdr, SMB2_HDR_SESSION_ID, uid); return req; } diff --git a/source3/libsmb/smb2cli_session.c b/source3/libsmb/smb2cli_session.c index 0fd91a8..4ffdf13 100644 --- a/source3/libsmb/smb2cli_session.c +++ b/source3/libsmb/smb2cli_session.c @@ -76,7 +76,8 @@ static struct tevent_req *smb2cli_sesssetup_blob_send(TALLOC_CTX *mem_ctx, subreq = smb2cli_req_send(state, ev, cli, SMB2_OP_SESSSETUP, 0, 0, /* flags */ cli-smb2.pid, - 0, 0, /* tid, uid */ + 0, /* tid */ + cli-smb2.uid, state-fixed, sizeof(state-fixed), dyn, dyn_len); if (tevent_req_nomem(subreq, req)) { -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 14876e6 s3: Fix Coverity ID 2611, UNINIT via 74cddde s3: Fix Coverity ID 2612, UNINIT from 9005e0f s3:smb2cli: let smb2cli_req_create() use the give pid, uid and tid values http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 14876e65eab7bc0b4b00782cbd936e46bd3f3d0d Author: Volker Lendecke v...@samba.org Date: Wed Sep 7 18:08:50 2011 +0200 s3: Fix Coverity ID 2611, UNINIT Autobuild-User: Volker Lendecke vlen...@samba.org Autobuild-Date: Wed Sep 7 19:47:49 CEST 2011 on sn-devel-104 commit 74cdddea1b6bc7714ffb98ed6cfa224e0b7014ca Author: Volker Lendecke v...@samba.org Date: Wed Sep 7 18:07:36 2011 +0200 s3: Fix Coverity ID 2612, UNINIT --- Summary of changes: source3/registry/reg_backend_db.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 88e234e..bac075a 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -1792,6 +1792,7 @@ static NTSTATUS regdb_store_values_internal(struct db_context *db, } keystr = normalize_reg_path(ctx, keystr); if (!keystr) { + status = NT_STATUS_NO_MEMORY; goto done; } @@ -1907,6 +1908,7 @@ static NTSTATUS regdb_set_secdesc_action(struct db_context *db, tdbkey = talloc_asprintf(frame, %s\\%s, REG_SECDESC_PREFIX, ctx-key); if (tdbkey == NULL) { + status = NT_STATUS_NO_MEMORY; goto done; } -- Samba Shared Repository
autobuild: intermittent test failure detected
The autobuild test system has detected an intermittent failing test in the current master tree. The autobuild log of the failure is available here: http://git.samba.org/autobuild.flakey/2011-09-07-2103/flakey.log The samba3 build logs are available here: http://git.samba.org/autobuild.flakey/2011-09-07-2103/samba3.stderr http://git.samba.org/autobuild.flakey/2011-09-07-2103/samba3.stdout The source4 build logs are available here: http://git.samba.org/autobuild.flakey/2011-09-07-2103/samba4.stderr http://git.samba.org/autobuild.flakey/2011-09-07-2103/samba4.stdout The top commit at the time of the failure was: commit 14876e65eab7bc0b4b00782cbd936e46bd3f3d0d Author: Volker Lendecke v...@samba.org Date: Wed Sep 7 18:08:50 2011 +0200 s3: Fix Coverity ID 2611, UNINIT Autobuild-User: Volker Lendecke vlen...@samba.org Autobuild-Date: Wed Sep 7 19:47:49 CEST 2011 on sn-devel-104
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 8745c70 s3:winbind: put winbindd_cache into the state dir, not the cache dir via 350d8e5 s3:dbwrap_ctdb: improve error message in transaction destructor via 9c02524 s3: let g_lock_unlock() return more specific status codes on failure from 14876e6 s3: Fix Coverity ID 2611, UNINIT http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 8745c70dfab058d609bc0ec88561ac62e1317e50 Author: Michael Adam ob...@samba.org Date: Wed Sep 7 17:38:42 2011 +0200 s3:winbind: put winbindd_cache into the state dir, not the cache dir Despite the name, in winbind offline logon mode, this is a database that contains valuable information and should not be cleared. Autobuild-User: Michael Adam ob...@samba.org Autobuild-Date: Wed Sep 7 21:17:37 CEST 2011 on sn-devel-104 commit 350d8e56db2dcc7030dc573f56d5d4a32510b757 Author: Gregor Beck gb...@sernet.de Date: Mon Sep 5 17:07:37 2011 +0200 s3:dbwrap_ctdb: improve error message in transaction destructor Signed-off-by: Michael Adam ob...@samba.org commit 9c0252446fe97c037c9af9b8b0bea5f5b86d45e8 Author: Gregor Beck gb...@sernet.de Date: Wed Aug 31 10:19:18 2011 +0200 s3: let g_lock_unlock() return more specific status codes on failure Signed-off-by: Michael Adam ob...@samba.org --- Summary of changes: source3/lib/dbwrap/dbwrap_ctdb.c |3 ++- source3/lib/g_lock.c |4 ++-- source3/winbindd/winbindd_cache.c |2 +- 3 files changed, 5 insertions(+), 4 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index 3233253..429f542 100644 --- a/source3/lib/dbwrap/dbwrap_ctdb.c +++ b/source3/lib/dbwrap/dbwrap_ctdb.c @@ -329,7 +329,8 @@ static int db_ctdb_transaction_destructor(struct db_ctdb_transaction_handle *h) status = g_lock_unlock(h-ctx-lock_ctx, h-lock_name); if (!NT_STATUS_IS_OK(status)) { - DEBUG(0, (g_lock_unlock failed: %s\n, nt_errstr(status))); + DEBUG(0, (g_lock_unlock failed for %s: %s\n, h-lock_name, + nt_errstr(status))); return -1; } return 0; diff --git a/source3/lib/g_lock.c b/source3/lib/g_lock.c index bed3ec1..308e5cf 100644 --- a/source3/lib/g_lock.c +++ b/source3/lib/g_lock.c @@ -523,7 +523,7 @@ static NTSTATUS g_lock_force_unlock(struct g_lock_ctx *ctx, const char *name, if (!g_lock_parse(talloc_tos(), rec-value, num_locks, locks)) { DEBUG(10, (g_lock_parse for %s failed\n, name)); - status = NT_STATUS_INTERNAL_ERROR; + status = NT_STATUS_FILE_INVALID; goto done; } @@ -535,7 +535,7 @@ static NTSTATUS g_lock_force_unlock(struct g_lock_ctx *ctx, const char *name, if (i == num_locks) { DEBUG(10, (g_lock_force_unlock: Lock not found\n)); - status = NT_STATUS_INTERNAL_ERROR; + status = NT_STATUS_NOT_FOUND; goto done; } diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index ec5f9e7..323c0b9 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -3106,7 +3106,7 @@ bool init_wcache(void) return true; /* when working offline we must not clear the cache on restart */ - wcache-tdb = tdb_open_log(cache_path(winbindd_cache.tdb), + wcache-tdb = tdb_open_log(state_path(winbindd_cache.tdb), WINBINDD_CACHE_TDB_DEFAULT_HASH_SIZE, TDB_INCOMPATIBLE_HASH | (lp_winbind_offline_logon() ? TDB_DEFAULT : (TDB_DEFAULT | TDB_CLEAR_IF_FIRST)), -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 600451d Fix bug #8442 - NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking renames. from 8745c70 s3:winbind: put winbindd_cache into the state dir, not the cache dir http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 600451da33728cbd377b122c85cf146f5b319998 Author: Ira Cooper i...@wakeful.net Date: Wed Sep 7 12:24:22 2011 -0700 Fix bug #8442 - NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking renames. Thanks to Youzhong Yang for discovering this issue. Autobuild-User: Jeremy Allison j...@samba.org Autobuild-Date: Wed Sep 7 22:56:06 CEST 2011 on sn-devel-104 --- Summary of changes: source3/modules/nfs4_acls.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c index 041aee2..e94abac 100644 --- a/source3/modules/nfs4_acls.c +++ b/source3/modules/nfs4_acls.c @@ -339,7 +339,13 @@ static bool smbacl4_nfs42win(TALLOC_CTX *mem_ctx, SMB4ACL_T *theacl, /* in */ /* Windows clients expect SYNC on acls to correctly allow rename. See bug #7909. */ - mask = ace-aceMask | SMB_ACE4_SYNCHRONIZE; + if(ace-aceType SMB_ACE4_ACCESS_DENIED_ACE_TYPE) { + /* But not on DENY ace entries. See + bug #8442. */ + mask = ace-aceMask; + } else { + mask = ace-aceMask | SMB_ACE4_SYNCHRONIZE; + } init_sec_ace(nt_ace_list[good_aces++], sid, ace-aceType, mask, win_ace_flags); -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 4240509 samba-tool: Avoid use of except .. as construction introduced in python2.6. from 600451d Fix bug #8442 - NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking renames. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 4240509ebf92e53041cb8eb971802aa4d3ad8d70 Author: Jelmer Vernooij jel...@samba.org Date: Wed Sep 7 20:31:05 2011 +0200 samba-tool: Avoid use of except .. as construction introduced in python2.6. Autobuild-User: Jelmer Vernooij jel...@samba.org Autobuild-Date: Thu Sep 8 00:34:22 CEST 2011 on sn-devel-104 --- Summary of changes: source4/scripting/bin/samba-tool |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/source4/scripting/bin/samba-tool b/source4/scripting/bin/samba-tool index c24c0e3..7d66230 100755 --- a/source4/scripting/bin/samba-tool +++ b/source4/scripting/bin/samba-tool @@ -23,7 +23,8 @@ import sys sys.path.insert(0, bin/python) from samba import netcmd -from samba.netcmd import Command, CommandError, Option +from samba.netcmd import Command, CommandError + class MainCommand(Command): Main class for samba tool commands @@ -73,5 +74,5 @@ if __name__ == '__main__': try: retval = cmd._run(samba-tool, command, *args) sys.exit(retval) -except Exception as e: +except Exception, e: cmd.show_command_error(e) -- Samba Shared Repository
autobuild: intermittent test failure detected
The autobuild test system has detected an intermittent failing test in the current master tree. The autobuild log of the failure is available here: http://git.samba.org/autobuild.flakey/2011-09-08-0126/flakey.log The samba3 build logs are available here: http://git.samba.org/autobuild.flakey/2011-09-08-0126/samba3.stderr http://git.samba.org/autobuild.flakey/2011-09-08-0126/samba3.stdout The source4 build logs are available here: http://git.samba.org/autobuild.flakey/2011-09-08-0126/samba4.stderr http://git.samba.org/autobuild.flakey/2011-09-08-0126/samba4.stdout The top commit at the time of the failure was: commit 600451da33728cbd377b122c85cf146f5b319998 Author: Ira Cooper i...@wakeful.net Date: Wed Sep 7 12:24:22 2011 -0700 Fix bug #8442 - NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking renames. Thanks to Youzhong Yang for discovering this issue. Autobuild-User: Jeremy Allison j...@samba.org Autobuild-Date: Wed Sep 7 22:56:06 CEST 2011 on sn-devel-104
[SCM] CTDB repository - branch 1.2 updated - ctdb-1.9.1-480-gfb198cb
The branch, 1.2 has been updated via fb198cb9ddd4b5a1303a16c6a1f6102e35a71af5 (commit) from 9bdc5e5b2a00f3846a0d08d04fcf0c4be7689495 (commit) http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=1.2 - Log - commit fb198cb9ddd4b5a1303a16c6a1f6102e35a71af5 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Thu Sep 8 09:28:33 2011 +1000 Drop loglevel for a tevent message from FATAL to ERROR CQ S1028400 --- Summary of changes: lib/tevent/tevent_util.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/lib/tevent/tevent_util.c b/lib/tevent/tevent_util.c index 28c9da3..54c1787 100644 --- a/lib/tevent/tevent_util.c +++ b/lib/tevent/tevent_util.c @@ -107,7 +107,7 @@ void tevent_before_wait(struct event_context *ev) { if (!tevent_timeval_is_zero(tevent_after_wait_ts)) { diff = tevent_timeval_until(tevent_after_wait_ts, now); if (diff.tv_sec 3) { - tevent_debug(ev, TEVENT_DEBUG_FATAL, __location__ + tevent_debug(ev, TEVENT_DEBUG_ERROR, __location__ Handling event took %d seconds!, (int) diff.tv_sec); } -- CTDB repository
[SCM] CTDB repository - branch master updated - ctdb-1.11-8-ga3e8784
The branch, master has been updated via a3e8784bb107f7acd2a95913c1e6def52ce96105 (commit) via 9abf9c919a7e6789695490e2c3de56c21b63fa57 (commit) via cd33bbe6454b7b0316bdfffbd06c67b29779e873 (commit) from 32320ee278d1eec9aef18b400c0ddaa445d4211e (commit) http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=master - Log - commit a3e8784bb107f7acd2a95913c1e6def52ce96105 Merge: 32320ee278d1eec9aef18b400c0ddaa445d4211e 9abf9c919a7e6789695490e2c3de56c21b63fa57 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Tue Sep 6 17:29:30 2011 +1000 Merge branch 'master' of 10.1.1.27:/shared/ctdb/ctdb-master commit 9abf9c919a7e6789695490e2c3de56c21b63fa57 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Tue Sep 6 17:02:19 2011 +1000 Interface monitoring: add a event to trigger every 30 seconds to check that all interfaces referenced by the public address list actually exists. This will make it much easier to root-cause problems such as S1029023 when an external application deleted the interface while it is still is in use by ctdbd. commit cd33bbe6454b7b0316bdfffbd06c67b29779e873 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Tue Sep 6 16:11:00 2011 +1000 Check interfaces: when reading the public addresses file to create the vnn list check that the actual interface exist, print error and fail startup if the interface does not exist. --- Summary of changes: common/system_aix.c|4 +++ common/system_common.c |2 + common/system_linux.c | 22 ++ include/ctdb_private.h |2 + server/ctdb_takeover.c | 58 5 files changed, 88 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/common/system_aix.c b/common/system_aix.c index 5fe5413..1404a82 100644 --- a/common/system_aix.c +++ b/common/system_aix.c @@ -357,4 +357,8 @@ int ctdb_sys_read_tcp_packet(int s, void *private_data, } +bool ctdb_sys_check_iface_exists(const char *iface) +{ + return true; +} diff --git a/common/system_common.c b/common/system_common.c index f28045f..3fe90e6 100644 --- a/common/system_common.c +++ b/common/system_common.c @@ -73,3 +73,5 @@ bool ctdb_sys_have_ip(ctdb_sock_addr *_addr) close(s); return ret == 0; } + + diff --git a/common/system_linux.c b/common/system_linux.c index a498ab2..2dcdffb 100644 --- a/common/system_linux.c +++ b/common/system_linux.c @@ -537,3 +537,25 @@ int ctdb_sys_read_tcp_packet(int s, void *private_data, } +bool ctdb_sys_check_iface_exists(const char *iface) +{ + int s; + struct ifreq ifr; + + s = socket(PF_PACKET, SOCK_RAW, 0); + if (s == -1){ + /* We dont know if the interface exists, so assume yes */ + DEBUG(DEBUG_CRIT,(__location__ failed to open raw socket\n)); + return true; + } + + strncpy(ifr.ifr_name, iface, sizeof(ifr.ifr_name)); + if (ioctl(s, SIOCGIFINDEX, ifr) 0 errno == ENODEV) { + DEBUG(DEBUG_CRIT,(__location__ interface '%s' not found\n, iface)); + close(s); + return false; + } + close(s); + + return true; +} diff --git a/include/ctdb_private.h b/include/ctdb_private.h index b24efcc..b74cbcf 100644 --- a/include/ctdb_private.h +++ b/include/ctdb_private.h @@ -414,6 +414,7 @@ struct ctdb_context { uint32_t recovery_mode; TALLOC_CTX *tickle_update_context; TALLOC_CTX *keepalive_ctx; + TALLOC_CTX *check_public_ifaces_ctx; struct ctdb_tunable tunable; enum ctdb_freeze_mode freeze_mode[NUM_DB_PRIORITIES+1]; struct ctdb_freeze_handle *freeze_handles[NUM_DB_PRIORITIES+1]; @@ -,6 +1112,7 @@ int ctdb_ctrl_set_iface_link(struct ctdb_context *ctdb, uint32_t uint16_checksum(uint16_t *data, size_t n); int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface); bool ctdb_sys_have_ip(ctdb_sock_addr *addr); +bool ctdb_sys_check_iface_exists(const char *iface); int ctdb_sys_send_tcp(const ctdb_sock_addr *dest, const ctdb_sock_addr *src, uint32_t seq, uint32_t ack, int rst); diff --git a/server/ctdb_takeover.c b/server/ctdb_takeover.c index 1e2e829..4114b40 100644 --- a/server/ctdb_takeover.c +++ b/server/ctdb_takeover.c @@ -880,6 +880,16 @@ static int ctdb_add_public_address(struct ctdb_context *ctdb, int i; int ret; + tmp = talloc_strdup(vnn, ifaces); + for (iface = strtok(tmp, ,); iface; iface = strtok(NULL, ,)) { + if (!ctdb_sys_check_iface_exists(iface)) { + DEBUG(DEBUG_CRIT,(Interface %s does not exist. Can not add public-address : %s\n, iface, ctdb_addr_to_str(addr))); + talloc_free(tmp); +
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 7800a50 s4-provision: Fill msDS-NC-Replica-Locations attribute in DNS provisioning via c212abe s4-provision: Make DNS entries consistent with dns_update script via 4b5ebfc s4-provision: Reworked DNS provisioning to support AD DNS schema via b36e9de s4-provision: LDIF files to set up AD DNS schema via 595b9c4 s4-provision: Add DNS backend option to provision via 92169e9 s4-provision: exit is not imported directed, use sys.exit via 14664fa s4-provision: Extract dns account creation as separate ldif from 4240509 samba-tool: Avoid use of except .. as construction introduced in python2.6. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 7800a501cda683a3b8d78b952740d7131515806c Author: Amitay Isaacs ami...@gmail.com Date: Tue Sep 6 16:22:45 2011 +1000 s4-provision: Fill msDS-NC-Replica-Locations attribute in DNS provisioning This attribute is required by the hosting requirement. [MS_ADTS].pdf 7.1.2.3.1 DC and Application NC Replica Signed-off-by: Andrew Bartlett abart...@samba.org Autobuild-User: Andrew Bartlett abart...@samba.org Autobuild-Date: Thu Sep 8 02:04:51 CEST 2011 on sn-devel-104 commit c212abe83fdc5066f210db1fde4e30f7b2e57e62 Author: Amitay Isaacs ami...@gmail.com Date: Mon Sep 5 16:19:37 2011 +1000 s4-provision: Make DNS entries consistent with dns_update script Signed-off-by: Andrew Bartlett abart...@samba.org commit 4b5ebfc5ff812443b2db1ee58858d9e4e169c82b Author: Amitay Isaacs ami...@gmail.com Date: Mon Sep 5 16:19:02 2011 +1000 s4-provision: Reworked DNS provisioning to support AD DNS schema This changes configure DNS partitions used by AD DNS and populate with relevant entries. This has an advantage that Windows can replicate these partitions and set up dns server using them. In addition, these partitions are used by bind9_dlz module to query zone information directly and do not need to create text database for dynamic zones. Signed-off-by: Andrew Bartlett abart...@samba.org commit b36e9de8634e0fa2476411f538b73a36d1d58bd3 Author: Amitay Isaacs ami...@gmail.com Date: Mon Sep 5 16:11:57 2011 +1000 s4-provision: LDIF files to set up AD DNS schema This files set up DomainDnsZones and ForestDnsZones partitions and other configuration parameters for replication. Signed-off-by: Andrew Bartlett abart...@samba.org commit 595b9c4cc6a8a4937aff119583dd114092c04ccc Author: Amitay Isaacs ami...@gmail.com Date: Mon Sep 5 16:09:59 2011 +1000 s4-provision: Add DNS backend option to provision This option is introduced temporarily to test bind9 backend with and without dlz_dlopen module. Signed-off-by: Andrew Bartlett abart...@samba.org commit 92169e9debd955bda8f9f776954b750812bdf519 Author: Amitay Isaacs ami...@gmail.com Date: Mon Sep 5 15:52:53 2011 +1000 s4-provision: exit is not imported directed, use sys.exit Signed-off-by: Andrew Bartlett abart...@samba.org commit 14664fac34bbf0b7b10551a7a781ef2caf1cf779 Author: Amitay Isaacs ami...@gmail.com Date: Mon Sep 5 15:48:27 2011 +1000 s4-provision: Extract dns account creation as separate ldif MicrosoftDNS container and LDAP entries for root servers will be added by sambadns.py directly. Signed-off-by: Andrew Bartlett abart...@samba.org --- Summary of changes: .../scripting/python/samba/provision/__init__.py | 10 +- .../scripting/python/samba/provision/sambadns.py | 558 +++ source4/setup/provision|6 +- source4/setup/provision_configuration.ldif |2 +- source4/setup/provision_dns_accounts_add.ldif | 12 + source4/setup/provision_dns_add.ldif | 92 source4/setup/provision_dnszones_add.ldif | 77 +++ source4/setup/provision_dnszones_modify.ldif | 36 ++ source4/setup/provision_dnszones_partitions.ldif | 16 + source4/setup/provision_self_join.ldif |4 +- 10 files changed, 595 insertions(+), 218 deletions(-) create mode 100644 source4/setup/provision_dns_accounts_add.ldif delete mode 100644 source4/setup/provision_dns_add.ldif create mode 100644 source4/setup/provision_dnszones_add.ldif create mode 100644 source4/setup/provision_dnszones_modify.ldif create mode 100644 source4/setup/provision_dnszones_partitions.ldif Changeset truncated at 500 lines: diff --git a/source4/scripting/python/samba/provision/__init__.py b/source4/scripting/python/samba/provision/__init__.py index 61d016c..9c28157 100644 --- a/source4/scripting/python/samba/provision/__init__.py +++ b/source4/scripting/python/samba/provision/__init__.py @@ -1518,7 +1518,8 @@ def
[SCM] CTDB repository - branch master updated - ctdb-1.11-19-g3ce1d3d
The branch, master has been updated via 3ce1d3d6c8b8fd3097b8efd2c75797ed7682a562 (commit) via 7bebfc7bad8f36e54003b8e25372fdaf54836e21 (commit) via 2165a6f5117a71f9f97f46be9708fa34c037e17c (commit) via b6fb81aadc451df47c0c3c038e6165f0eac2 (commit) via 80ad2979804f5bba29020ace46e114a45fa6cb66 (commit) via 137b498c75c55c966999cd788f12ed9010cfed3a (commit) via 28df6fbf1273b8d095a2bc38dca6a6c35c5c31bd (commit) via fe7f69d6fc37661c2f1caa11de4ed3a7940d0a2f (commit) via 3885141f37724b3dea61b45fbac38489ec356588 (commit) via 9e178671560cb95121e11d718a76b05380ecd6c5 (commit) via 0634d0305f42f17048b6830733767e8dc300e11c (commit) from a3e8784bb107f7acd2a95913c1e6def52ce96105 (commit) http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=master - Log - commit 3ce1d3d6c8b8fd3097b8efd2c75797ed7682a562 Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Thu Sep 8 09:28:33 2011 +1000 Drop loglevel for a tevent message from FATAL to ERROR CQ S1028400 commit 7bebfc7bad8f36e54003b8e25372fdaf54836e21 Merge: a3e8784bb107f7acd2a95913c1e6def52ce96105 2165a6f5117a71f9f97f46be9708fa34c037e17c Author: Ronnie Sahlberg ronniesahlb...@gmail.com Date: Thu Sep 8 11:22:53 2011 +1000 Merge remote branch 'ddiss/master_pmda_and_client_timeouts' commit 2165a6f5117a71f9f97f46be9708fa34c037e17c Author: David Disseldorp dd...@suse.de Date: Fri Sep 2 17:34:19 2011 +0200 pmda: handle struct latency_counter and add num_recoveries Rebase the CTDB PMDA from 1.0.114 to master: - Add tevent and ctdb_protocol includes - Handle latency metrics now stored under struct latency_counter - Add new metric for the num_recoveries counter commit b6fb81aadc451df47c0c3c038e6165f0eac2 Author: David Disseldorp dd...@suse.de Date: Fri Sep 2 17:43:13 2011 +0200 pmda: document in README how to add a new metric commit 80ad2979804f5bba29020ace46e114a45fa6cb66 Author: David Disseldorp dd...@suse.de Date: Fri Sep 2 13:26:04 2011 +0200 pmda: Use CTDB_PATH macro for default socket path Also includes some code cleanup changes. commit 137b498c75c55c966999cd788f12ed9010cfed3a Author: David Disseldorp dd...@suse.de Date: Mon Aug 8 11:15:06 2011 +0200 pmda: Pull ctdb statistics once per fetch Currently ctdb statistics are pulled in the PMDA fetch callback, which results in a CTDB_CONTROL_STATISTICS call for each metric. Do this once per fetch instead, and have the per-metric callbacks pull data from the last counter cache. commit 28df6fbf1273b8d095a2bc38dca6a6c35c5c31bd Author: David Disseldorp dd...@suse.de Date: Wed Aug 3 10:38:27 2011 +0200 pmda: Attempt reconnects while ctdbd is unavailable Attempt to reconnect to ctdbd on fetch while it is unreachable. We must provide our own queue callback wrapper, as ctdb_client_read_cb() exits on transport failure. commit fe7f69d6fc37661c2f1caa11de4ed3a7940d0a2f Author: David Disseldorp dd...@suse.de Date: Wed Jul 13 18:11:23 2011 +0200 pmda: Initial ctdb pmda check-in The CTDB Performance Metrics Domain Agent (PMDA) is compiled when Performance Co-Pilot (PCP) header files are present. The CTDB PMDA periodically requests runtime counters from ctdbd (similar to ctdb statistics) and exports these values via PCP for capture and charting etc. commit 3885141f37724b3dea61b45fbac38489ec356588 Author: David Disseldorp dd...@suse.de Date: Wed Aug 24 11:34:56 2011 +0200 client: flag local node in ctdb -Y status output Regular ctdb status output flags which node is the local node, do the same for machine readable output. commit 9e178671560cb95121e11d718a76b05380ecd6c5 Author: David Disseldorp dd...@suse.de Date: Mon Aug 8 16:35:56 2011 +0200 client: add timeout argument to ctdb_attach Rather than using a fixed 2 second CTDB_CONTROL_GETDBPATH timeout. commit 0634d0305f42f17048b6830733767e8dc300e11c Author: David Disseldorp dd...@suse.de Date: Mon Aug 8 14:09:46 2011 +0200 client: add req timeout argument to ctdb_cmdline_client Following connection to the local ctdbd, ctdb_cmdline_client() currently issues a CTDB_CONTROL_GET_PNN request with a fixed 3 second timeout. The ctdb cmd line client accepts a --timelimit argument for specifying a per request timeout, pass this value through to ctdb_cmdline_client() for use as a CTDB_CONTROL_GET_PNN request timeout. --- Summary of changes: Makefile.in | 18 ++- client/ctdb_client.c | 10 +- common/cmdline.c |5 +- configure.ac | 20 ++ include/ctdb_client.h| 10 +- include/ctdb_private.h |1 + lib/tevent/tevent_util.c |2 +-
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 0aa6751 Tidy up previous patch for bug #8442 - NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking renames. from 7800a50 s4-provision: Fill msDS-NC-Replica-Locations attribute in DNS provisioning http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 0aa6751e919d842cdae044be26f6da725063eac2 Author: Jeremy Allison j...@samba.org Date: Wed Sep 7 14:57:11 2011 -0700 Tidy up previous patch for bug #8442 - NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking renames. aceType is an enum field, not a bitmask. Autobuild-User: Jeremy Allison j...@samba.org Autobuild-Date: Thu Sep 8 03:34:39 CEST 2011 on sn-devel-104 --- Summary of changes: source3/modules/nfs4_acls.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c index e94abac..a60d98f 100644 --- a/source3/modules/nfs4_acls.c +++ b/source3/modules/nfs4_acls.c @@ -337,13 +337,12 @@ static bool smbacl4_nfs42win(TALLOC_CTX *mem_ctx, SMB4ACL_T *theacl, /* in */ DEBUG(10, (Windows mapped ace flags: 0x%x = 0x%x\n, ace-aceFlags, win_ace_flags)); + mask = ace-aceMask; /* Windows clients expect SYNC on acls to correctly allow rename. See bug #7909. */ - if(ace-aceType SMB_ACE4_ACCESS_DENIED_ACE_TYPE) { - /* But not on DENY ace entries. See - bug #8442. */ - mask = ace-aceMask; - } else { + /* But not on DENY ace entries. See + bug #8442. */ + if(ace-aceType == SMB_ACE4_ACCESS_ALLOWED_ACE_TYPE) { mask = ace-aceMask | SMB_ACE4_SYNCHRONIZE; } init_sec_ace(nt_ace_list[good_aces++], sid, -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via e0c5f1c s4-cracknames: use consistent search for crossRef objects via dd80fc6 pidl: adjust expected output for new flag checking via de318e5 s4-dsdb: prevent crash on bad DN in construct_parent_guid() via ad4ce31 torture-drs: fixed NDR tests for DRS blobs via bf8dd20 torture-ndr: fixed NDR tests for NTLMSSP blobs via 7416da6 torture-ndr: fixed NDR tests for NBT blobs via d49f067 torture-ndr: fixed NDR tests for DFS blobs via 430123e torture-ndr: added support for testing push functions via 3d5dd91 pidl: added checking of NDR flags in generated code via a19fd96 libndr: add checking to all pull/push functions of base types via 1c25f5e libndr: moved the NDR_* flags to have less overlap via 6e25723 lib: added base64_decode_data_blob_talloc() via 1e9573f s4-dsdb: fixed compiler warning from 0aa6751 Tidy up previous patch for bug #8442 - NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking renames. http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit e0c5f1c1ab2db6042112ee445941b04ae162e778 Author: Andrew Tridgell tri...@samba.org Date: Wed Sep 7 17:18:24 2011 +1000 s4-cracknames: use consistent search for crossRef objects This matches the search in other places Pair-Programmed-With: Andrew Bartlett abart...@samba.org Autobuild-User: Andrew Tridgell tri...@samba.org Autobuild-Date: Thu Sep 8 05:02:54 CEST 2011 on sn-devel-104 commit dd80fc60fd954a3bee86831e887135c4be7ea3fd Author: Andrew Tridgell tri...@samba.org Date: Wed Sep 7 17:12:37 2011 +1000 pidl: adjust expected output for new flag checking commit de318e58b01696e7aea39d14da099dbb4173c055 Author: Andrew Tridgell tri...@samba.org Date: Wed Sep 7 16:25:48 2011 +1000 s4-dsdb: prevent crash on bad DN in construct_parent_guid() this was found by a flakey test in autobuild commit ad4ce31e86fecf27297c40c80404f85a150ab799 Author: Andrew Tridgell tri...@samba.org Date: Wed Sep 7 15:37:22 2011 +1000 torture-drs: fixed NDR tests for DRS blobs this also adds new tests for trustAuthInOutBlob blobs Pair-Programmed-With: Andrew Bartlett abart...@samba.org commit bf8dd20bddd1fca3e4caf59bf3253c70530850b7 Author: Andrew Tridgell tri...@samba.org Date: Wed Sep 7 15:36:57 2011 +1000 torture-ndr: fixed NDR tests for NTLMSSP blobs Pair-Programmed-With: Andrew Bartlett abart...@samba.org commit 7416da636d91f0c8ae559dc02e5b6cbcabc8779d Author: Andrew Tridgell tri...@samba.org Date: Wed Sep 7 15:36:38 2011 +1000 torture-ndr: fixed NDR tests for NBT blobs Pair-Programmed-With: Andrew Bartlett abart...@samba.org commit d49f0676d07a5e27c6a1a7441f91f9b474222529 Author: Andrew Tridgell tri...@samba.org Date: Wed Sep 7 15:36:22 2011 +1000 torture-ndr: fixed NDR tests for DFS blobs Pair-Programmed-With: Andrew Bartlett abart...@samba.org commit 430123e84e099f78ba794fdbf7de30d1169cd0cb Author: Andrew Tridgell tri...@samba.org Date: Wed Sep 7 15:35:55 2011 +1000 torture-ndr: added support for testing push functions this allows us to check the symmetry of pull/push functions in NDR tests Pair-Programmed-With: Andrew Bartlett abart...@samba.org commit 3d5dd91f598b8661d090ae147ae7c3a8fcea29e0 Author: Andrew Tridgell tri...@samba.org Date: Wed Sep 7 15:34:43 2011 +1000 pidl: added checking of NDR flags in generated code Pair-Programmed-With: Andrew Bartlett abart...@samba.org commit a19fd96ab87290cd6ed1c93cd8f83e8697592b21 Author: Andrew Tridgell tri...@samba.org Date: Wed Sep 7 15:34:20 2011 +1000 libndr: add checking to all pull/push functions of base types this checks that the passed in ndr_flags are valid Pair-Programmed-With: Andrew Bartlett abart...@samba.org commit 1c25f5ebca7eb4e8a6ce95b1adf6088d67aecb94 Author: Andrew Tridgell tri...@samba.org Date: Wed Sep 7 15:29:32 2011 +1000 libndr: moved the NDR_* flags to have less overlap We have 3 different types of flags values in our NDR layer. We've recently found bugs where these types of flags have been mixed up, especially by people adding hand written ndr code for tricky structures. We previously got away with this because (for example) NDR_SCALARS and NDR_IN had the same value, so mixing up the two concepts sometimes worked. Unfortunately it also led to bugs where we didn't do what was expected, such as in our smbtorture ndr test suite, where passing a ndr_flags value of zero led to only checking that two empty structures were equal. This changes the values of the NDR_IN|NDR_OUT and NDR_SCALARS|NDR_BUFFERS values to be in different bit ranges, and adds macros for checking the validity of passed in flags. A followup
[SCM] build.samba.org - branch master updated
The branch, master has been updated via 434956b use --enabled-shared in python install script from 584a1fe the ppc64 box 'tridge' needs the python devel headers installed http://gitweb.samba.org/?p=build-farm.git;a=shortlog;h=master - Log - commit 434956b37afb55a418d488233a6afaf907d4e8d2 Author: Andrew Tridgell tri...@samba.org Date: Thu Sep 8 13:51:17 2011 +1000 use --enabled-shared in python install script this makes the build much smaller, and fixes a problem on 'tridge' in the build farm --- Summary of changes: install_python.fns |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/install_python.fns b/install_python.fns index d44b999..d3c4d64 100644 --- a/install_python.fns +++ b/install_python.fns @@ -14,7 +14,7 @@ do_install_python() { rm -rf $VERSION || exit 1 tar -xf $VERSION.tar || exit 1 cd $VERSION || exit 1 - ./configure --prefix=$HOME/python --disable-ipv6 || exit 1 + ./configure --prefix=$HOME/python --disable-ipv6 --enable-shared || exit 1 make || exit 1 make install || exit 1 cd ../.. || exit 1 -- build.samba.org