<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/python/samba, branch talloc-2.3.2</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>tests python krb5: Add python kerberos compatability tests</title>
<updated>2020-11-09T02:46:50+00:00</updated>
<author>
<name>Gary Lockyer</name>
<email>gary@catalyst.net.nz</email>
</author>
<published>2020-11-04T00:58:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=1e1d8b9c83f32c06ecab31214a20b77529ee038e'/>
<id>1e1d8b9c83f32c06ecab31214a20b77529ee038e</id>
<content type='text'>
Add new python test to document the differences between the MIT and
Heimdal Kerberos implementations.

Signed-off-by: Gary Lockyer &lt;gary@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>
Add new python test to document the differences between the MIT and
Heimdal Kerberos implementations.

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>selftest: add a test for the CreateTrustedDomainRelax wrapper</title>
<updated>2020-11-06T10:02:35+00:00</updated>
<author>
<name>Isaac Boukris</name>
<email>iboukris@gmail.com</email>
</author>
<published>2020-09-01T17:14:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=cfaad16ff632df83a881fe5d8ec498bab102c9c9'/>
<id>cfaad16ff632df83a881fe5d8ec498bab102c9c9</id>
<content type='text'>
Originally copied from 'source4/scripting/devel/createtrust'
(had to drop the TRUST_AUTH_TYPE_VERSION part though, as it
fails against samba DC).

Signed-off-by: Isaac Boukris &lt;iboukris@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Alexander Bokovoy &lt;ab@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Originally copied from 'source4/scripting/devel/createtrust'
(had to drop the TRUST_AUTH_TYPE_VERSION part though, as it
fails against samba DC).

Signed-off-by: Isaac Boukris &lt;iboukris@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Alexander Bokovoy &lt;ab@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the new CreateTrustedDomainRelax()</title>
<updated>2020-11-06T10:02:35+00:00</updated>
<author>
<name>Isaac Boukris</name>
<email>iboukris@gmail.com</email>
</author>
<published>2020-08-20T10:49:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=baf4e2930ee13b47c23c63c7e945fdc4444f0c69'/>
<id>baf4e2930ee13b47c23c63c7e945fdc4444f0c69</id>
<content type='text'>
Signed-off-by: Isaac Boukris &lt;iboukris@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Alexander Bokovoy &lt;ab@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Isaac Boukris &lt;iboukris@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Alexander Bokovoy &lt;ab@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add CreateTrustedDomainRelax wrapper for fips mode</title>
<updated>2020-11-06T10:02:35+00:00</updated>
<author>
<name>Isaac Boukris</name>
<email>iboukris@gmail.com</email>
</author>
<published>2020-08-20T10:47:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c2644032b49b4160517a7c73634cebc54a76f827'/>
<id>c2644032b49b4160517a7c73634cebc54a76f827</id>
<content type='text'>
Signed-off-by: Isaac Boukris &lt;iboukris@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Alexander Bokovoy &lt;ab@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Isaac Boukris &lt;iboukris@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Alexander Bokovoy &lt;ab@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>selftest: add a test for py dce transport_encrypted</title>
<updated>2020-11-06T10:02:35+00:00</updated>
<author>
<name>Isaac Boukris</name>
<email>iboukris@gmail.com</email>
</author>
<published>2020-08-20T10:44:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=a77551bea969ce73a3dc27384d94b4126bef04f7'/>
<id>a77551bea969ce73a3dc27384d94b4126bef04f7</id>
<content type='text'>
Signed-off-by: Isaac Boukris &lt;iboukris@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Alexander Bokovoy &lt;ab@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Isaac Boukris &lt;iboukris@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Alexander Bokovoy &lt;ab@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "cli_credentials_parse_string: fix parsing of principals"</title>
<updated>2020-11-05T06:30:31+00:00</updated>
<author>
<name>Alexander Bokovoy</name>
<email>ab@samba.org</email>
</author>
<published>2020-11-04T17:20:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=49efe0ca0b07396764f78434989165f941cf5f91'/>
<id>49efe0ca0b07396764f78434989165f941cf5f91</id>
<content type='text'>
This reverts commit eb0474d27bae4592b25ac6bf600da29c6a1cb9f8.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit eb0474d27bae4592b25ac6bf600da29c6a1cb9f8.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests python krb5: Add python kerberos canonicalization tests</title>
<updated>2020-11-04T22:54:41+00:00</updated>
<author>
<name>Gary Lockyer</name>
<email>gary@catalyst.net.nz</email>
</author>
<published>2020-10-26T20:32:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=005435dc4d7de9d442c7513edec8c782fe20fda3'/>
<id>005435dc4d7de9d442c7513edec8c782fe20fda3</id>
<content type='text'>
Add python canonicalization tests, loosely based on the code in
source4/torture/krb5/kdc-canon-heimdal.c.  The long term goal is to move
the integration level tests out of kdc-canon-heimdal, leaving it as a
heimdal library unit test.

Signed-off-by: Gary Lockyer &lt;gary@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>
Add python canonicalization tests, loosely based on the code in
source4/torture/krb5/kdc-canon-heimdal.c.  The long term goal is to move
the integration level tests out of kdc-canon-heimdal, leaving it as a
heimdal library unit test.

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests python krb5: Add canonicalize flag to ASN1</title>
<updated>2020-11-04T22:54:41+00:00</updated>
<author>
<name>Gary Lockyer</name>
<email>gary@catalyst.net.nz</email>
</author>
<published>2020-10-26T20:31:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=41c8aa4b991aad306d731b08d068c480eb5c7fed'/>
<id>41c8aa4b991aad306d731b08d068c480eb5c7fed</id>
<content type='text'>
Add the canonicalize flag to KerberosFlags, so that it can be used in
python based canonicalization tests.

Signed-off-by: Gary Lockyer &lt;gary@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>
Add the canonicalize flag to KerberosFlags, so that it can be used in
python based canonicalization tests.

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests python krb5: Make PrincipalName_create a class method</title>
<updated>2020-11-04T22:54:41+00:00</updated>
<author>
<name>Gary Lockyer</name>
<email>gary@catalyst.net.nz</email>
</author>
<published>2020-10-26T20:29:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b14dca7c1c063e069517ff01b33c63a000d398c3'/>
<id>b14dca7c1c063e069517ff01b33c63a000d398c3</id>
<content type='text'>
Make PrincipalName_create a class method, so it can be used in helper
classes.

Signed-off-by: Gary Lockyer &lt;gary@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>
Make PrincipalName_create a class method, so it can be used in helper
classes.

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cli_credentials_parse_string: fix parsing of principals</title>
<updated>2020-11-04T14:59:34+00:00</updated>
<author>
<name>Alexander Bokovoy</name>
<email>ab@samba.org</email>
</author>
<published>2020-10-07T16:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=eb0474d27bae4592b25ac6bf600da29c6a1cb9f8'/>
<id>eb0474d27bae4592b25ac6bf600da29c6a1cb9f8</id>
<content type='text'>
When parsing a principal-like name, user name was left with full
principal instead of taking only the left part before '@' sign.

&gt;&gt;&gt; from samba import credentials
&gt;&gt;&gt; t = credentials.Credentials()
&gt;&gt;&gt; t.parse_string('admin@realm.test', credentials.SPECIFIED)
&gt;&gt;&gt; t.get_username()
'admin@realm.test'

The issue is that cli_credentials_set_username() does a talloc_strdup()
of the argument, so we need to change order of assignment to allow
talloc_strdup() to copy the right part of the string.

Signed-off-by: Alexander Bokovoy &lt;ab@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When parsing a principal-like name, user name was left with full
principal instead of taking only the left part before '@' sign.

&gt;&gt;&gt; from samba import credentials
&gt;&gt;&gt; t = credentials.Credentials()
&gt;&gt;&gt; t.parse_string('admin@realm.test', credentials.SPECIFIED)
&gt;&gt;&gt; t.get_username()
'admin@realm.test'

The issue is that cli_credentials_set_username() does a talloc_strdup()
of the argument, so we need to change order of assignment to allow
talloc_strdup() to copy the right part of the string.

Signed-off-by: Alexander Bokovoy &lt;ab@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
