Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • lts-team/packages/samba
  • thctlo/samba-lintianfix
  • arnaudr/samba
  • jrwren/samba
  • paride/samba
  • athos/samba
  • henrich/samba
  • cnotin/samba
  • mimi89999/samba
  • samba-team/samba
  • ahasenack/samba
  • jrtc27/samba
  • noel/samba
13 results
Show changes
Commits on Source (103)
Showing
with 186 additions and 37 deletions
......@@ -25,7 +25,7 @@
########################################################
SAMBA_VERSION_MAJOR=4
SAMBA_VERSION_MINOR=8
SAMBA_VERSION_RELEASE=0
SAMBA_VERSION_RELEASE=1
########################################################
# If a official release has a serious bug #
......
=============================
Release Notes for Samba 4.8.1
April 26, 2018
=============================
This is the latest stable release of the Samba 4.8 release series.
Changes since 4.8.0:
--------------------
o Jeremy Allison <jra@samba.org>
* BUG 13244: s3: ldap: Ensure the ADS_STRUCT pointer doesn't get freed on
error, we don't own it here.
* BUG 13270: s3: smbd: Fix possible directory fd leak if the underlying OS
doesn't support fdopendir().
* BUG 13319: Round-tripping ACL get/set through vfs_fruit will increase the
number of ACE entries without limit.
* BUG 13347: s3: smbd: SMB2: Add DBGC_SMB2_CREDITS class to specifically
debug credit issues.
* BUG 13358: s3: smbd: Files or directories can't be opened DELETE_ON_CLOSE
without delete access.
* BUG 13372: s3: smbd: Fix memory leak in vfswrap_getwd().
* BUG 13375: s3: smbd: Unix extensions attempts to change wrong field in
fchown call.
o Björn Baumbach <bb@sernet.de>
* BUG 13337: ms_schema/samba-tool visualize: Fix python2.6 incompatibility.
o Timur I. Bakeyev <timur@iXsystems.com>
* BUG 13352: Fix invocation of gnutls_aead_cipher_encrypt().
o Ralph Boehme <slow@samba.org>
* BUG 13328: Windows 10 cannot logon on Samba NT4 domain.
* BUG 13332: winbindd: Recover loss of netlogon secure channel in case the
peer DC is rebooted.
* BUG 13363: s3:smbd: Don't use the directory cache for SMB2/3.
o Amitay Isaacs <amitay@gmail.com>
* BUG 13356: ctdb-client: Fix bugs in client code.
* BUG 13359: ctdb-scripts: Drop "net serverid wipe" from 50.samba event
script.
o Lutz Justen <ljusten@google.com>
* BUG 13368: s3: lib: messages: Don't use the result of sec_init() before
calling sec_init().
o Volker Lendecke <vl@samba.org>
* BUG 13273: libads: Fix the build '--without-ads'.
* BUG 13332: winbind: Keep "force_reauth" in invalidate_cm_connection,
add 'smbcontrol disconnect-dc'.
* BUG 13343: vfs_virusfilter: Fix CIDs 1428738-1428740.
* BUG 13367: dsdb: Fix CID 1034966 Uninitialized scalar variable.
* BUG 13370: rpc_server: Fix core dump in dfsgetinfo.
* BUG 13382: smbclient: Fix notify.
o Stefan Metzmacher <metze@samba.org>
* BUG 13215: Fix smbd panic if the client-supplied channel sequence number
wraps.
* BUG 13328: Windows 10 cannot logon on Samba NT4 domain.
* BUG 13342: lib/util: Remove unused '#include <sys/syscall.h>' from
tests/tfork.c.
* BUG 13343: Fix build errors with cc from developerstudio 12.5 on Solaris.
* BUG 13344: Fix the picky-developer build on FreeBSD 11.
* BUG 13345: s3:modules: Fix the build of vfs_aixacl2.c.
o Anton Nefedov
* BUG 13338: s3:smbd: map nterror on smb2_flush errorpath.
o Noel Power <noel.power@suse.com>
* BUG 13341: lib:replace: Fix linking when libtirpc-devel overwrites system
headers.
o Christof Schmitt <cs@samba.org>
* BUG 13312: winbindd: 'wbinfo --name-to-sid' returns misleading result on
invalid query.
o Andreas Schneider <asn@samba.org>
* BUG 13376: s3:passdb: Do not return OK if we don't have pinfo set up.
o Eric Vannier <evannier@google.com>
* BUG 13302: Allow AESNI to be used on all processor supporting AESNI.
#######################################
Reporting bugs & Development Discussion
#######################################
Please discuss this release on the samba-technical mailing list or by
joining the #samba-technical IRC channel on irc.freenode.net.
If you do report problems then please try to send high quality
feedback. If you don't provide vital information to help us track down
the problem then you will probably be ignored. All bug reports should
be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
database (https://bugzilla.samba.org/).
======================================================================
== Our Code, Our Bugs, Our Responsibility.
== The Samba Team
======================================================================
Release notes for older releases follow:
----------------------------------------
=============================
Release Notes for Samba 4.8.0
March 13, 2018
......
......@@ -333,6 +333,41 @@ NTSTATUS make_user_info_SamBaseInfo(TALLOC_CTX *mem_ctx,
return NT_STATUS_OK;
}
struct auth_user_info *auth_user_info_copy(TALLOC_CTX *mem_ctx,
const struct auth_user_info *src)
{
struct auth_user_info *dst = NULL;
dst = talloc_zero(mem_ctx, struct auth_user_info);
if (dst == NULL) {
return NULL;
}
*dst = *src;
#define _COPY_STRING(_mem, _str) do { \
if ((_str) != NULL) { \
(_str) = talloc_strdup((_mem), (_str)); \
if ((_str) == NULL) { \
TALLOC_FREE(dst); \
return NULL; \
} \
} \
} while(0)
_COPY_STRING(dst, dst->account_name);
_COPY_STRING(dst, dst->user_principal_name);
_COPY_STRING(dst, dst->domain_name);
_COPY_STRING(dst, dst->dns_domain_name);
_COPY_STRING(dst, dst->full_name);
_COPY_STRING(dst, dst->logon_script);
_COPY_STRING(dst, dst->profile_path);
_COPY_STRING(dst, dst->home_directory);
_COPY_STRING(dst, dst->home_drive);
_COPY_STRING(dst, dst->logon_server);
#undef _COPY_STRING
return dst;
}
/**
* Make a user_info_dc struct from the info3 returned by a domain logon
*/
......
......@@ -38,6 +38,9 @@ NTSTATUS make_user_info_SamBaseInfo(TALLOC_CTX *mem_ctx,
bool authenticated,
struct auth_user_info **_user_info);
struct auth_user_info *auth_user_info_copy(TALLOC_CTX *mem_ctx,
const struct auth_user_info *src);
NTSTATUS auth_convert_user_info_dc_saminfo6(TALLOC_CTX *mem_ctx,
const struct auth_user_info_dc *user_info_dc,
struct netr_SamInfo6 **_sam6);
......
......@@ -297,7 +297,6 @@ static void client_dead_handler(void *private_data)
ctdb_client_callback_func_t callback = client->callback;
void *callback_data = client->private_data;
talloc_free(client);
if (callback != NULL) {
callback(callback_data);
return;
......
......@@ -1191,6 +1191,7 @@ struct tevent_req *ctdb_fetch_lock_send(TALLOC_CTX *mem_ctx,
if (tevent_req_nomem(state->h, req)) {
return tevent_req_post(req, ev);
}
state->h->ev = ev;
state->h->client = client;
state->h->db = db;
state->h->key.dptr = talloc_memdup(state->h, key.dptr, key.dsize);
......@@ -1413,14 +1414,19 @@ struct ctdb_record_handle *ctdb_fetch_lock_recv(struct tevent_req *req,
offset = ctdb_ltdb_header_len(&h->header);
data->dsize = h->data.dsize - offset;
data->dptr = talloc_memdup(mem_ctx, h->data.dptr + offset,
data->dsize);
if (data->dptr == NULL) {
TALLOC_FREE(state->h);
if (perr != NULL) {
*perr = ENOMEM;
if (data->dsize == 0) {
data->dptr = NULL;
} else {
data->dptr = talloc_memdup(mem_ctx,
h->data.dptr + offset,
data->dsize);
if (data->dptr == NULL) {
TALLOC_FREE(state->h);
if (perr != NULL) {
*perr = ENOMEM;
}
return NULL;
}
return NULL;
}
}
......
......@@ -53,8 +53,6 @@ service_start ()
# start Samba service. Start it reniced, as under very heavy load
# the number of smbd processes will mean that it leaves few cycles
# for anything else
net serverid wipe
if [ -n "$CTDB_SERVICE_NMB" ] ; then
nice_service "$CTDB_SERVICE_NMB" start || die "Failed to start nmbd"
fi
......
......@@ -2,12 +2,12 @@
.\" Title: ctdb-etcd
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 03/13/2018
.\" Date: 04/26/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDB\-ETCD" "7" "03/13/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDB\-ETCD" "7" "04/26/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdb-statistics
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 03/13/2018
.\" Date: 04/26/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDB\-STATISTICS" "7" "03/13/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDB\-STATISTICS" "7" "04/26/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdb-tunables
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 03/13/2018
.\" Date: 04/26/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDB\-TUNABLES" "7" "03/13/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDB\-TUNABLES" "7" "04/26/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdb
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 03/13/2018
.\" Date: 04/26/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDB" "1" "03/13/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDB" "1" "04/26/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdb
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 03/13/2018
.\" Date: 04/26/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDB" "7" "03/13/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDB" "7" "04/26/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdb_diagnostics
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 03/13/2018
.\" Date: 04/26/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDB_DIAGNOSTICS" "1" "03/13/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDB_DIAGNOSTICS" "1" "04/26/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: Ceph RADOS Mutex
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 03/13/2018
.\" Date: 04/26/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CEPH RADOS MUTEX" "7" "03/13/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CEPH RADOS MUTEX" "7" "04/26/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdbd
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 03/13/2018
.\" Date: 04/26/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDBD" "1" "03/13/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDBD" "1" "04/26/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdbd.conf
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 03/13/2018
.\" Date: 04/26/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDBD\&.CONF" "5" "03/13/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDBD\&.CONF" "5" "04/26/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdbd_wrapper
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 03/13/2018
.\" Date: 04/26/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDBD_WRAPPER" "1" "03/13/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDBD_WRAPPER" "1" "04/26/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ltdbtool
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 03/13/2018
.\" Date: 04/26/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "LTDBTOOL" "1" "03/13/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "LTDBTOOL" "1" "04/26/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: onnode
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 03/13/2018
.\" Date: 04/26/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "ONNODE" "1" "03/13/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "ONNODE" "1" "04/26/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ping_pong
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 03/13/2018
.\" Date: 04/26/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "PING_PONG" "1" "03/13/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "PING_PONG" "1" "04/26/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......