<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source4/lib/tls, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/'/>
<entry>
<title>build: Require GnuTLS if building with Active Directory</title>
<updated>2015-02-25T00:08:12+00:00</updated>
<author>
<name>Garming Sam</name>
<email>garming@catalyst.net.nz</email>
</author>
<published>2015-02-13T03:49:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=a1f1db277a2c452b63b9fe2d67cabfe0df60223d'/>
<id>a1f1db277a2c452b63b9fe2d67cabfe0df60223d</id>
<content type='text'>
Without GnuTLS, we don't have ldaps:// support and we are unable to
readily create RSA keys of the correct length for the BackupKey
protocol.

Signed-off-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without GnuTLS, we don't have ldaps:// support and we are unable to
readily create RSA keys of the correct length for the BackupKey
protocol.

Signed-off-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:lib/tls: explicitly use allow_warnings=True</title>
<updated>2014-04-02T07:03:46+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2014-02-26T06:35:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=bb187cc1e94040ad06d0af507a51284baa297aac'/>
<id>bb187cc1e94040ad06d0af507a51284baa297aac</id>
<content type='text'>
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "s4:tls_tstream: allow mode of SSL keyfile to be 0400, not only 0600"</title>
<updated>2014-03-28T11:37:17+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2014-03-28T09:24:56+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=a2c34798782a1e4783c258d4e1950a2150d70e18'/>
<id>a2c34798782a1e4783c258d4e1950a2150d70e18</id>
<content type='text'>
This reverts commit 05c1fe50556e2330e23b7efb38e653428b9bdadf.

This was discussed here:
https://bugzilla.samba.org/show_bug.cgi?id=10392#c11

This generated warnings like:
invalid permissions on file
'/memdisk/metze/W/b138235/samba/bin/ab/promoted_dc/private/tls/key.pem': has
0600 should be 0400'.

I think we need a better way. Maybe file_check_permissions()
should get allow_perms and deny_perms. And we would call it
with allow_perms = 0400 and deny_perms = 0177. And bits in none
of them are ignored.

For now we revert this and wait for a better fix.

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;

Autobuild-User(master): Stefan Metzmacher &lt;metze@samba.org&gt;
Autobuild-Date(master): Fri Mar 28 12:37:17 CET 2014 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 05c1fe50556e2330e23b7efb38e653428b9bdadf.

This was discussed here:
https://bugzilla.samba.org/show_bug.cgi?id=10392#c11

This generated warnings like:
invalid permissions on file
'/memdisk/metze/W/b138235/samba/bin/ab/promoted_dc/private/tls/key.pem': has
0600 should be 0400'.

I think we need a better way. Maybe file_check_permissions()
should get allow_perms and deny_perms. And we would call it
with allow_perms = 0400 and deny_perms = 0177. And bits in none
of them are ignored.

For now we revert this and wait for a better fix.

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;

Autobuild-User(master): Stefan Metzmacher &lt;metze@samba.org&gt;
Autobuild-Date(master): Fri Mar 28 12:37:17 CET 2014 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:tls_tstream: allow mode of SSL keyfile to be 0400, not only 0600</title>
<updated>2014-01-31T00:27:03+00:00</updated>
<author>
<name>Michael Brown</name>
<email>michael@netdirect.ca</email>
</author>
<published>2014-01-22T03:23:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=05c1fe50556e2330e23b7efb38e653428b9bdadf'/>
<id>05c1fe50556e2330e23b7efb38e653428b9bdadf</id>
<content type='text'>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10392

Signed-off-by: Michael Brown &lt;michael@netdirect.ca&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;

Autobuild-User(master): Stefan Metzmacher &lt;metze@samba.org&gt;
Autobuild-Date(master): Fri Jan 31 01:27:03 CET 2014 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10392

Signed-off-by: Michael Brown &lt;michael@netdirect.ca&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;

Autobuild-User(master): Stefan Metzmacher &lt;metze@samba.org&gt;
Autobuild-Date(master): Fri Jan 31 01:27:03 CET 2014 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>tls: Fix CID 242014 Uninitialized scalar variable</title>
<updated>2013-11-13T08:01:55+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2013-11-11T21:32:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=91b04f708f790447552dc196e2bc0d2ae2e4379d'/>
<id>91b04f708f790447552dc196e2bc0d2ae2e4379d</id>
<content type='text'>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tls: Fix some noblank line endings</title>
<updated>2013-11-13T08:01:55+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2013-11-11T21:26:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=2be1eeab7f66a4b606001959c79c6d09b6be87f3'/>
<id>2be1eeab7f66a4b606001959c79c6d09b6be87f3</id>
<content type='text'>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CVE-2013-4476: s4:libtls: check for safe permissions of tls private key file (key.pem)</title>
<updated>2013-11-11T12:07:16+00:00</updated>
<author>
<name>Björn Baumbach</name>
<email>bb@sernet.de</email>
</author>
<published>2013-10-29T16:53:59+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=22af043d2f20760f27150d7d469c7c7b944c6b55'/>
<id>22af043d2f20760f27150d7d469c7c7b944c6b55</id>
<content type='text'>
If the tls key is not owned by root or has not mode 0600 samba will not
start up.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10234

Pair-Programmed-With: Stefan Metzmacher &lt;metze@samba.org&gt;

Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;

Autobuild-User(master): Karolin Seeger &lt;kseeger@samba.org&gt;
Autobuild-Date(master): Mon Nov 11 13:07:16 CET 2013 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the tls key is not owned by root or has not mode 0600 samba will not
start up.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10234

Pair-Programmed-With: Stefan Metzmacher &lt;metze@samba.org&gt;

Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;

Autobuild-User(master): Karolin Seeger &lt;kseeger@samba.org&gt;
Autobuild-Date(master): Mon Nov 11 13:07:16 CET 2013 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>CVE-2013-4476: s4:libtls: Create tls private key file (key.pem) with mode 0600</title>
<updated>2013-11-11T10:14:36+00:00</updated>
<author>
<name>Björn Baumbach</name>
<email>bb@sernet.de</email>
</author>
<published>2013-10-29T16:52:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=e0248cde8dcd82f348218665f5edd6b30cd3ef1f'/>
<id>e0248cde8dcd82f348218665f5edd6b30cd3ef1f</id>
<content type='text'>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10234

Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10234

Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4-lib/tls: Try socket_send() multiple times to send partial packets</title>
<updated>2012-07-18T09:23:55+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2012-07-18T05:28:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=d0d05f8474ed1882d373f042aba2c0209247678a'/>
<id>d0d05f8474ed1882d373f042aba2c0209247678a</id>
<content type='text'>
This works around an artificial limitation in socket_wrapper that breaks
some versions of GnuTLS when we return a short write.

Instead, keep pushing until the OS will not take it.

The correct solution will be to use tls_tstream, but the client code
for this is not yet tested and needs the ldap client layer changed
to use it.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Wed Jul 18 11:23:55 CEST 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This works around an artificial limitation in socket_wrapper that breaks
some versions of GnuTLS when we return a short write.

Instead, keep pushing until the OS will not take it.

The correct solution will be to use tls_tstream, but the client code
for this is not yet tested and needs the ldap client layer changed
to use it.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Wed Jul 18 11:23:55 CEST 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:lib/tls - include GNUTLS headers consistently using &lt;...&gt;</title>
<updated>2012-02-17T23:43:58+00:00</updated>
<author>
<name>Matthias Dieter Wallnöfer</name>
<email>mdw@samba.org</email>
</author>
<published>2012-02-17T21:58:07+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=32c82fe69b588fe18674c0bda49cd7fc0f73f50a'/>
<id>32c82fe69b588fe18674c0bda49cd7fc0f73f50a</id>
<content type='text'>
These are system-specific.

Reviewed-by: Jelmer

Autobuild-User: Matthias Dieter Wallnöfer &lt;mdw@samba.org&gt;
Autobuild-Date: Sat Feb 18 00:43:58 CET 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are system-specific.

Reviewed-by: Jelmer

Autobuild-User: Matthias Dieter Wallnöfer &lt;mdw@samba.org&gt;
Autobuild-Date: Sat Feb 18 00:43:58 CET 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
</feed>
