diff options
| author | Koop Mast <kwm@FreeBSD.org> | 2016-01-15 12:45:28 +0000 |
|---|---|---|
| committer | Koop Mast <kwm@FreeBSD.org> | 2016-01-15 12:45:28 +0000 |
| commit | 2c37f5fc3b28f4e082536d5eefc8ed18dd2696c7 (patch) | |
| tree | 9ba891f1110b6d178cb7d8e57e98a07251019d61 /mail/libmapi/files/patch-mapiproxy_dcesrv__mapiproxy.c | |
| parent | Update to 1.61 (diff) | |
Update libmapi to 2.3.
Switch from samba 4.0 and 4.1 choice to only 4.2. Samba 4.0 and 4.1 are
EOL and marked for deletion.
Keep the switch logic around for possible later use, since samba 4.3
is not supported at this time.
A few patches where obtained from archlinux.
Diffstat (limited to '')
| -rw-r--r-- | mail/libmapi/files/patch-mapiproxy_dcesrv__mapiproxy.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/mail/libmapi/files/patch-mapiproxy_dcesrv__mapiproxy.c b/mail/libmapi/files/patch-mapiproxy_dcesrv__mapiproxy.c new file mode 100644 index 000000000000..882480fa2f4c --- /dev/null +++ b/mail/libmapi/files/patch-mapiproxy_dcesrv__mapiproxy.c @@ -0,0 +1,36 @@ +https://aur.archlinux.org/cgit/aur.git/log/openchange-issue-249.patch?h=openchange + +diff -rupN a/mapiproxy/dcesrv_mapiproxy.c b/mapiproxy/dcesrv_mapiproxy.c +--- mapiproxy/dcesrv_mapiproxy.c 2015-06-16 15:41:56.599106174 -0700 ++++ mapiproxy/dcesrv_mapiproxy.c 2015-06-16 15:43:29.597211031 -0700 +@@ -134,10 +134,10 @@ static NTSTATUS mapiproxy_op_connect(str + + switch (dce_call->pkt.ptype) { + case DCERPC_PKT_BIND: +- b->assoc_group_id = dce_call->pkt.u.bind.assoc_group_id; ++ status = dcerpc_binding_set_assoc_group_id(b, dce_call->pkt.u.bind.assoc_group_id); + break; + case DCERPC_PKT_ALTER: +- b->assoc_group_id = dce_call->pkt.u.alter.assoc_group_id; ++ status = dcerpc_binding_set_assoc_group_id(b, dce_call->pkt.u.alter.assoc_group_id); + break; + default: + break; +@@ -154,7 +154,7 @@ static NTSTATUS mapiproxy_op_connect(str + if (!NT_STATUS_IS_OK(status)) { + return status; + } +- dce_call->context->assoc_group->id = private->c_pipe->assoc_group_id; ++ dce_call->context->assoc_group->id = dcerpc_binding_get_assoc_group_id(private->c_pipe->binding); + + } else { + status = dcerpc_pipe_connect(dce_call->context, +@@ -169,7 +169,7 @@ static NTSTATUS mapiproxy_op_connect(str + if (!NT_STATUS_IS_OK(status)) { + return status; + } +- dce_call->context->assoc_group->id = private->c_pipe->assoc_group_id; ++ dce_call->context->assoc_group->id = dcerpc_binding_get_assoc_group_id(private->c_pipe->binding); + } + + private->connected = true; |
