[SCM] Samba Shared Repository - branch v3-2-stable updated -
release-3-2-0rc1-9-g6ae47b4
Karolin Seeger
kseeger at samba.org
Thu May 29 08:20:39 GMT 2008
The branch, v3-2-stable has been updated
via 6ae47b413df591b8a6f887f7d925d5a270921139 (commit)
via a6de68eabac2ecd9537098af96c3e33add3e1cee (commit)
via fd8051f86000c9f4f2ccc293a71c0d92aa4c86bd (commit)
via 22cc3c2a688f104688273dd5f7ae751182953bba (commit)
from cea629ebaf1ab0079f1aa7a373ff7baf7d60a4a1 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable
- Log -----------------------------------------------------------------
commit 6ae47b413df591b8a6f887f7d925d5a270921139
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 26 21:17:28 2008 -0700
Re-enable the evil "aio write behind" parameter.
Jeremy.
(cherry picked from commit 79bda4467f399325773211bb4b660363024c66b4)
commit a6de68eabac2ecd9537098af96c3e33add3e1cee
Author: Günther Deschner <gd at samba.org>
Date: Tue May 27 11:40:50 2008 +0200
dsgetdcname: use family (instead of sa_family).
Guenther
(cherry picked from commit 355fb81e9e42e507717f33a11793258db9169199)
(cherry picked from commit bcf721770d2a76df85737596d6b73e9e6d982c32)
commit fd8051f86000c9f4f2ccc293a71c0d92aa4c86bd
Author: Günther Deschner <gd at samba.org>
Date: Tue May 27 11:40:32 2008 +0200
re-run make idl.
Guenther
(cherry picked from commit b2cdf0f5d04c241791c1462d1b86c587156ac0c7)
(cherry picked from commit d4656267be2c2d851242b8e7b834a92aa975a98a)
commit 22cc3c2a688f104688273dd5f7ae751182953bba
Author: Günther Deschner <gd at samba.org>
Date: Tue May 27 11:38:53 2008 +0200
idl: avoid sa_family as it its a macro on IRIX.
Guenther
(cherry picked from commit 64815c08558c73bbffeb2fdfc0d5850c4ebf8405)
(cherry picked from commit eb1b03171729e569b1ae81fdf8a9038029ceee4e)
-----------------------------------------------------------------------
Summary of changes:
source/librpc/gen_ndr/nbt.h | 2 +-
source/librpc/gen_ndr/ndr_nbt.c | 6 +++---
source/librpc/idl/nbt.idl | 2 +-
source/libsmb/dsgetdcname.c | 2 +-
source/smbd/service.c | 2 ++
5 files changed, 8 insertions(+), 6 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/librpc/gen_ndr/nbt.h b/source/librpc/gen_ndr/nbt.h
index b77b7c3..62ad524 100644
--- a/source/librpc/gen_ndr/nbt.h
+++ b/source/librpc/gen_ndr/nbt.h
@@ -469,7 +469,7 @@ struct nbt_netlogon_response_from_pdc {
#define NBT_SERVER_FULL_SECRET_DOMAIN_6 ( 0x00001000 )
struct nbt_dc_sock_addr {
- uint32_t sa_family;
+ uint32_t family;
const char * pdc_ip;/* [flag(LIBNDR_FLAG_BIGENDIAN)] */
DATA_BLOB remaining;/* [flag(LIBNDR_FLAG_REMAINING)] */
};
diff --git a/source/librpc/gen_ndr/ndr_nbt.c b/source/librpc/gen_ndr/ndr_nbt.c
index aa67d41..240b58e 100644
--- a/source/librpc/gen_ndr/ndr_nbt.c
+++ b/source/librpc/gen_ndr/ndr_nbt.c
@@ -1933,7 +1933,7 @@ static enum ndr_err_code ndr_push_nbt_dc_sock_addr(struct ndr_push *ndr, int ndr
{
if (ndr_flags & NDR_SCALARS) {
NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->sa_family));
+ NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->family));
{
uint32_t _flags_save_ipv4address = ndr->flags;
ndr_set_flags(&ndr->flags, LIBNDR_FLAG_BIGENDIAN);
@@ -1956,7 +1956,7 @@ static enum ndr_err_code ndr_pull_nbt_dc_sock_addr(struct ndr_pull *ndr, int ndr
{
if (ndr_flags & NDR_SCALARS) {
NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sa_family));
+ NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->family));
{
uint32_t _flags_save_ipv4address = ndr->flags;
ndr_set_flags(&ndr->flags, LIBNDR_FLAG_BIGENDIAN);
@@ -1979,7 +1979,7 @@ _PUBLIC_ void ndr_print_nbt_dc_sock_addr(struct ndr_print *ndr, const char *name
{
ndr_print_struct(ndr, name, "nbt_dc_sock_addr");
ndr->depth++;
- ndr_print_uint32(ndr, "sa_family", r->sa_family);
+ ndr_print_uint32(ndr, "family", r->family);
ndr_print_ipv4address(ndr, "pdc_ip", r->pdc_ip);
ndr_print_DATA_BLOB(ndr, "remaining", r->remaining);
ndr->depth--;
diff --git a/source/librpc/idl/nbt.idl b/source/librpc/idl/nbt.idl
index 7e98aa7..9f5c4a9 100644
--- a/source/librpc/idl/nbt.idl
+++ b/source/librpc/idl/nbt.idl
@@ -412,7 +412,7 @@ interface nbt
} nbt_server_type;
typedef struct {
- uint32 sa_family;
+ uint32 family;
[flag(NDR_BIG_ENDIAN)] ipv4address pdc_ip;
[flag(NDR_REMAINING)] DATA_BLOB remaining;
} nbt_dc_sock_addr;
diff --git a/source/libsmb/dsgetdcname.c b/source/libsmb/dsgetdcname.c
index d57689c..48e497b 100644
--- a/source/libsmb/dsgetdcname.c
+++ b/source/libsmb/dsgetdcname.c
@@ -205,7 +205,7 @@ static NTSTATUS map_logon29_from_cldap_reply(TALLOC_CTX *mem_ctx,
/* FIXME */
p->dc_sock_addr_size = 0x10; /* the w32 winsock addr size */
- p->dc_sock_addr.sa_family = 2; /* AF_INET */
+ p->dc_sock_addr.family = 2; /* AF_INET */
p->dc_sock_addr.pdc_ip = talloc_strdup(mem_ctx, addr);
switch (nt_version & 0x0000001f) {
diff --git a/source/smbd/service.c b/source/smbd/service.c
index 33b2cb2..491a67a 100644
--- a/source/smbd/service.c
+++ b/source/smbd/service.c
@@ -1117,6 +1117,8 @@ static connection_struct *make_connection_snum(int snum, user_struct *vuser,
set_namearray( &conn->veto_list, lp_veto_files(snum));
set_namearray( &conn->hide_list, lp_hide_files(snum));
set_namearray( &conn->veto_oplock_list, lp_veto_oplocks(snum));
+ set_namearray( &conn->aio_write_behind_list,
+ lp_aio_write_behind(snum));
}
/* Invoke VFS make connection hook - do this before the VFS_STAT call
--
Samba Shared Repository
More information about the samba-cvs
mailing list