<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/libcli, branch talloc-2.3.4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>libcli: Covscan: unchecked return value for file_save()</title>
<updated>2022-05-14T03:49:32+00:00</updated>
<author>
<name>Pavel Filipenský</name>
<email>pfilipen@redhat.com</email>
</author>
<published>2022-05-11T09:32:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d4e5712cafe849840f0b57c4b11774d4452e7561'/>
<id>d4e5712cafe849840f0b57c4b11774d4452e7561</id>
<content type='text'>
Signed-off-by: Pavel Filipenský &lt;pfilipen@redhat.com&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Pavel Filipenský &lt;pfilipen@redhat.com&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libcli: Fix trailing whitespace in netlogon.c</title>
<updated>2022-05-14T03:49:32+00:00</updated>
<author>
<name>Pavel Filipenský</name>
<email>pfilipen@redhat.com</email>
</author>
<published>2022-05-11T09:31:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=6781ab1172c3baa6c567483f258ac1af1f2dadf7'/>
<id>6781ab1172c3baa6c567483f258ac1af1f2dadf7</id>
<content type='text'>
Signed-off-by: Pavel Filipenský &lt;pfilipen@redhat.com&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Pavel Filipenský &lt;pfilipen@redhat.com&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libcli/smb: allow SMB2 Negotiate responses with security_offset = 0 and security_length = 0</title>
<updated>2022-05-02T20:13:10+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2022-04-26T08:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=54c6cf8666b073818301d3a71a37453b44e57b5c'/>
<id>54c6cf8666b073818301d3a71a37453b44e57b5c</id>
<content type='text'>
This fixes connections against the Azure SMB3 server.

It's not possible to demonstrate the bug with a test and a knownfail
entry, because it fails to even startup the test environments,
but the following change to our server demonstrates the problem
and shows the fix works:

    diff --git a/source3/smbd/smb2_negprot.c b/source3/smbd/smb2_negprot.c
    index da567951c0bf..25fdaea2df7b 100644
    --- a/source3/smbd/smb2_negprot.c
    +++ b/source3/smbd/smb2_negprot.c
    @@ -711,6 +711,8 @@ NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req)
                    }
            }

    +       security_buffer = data_blob_null;
    +
            if (out_negotiate_context_blob.length != 0) {
                    static const uint8_t zeros[8];
                    size_t pad = 0;
    @@ -759,6 +761,8 @@ NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req)
                    return smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY);
            }

    +       security_offset = 0;
    +
            SSVAL(outbody.data, 0x00, 0x40 + 1);    /* struct size */
            SSVAL(outbody.data, 0x02,
                  security_mode);                   /* security mode */

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15050

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Mon May  2 20:13:10 UTC 2022 on sn-devel-184
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes connections against the Azure SMB3 server.

It's not possible to demonstrate the bug with a test and a knownfail
entry, because it fails to even startup the test environments,
but the following change to our server demonstrates the problem
and shows the fix works:

    diff --git a/source3/smbd/smb2_negprot.c b/source3/smbd/smb2_negprot.c
    index da567951c0bf..25fdaea2df7b 100644
    --- a/source3/smbd/smb2_negprot.c
    +++ b/source3/smbd/smb2_negprot.c
    @@ -711,6 +711,8 @@ NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req)
                    }
            }

    +       security_buffer = data_blob_null;
    +
            if (out_negotiate_context_blob.length != 0) {
                    static const uint8_t zeros[8];
                    size_t pad = 0;
    @@ -759,6 +761,8 @@ NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req)
                    return smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY);
            }

    +       security_offset = 0;
    +
            SSVAL(outbody.data, 0x00, 0x40 + 1);    /* struct size */
            SSVAL(outbody.data, 0x02,
                  security_mode);                   /* security mode */

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15050

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Mon May  2 20:13:10 UTC 2022 on sn-devel-184
</pre>
</div>
</content>
</entry>
<entry>
<title>sddl: Remove SDDL SID strings unsupported by Windows</title>
<updated>2022-03-17T23:11:37+00:00</updated>
<author>
<name>Joseph Sutton</name>
<email>josephsutton@catalyst.net.nz</email>
</author>
<published>2022-03-14T05:18:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=1137ebc654e4dfd91601abd20262024063a495c8'/>
<id>1137ebc654e4dfd91601abd20262024063a495c8</id>
<content type='text'>
Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sddl: Add new SDDL SID strings</title>
<updated>2022-03-17T23:11:37+00:00</updated>
<author>
<name>Joseph Sutton</name>
<email>josephsutton@catalyst.net.nz</email>
</author>
<published>2022-03-14T05:18:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=732d17a129ab0f48d0025f5992af38d442b1fc6a'/>
<id>732d17a129ab0f48d0025f5992af38d442b1fc6a</id>
<content type='text'>
Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sddl: Fix incorrect SDDL SID strings</title>
<updated>2022-03-17T23:11:37+00:00</updated>
<author>
<name>Joseph Sutton</name>
<email>josephsutton@catalyst.net.nz</email>
</author>
<published>2022-03-14T05:14:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=e61fa573fe1a911460cfb3b64ba05b031d124256'/>
<id>e61fa573fe1a911460cfb3b64ba05b031d124256</id>
<content type='text'>
Change the values to match those used by Windows.

Verified with PowerShell commands of the form:
New-Object Security.Principal.SecurityIdentifier ER

Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change the values to match those used by Windows.

Verified with PowerShell commands of the form:
New-Object Security.Principal.SecurityIdentifier ER

Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: libcli: Rename smb_key_derivation() -&gt; smb1_key_derivation()</title>
<updated>2022-03-08T22:12:37+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2022-03-08T03:41:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=3e021c3762fce4f5c238da5ab36797c3d6fba1a5'/>
<id>3e021c3762fce4f5c238da5ab36797c3d6fba1a5</id>
<content type='text'>
Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Signed-off-by: David Mulder &lt;dmulder@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Signed-off-by: David Mulder &lt;dmulder@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: libcli: Rename smb_signing_is_negotiated() -&gt; smb1_signing_is_negotiated()</title>
<updated>2022-03-08T22:12:37+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2022-03-08T03:39:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=0b391fc19f7098ce2f7b8faf22adab1fbb34bee7'/>
<id>0b391fc19f7098ce2f7b8faf22adab1fbb34bee7</id>
<content type='text'>
Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Signed-off-by: David Mulder &lt;dmulder@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Signed-off-by: David Mulder &lt;dmulder@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: libcli: Rename smb_signing_set_negotiated() -&gt; smb1_signing_set_negotiated()</title>
<updated>2022-03-08T22:12:37+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2022-03-08T03:38:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=7a385775eeccd5a36a2767052133c7e4bcfbf904'/>
<id>7a385775eeccd5a36a2767052133c7e4bcfbf904</id>
<content type='text'>
Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Signed-off-by: David Mulder &lt;dmulder@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Signed-off-by: David Mulder &lt;dmulder@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: libcli: Rename smb_signing_is_mandatory() -&gt; smb1_signing_is_mandatory()</title>
<updated>2022-03-08T22:12:37+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2022-03-08T03:36:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=79633b42d6199da3b9764c28772308de08c3c94e'/>
<id>79633b42d6199da3b9764c28772308de08c3c94e</id>
<content type='text'>
Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Signed-off-by: David Mulder &lt;dmulder@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Signed-off-by: David Mulder &lt;dmulder@samba.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
