[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via fd240b5 s3: Fix Coverity ID 2587,2588: CHECKED_RETURN from 244c856 s3:smb2cli_base: ask for the next response if there're still pending requests http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit fd240b546ea3152d16299524aa0dcb184202354a Author: Volker Lendecke v...@samba.org Date: Sun Jul 10 09:21:45 2011 +0200 s3: Fix Coverity ID 2587,2588: CHECKED_RETURN Autobuild-User: Volker Lendecke vlen...@samba.org Autobuild-Date: Sun Jul 10 10:36:11 CEST 2011 on sn-devel-104 --- Summary of changes: source3/libsmb/smb2cli_create.c |2 +- source3/libsmb/smb2cli_query_directory.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/libsmb/smb2cli_create.c b/source3/libsmb/smb2cli_create.c index bbec7b2..794b1f1 100644 --- a/source3/libsmb/smb2cli_create.c +++ b/source3/libsmb/smb2cli_create.c @@ -79,7 +79,7 @@ struct tevent_req *smb2cli_create_send( if (!convert_string_talloc(state, CH_UNIX, CH_UTF16, filename, strlen(filename)+1, name_utf16, name_utf16_len)) { - tevent_req_nomem(NULL, req); + tevent_req_oom(req); return tevent_req_post(req, ev); } diff --git a/source3/libsmb/smb2cli_query_directory.c b/source3/libsmb/smb2cli_query_directory.c index 554b267..f9a1bfe 100644 --- a/source3/libsmb/smb2cli_query_directory.c +++ b/source3/libsmb/smb2cli_query_directory.c @@ -60,7 +60,7 @@ struct tevent_req *smb2cli_query_directory_send(TALLOC_CTX *mem_ctx, if (!convert_string_talloc(state, CH_UNIX, CH_UTF16, mask, strlen(mask)+1, dyn, dyn_len)) { - tevent_req_nomem(NULL, req); + tevent_req_oom(req); return tevent_req_post(req, ev); } -- Samba Shared Repository
[SCM] Samba Shared Repository - annotated tag tevent-0.9.13 created
The annotated tag, tevent-0.9.13 has been created at 2a0b772552bba9b5f8f033adb526840aa98b67da (tag) tagging 4768fc670401d86bd07ab366c5b0e81eb1998465 (commit) replaces release-4-0-0alpha16 tagged by Stefan Metzmacher on Sun Jul 10 11:54:45 2011 +0200 - Log - tevent: tag release tevent-0.9.13 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAABAgAGBQJOGXblAAoJEEeTkWETCEAls2MIAKb20LNhoPBLRUTrDTe2pkh9 DODEypUMV6HEBrL0TATXNI4HnFV9EYPHz6CE9K/dMr/g7NMCyyrU5ZDoQG71EGUu 4vb/1bsK04GAuPgkJW3q0AMgLmgfuO2eWIpkG66hXkXoO3eiEJJHh2xWxUBNd7qY 6w4Y9g9ZpHdQsLDEefwz7g78pHvToylxdR/Pav9o9dC58whsiisfSBFHAyh1yKaq tDn/X5T3RQJNU8Tg6h0qZL+UhX+qMmAdohpRdCVt9kUJrqbj/a3KvDgD1lSHsrdK YMb9J+l3fIDbw8FdiCAqdHjYYM5Q5JxF+ZIBLKJZD4O0o3jhT+TtRiwdtaW9PTI= =KNcC -END PGP SIGNATURE- --- -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 86b7b5c socket_wrapper: make sure interfaces are in the valid range on bind() via 1be5a9b s4:lib/socket: iface_list_wildcard() should only return :: if we have ipv6 interfaces via 957876e s3:smb2cli_tcon: use tevent_req_oom() from fd240b5 s3: Fix Coverity ID 2587,2588: CHECKED_RETURN http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 86b7b5cd9621946a3ea20905c0559d662c84770b Author: Stefan Metzmacher me...@samba.org Date: Sun Jul 10 16:40:37 2011 +0200 socket_wrapper: make sure interfaces are in the valid range on bind() metze Autobuild-User: Stefan Metzmacher me...@samba.org Autobuild-Date: Sun Jul 10 18:24:14 CEST 2011 on sn-devel-104 commit 1be5a9b1fdbf891749615e87391cdd2a9c4d7113 Author: Stefan Metzmacher me...@samba.org Date: Sun Jul 10 15:13:45 2011 +0200 s4:lib/socket: iface_list_wildcard() should only return :: if we have ipv6 interfaces If glibc has IPv6 support, but it's not enabled in the running kernel we should not try to listen on ::. metze commit 957876e76c6e11fc6641107a2c0dc4440be5791d Author: Stefan Metzmacher me...@samba.org Date: Sun Jul 10 17:09:11 2011 +0200 s3:smb2cli_tcon: use tevent_req_oom() metze --- Summary of changes: lib/socket_wrapper/socket_wrapper.c |5 + source3/libsmb/smb2cli_tcon.c |2 +- source4/lib/socket/interface.c | 14 +- 3 files changed, 19 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/lib/socket_wrapper/socket_wrapper.c b/lib/socket_wrapper/socket_wrapper.c index d70459b..2b52626 100644 --- a/lib/socket_wrapper/socket_wrapper.c +++ b/lib/socket_wrapper/socket_wrapper.c @@ -554,6 +554,11 @@ static int convert_in_un_alloc(struct socket_info *si, const struct sockaddr *in if (bcast) *bcast = is_bcast; + if (iface == 0 || iface MAX_WRAPPED_INTERFACES) { + errno = EINVAL; + return -1; + } + if (prt == 0) { /* handle auto-allocation of ephemeral ports */ for (prt = 5001; prt 1; prt++) { diff --git a/source3/libsmb/smb2cli_tcon.c b/source3/libsmb/smb2cli_tcon.c index 46d787e..eca2617 100644 --- a/source3/libsmb/smb2cli_tcon.c +++ b/source3/libsmb/smb2cli_tcon.c @@ -61,7 +61,7 @@ struct tevent_req *smb2cli_tcon_send(TALLOC_CTX *mem_ctx, if (!convert_string_talloc(state, CH_UNIX, CH_UTF16, tcon_share, talloc_get_size(tcon_share), dyn, dyn_len)) { - tevent_req_nomem(NULL, req); + tevent_req_oom(req); return tevent_req_post(req, ev); } diff --git a/source4/lib/socket/interface.c b/source4/lib/socket/interface.c index d5b610f..42e1946 100644 --- a/source4/lib/socket/interface.c +++ b/source4/lib/socket/interface.c @@ -520,7 +520,19 @@ const char **iface_list_wildcard(TALLOC_CTX *mem_ctx, struct loadparm_context *l #ifdef HAVE_IPV6 if (lpcfg_parm_bool(lp_ctx, NULL, ipv6, enable, true)) { - return str_list_add(ret, ::); + struct interface *local_interfaces = NULL; + + load_interface_list(ret, lp_ctx, local_interfaces); + + if (iface_list_first_v6(local_interfaces)) { + TALLOC_FREE(local_interfaces); + /* +* only add :: if we have at least +* one ipv6 interface +*/ + return str_list_add(ret, ::); + } + TALLOC_FREE(local_interfaces); } #endif -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 330c00a dbcheck: use get_lDAPDisplayName_by_attid() via 02562a0 dsdb: added get_lDAPDisplayName_by_attid via 082a9cc dbcheck: improved error checking in fixup of missing metdata via 396beee s4-provision: use samba.unix2nttime() instead of hard coding NTTIME offsets via 723fc5f s4-drs: do not return links pointed to unexistant objects via 4a4c748 s4-dirsync: do not return linked attribute if the target object is no more via 74530d6 s4-dsdb: allow objectsid to be specified in a modification operation via 61fc7f2 s4-samba-tool: dbcheck, check and fix broken metadata via bbd4e27 s4-python: Add functions to get linkid and systemflags of an attribute via ab77df8 s4-dsdb: if the provision control is specified, update replication metadata even if the data hasn't change via e3fef4d upgradeprovision: reduce the number of attribute that we skip via c3106a6 s4-provision: fix the value of creation timestamp to be a MS timestamp via 6ec4630 s4-dsdb: when replacing linked attribute take always the new dn as the old dn might be broken via 3764b93 s4-dsdb: check for single valued attribute in repl_meta_data module via e14725c dbcheck: check all objects, including deleted objects via 6f6cda7 s4-dsdb: deleted objects are expected to be missing mandatory attributes via da75e03 s4-dsdb: fixed crash bug in extended_dn_in via faec258 dbcheck: added confirm_all support for remaining checks via 059941b dbcheck: use specified DB schema for non-LDAP URLs from 86b7b5c socket_wrapper: make sure interfaces are in the valid range on bind() http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 330c00a14d0d903b5f1accf5a17c226ca3413dc4 Author: Andrew Tridgell tri...@samba.org Date: Mon Jul 11 14:28:19 2011 +1000 dbcheck: use get_lDAPDisplayName_by_attid() this is better than doing a schema search inside the dbcheck code Autobuild-User: Andrew Tridgell tri...@samba.org Autobuild-Date: Mon Jul 11 07:43:18 CEST 2011 on sn-devel-104 commit 02562a0ca988b5b1e0796a445aabc96dddb408d2 Author: Andrew Tridgell tri...@samba.org Date: Mon Jul 11 14:27:21 2011 +1000 dsdb: added get_lDAPDisplayName_by_attid this allows conversion from a DRS attribute ID to a LDAP display name Pair-Programmed-With: Amitay Isaacs ami...@gmail.com Pair-Programmed-With: Andrew Bartlett abart...@samba.org commit 082a9cc72815a3873b1cea2779dff6bc41a9773c Author: Andrew Tridgell tri...@samba.org Date: Mon Jul 11 14:05:30 2011 +1000 dbcheck: improved error checking in fixup of missing metdata when fixing missing attributes in replPropertyMetaData, allow user to confirm changes, and check for exceptions Pair-Programmed-With: Andrew Bartlett abart...@samba.org Pair-Programmed-With: Amitay Isaacs ami...@gmail.com commit 396beee776778af7c9b7d48d7c977b32b3ee4654 Author: Andrew Tridgell tri...@samba.org Date: Mon Jul 11 13:45:50 2011 +1000 s4-provision: use samba.unix2nttime() instead of hard coding NTTIME offsets Pair-Programmed-With: Andrew Bartlett abart...@samba.org Pair-Programmed-With: Amitay Isaacs ami...@gmail.com commit 723fc5fadd55987d38641508a3c50314147588c3 Author: Matthieu Patou m...@matws.net Date: Fri Jul 8 02:06:04 2011 +0400 s4-drs: do not return links pointed to unexistant objects When an object is deleted, link pointed to it are marked as inactive. When the same object is purged we do not remmove the link pointed to it (we can't know them) so they stay in the database, it turns to be a problem for Windows 2008. Signed-off-by: Andrew Tridgell tri...@samba.org commit 4a4c748d2b3071ad7cd06b96cb0279a89c3ec6d0 Author: Matthieu Patou m...@matws.net Date: Fri Jul 8 02:04:52 2011 +0400 s4-dirsync: do not return linked attribute if the target object is no more Signed-off-by: Andrew Tridgell tri...@samba.org commit 74530d6453451d7a7ad08a11e37ea8b4672fc4ab Author: Matthieu Patou m...@matws.net Date: Thu Jul 7 00:32:32 2011 +0400 s4-dsdb: allow objectsid to be specified in a modification operation if we have the provision control, it's used by dbcheck Signed-off-by: Andrew Tridgell tri...@samba.org commit 61fc7f285eee888e3603afd7beafba83cca4e378 Author: Matthieu Patou m...@matws.net Date: Thu Jul 7 00:31:21 2011 +0400 s4-samba-tool: dbcheck, check and fix broken metadata Signed-off-by: Andrew Tridgell tri...@samba.org commit bbd4e27745352cc1069d7070620fe21f46702743 Author: Matthieu Patou m...@matws.net Date: Thu Jul 7 00:29:58 2011 +0400 s4-python: Add functions to get linkid and systemflags of an attribute Signed-off-by: Andrew Tridgell tri...@samba.org commit