<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/auth, branch master</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>auth: Check return of talloc_strdup() for NULL</title>
<updated>2026-03-31T09:18:43+00:00</updated>
<author>
<name>Pavel Filipenský</name>
<email>pfilipensky@samba.org</email>
</author>
<published>2026-03-08T18:06:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d83ba56f07bd39b24dfa9dae31e0a9b4b513a4f9'/>
<id>d83ba56f07bd39b24dfa9dae31e0a9b4b513a4f9</id>
<content type='text'>
Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;

Autobuild-User(master): Pavel Filipensky &lt;pfilipensky@samba.org&gt;
Autobuild-Date(master): Tue Mar 31 09:18:43 UTC 2026 on atb-devel-224
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;

Autobuild-User(master): Pavel Filipensky &lt;pfilipensky@samba.org&gt;
Autobuild-Date(master): Tue Mar 31 09:18:43 UTC 2026 on atb-devel-224
</pre>
</div>
</content>
</entry>
<entry>
<title>auth: Call talloc_keep_secret() for sensitive memory</title>
<updated>2026-03-31T08:15:33+00:00</updated>
<author>
<name>Pavel Filipenský</name>
<email>pfilipensky@samba.org</email>
</author>
<published>2026-03-07T20:03:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=05e8fe98a24e5e5f7c4efcb83607985bf410a531'/>
<id>05e8fe98a24e5e5f7c4efcb83607985bf410a531</id>
<content type='text'>
Signed-off-by: Pavel Filipenský &lt;pfilipensky@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: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>auth: Call ZERO_ARRAY()/ZERO_STRUCT() for sensitive variables on stack</title>
<updated>2026-03-31T08:15:33+00:00</updated>
<author>
<name>Pavel Filipenský</name>
<email>pfilipensky@samba.org</email>
</author>
<published>2026-03-08T07:43:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=467bb39f65f8f5194e33487f27a6f35bb7cb31d7'/>
<id>467bb39f65f8f5194e33487f27a6f35bb7cb31d7</id>
<content type='text'>
Signed-off-by: Pavel Filipenský &lt;pfilipensky@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: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>auth: Remove talloc_set_name_const() if talloc_keep_secret() changes the talloc name</title>
<updated>2026-03-25T21:16:35+00:00</updated>
<author>
<name>Pavel Filipenský</name>
<email>pfilipensky@samba.org</email>
</author>
<published>2026-03-11T19:07:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c891b337f03a3b619bad804130beb5c6d087e9d0'/>
<id>c891b337f03a3b619bad804130beb5c6d087e9d0</id>
<content type='text'>
Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;

Autobuild-User(timing): Pavel Filipensky &lt;pfilipensky@samba.org&gt;
Autobuild-Date(timing): Wed Mar 25 21:16:35 UTC 2026 on atb-devel-224
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;

Autobuild-User(timing): Pavel Filipensky &lt;pfilipensky@samba.org&gt;
Autobuild-Date(timing): Wed Mar 25 21:16:35 UTC 2026 on atb-devel-224
</pre>
</div>
</content>
</entry>
<entry>
<title>auth/credentials: Add talloc_keep_secret() to zero out old_password</title>
<updated>2026-03-25T20:10:37+00:00</updated>
<author>
<name>Pavel Filipenský</name>
<email>pfilipensky@samba.org</email>
</author>
<published>2026-03-11T19:11:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=6940cfa816acc956e016ecfa87d18843aa8b4247'/>
<id>6940cfa816acc956e016ecfa87d18843aa8b4247</id>
<content type='text'>
Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>auth/credentials: Check talloc_strdup() for NULL</title>
<updated>2026-03-25T20:10:37+00:00</updated>
<author>
<name>Pavel Filipenský</name>
<email>pfilipensky@samba.org</email>
</author>
<published>2026-03-12T08:21:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d1b2e0bafab20077a00434281ab8f25757b0b970'/>
<id>d1b2e0bafab20077a00434281ab8f25757b0b970</id>
<content type='text'>
Return false if talloc_strdup() fails.

Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Return false if talloc_strdup() fails.

Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>auth/credentials: Fix regression with --use-kerberos=desired for smbclient</title>
<updated>2026-02-17T15:03:39+00:00</updated>
<author>
<name>Noel Power</name>
<email>noel.power@suse.com</email>
</author>
<published>2026-01-19T15:46:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=88f42eb222f299189d5f5f8204ae353e63a50970'/>
<id>88f42eb222f299189d5f5f8204ae353e63a50970</id>
<content type='text'>
As part of the gse_krb5 processing the following call chain

gensec_gse_client_start()
  ---&gt; gensec_kerberos_possible()
         ---&gt; cli_credentials_authentication_requested()

gensec_kerberos_possible()  will always fail when
cli_credentials_get_kerberos_state() returns CRED_USE_KERBEROS_DESIRED

It seems since use kerberos == desired is the default that it isn't
necessary to see if credentials were modified to indicated authentication
was requested. gensec_kerberos_possible() should afaics return true
if kerberos is desired OR required (regardless of whether credentials
were requested)

This commit removes the knownfail associated with this bug.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=15789
Signed-off-by: &lt;noel.power@suse.com&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As part of the gse_krb5 processing the following call chain

gensec_gse_client_start()
  ---&gt; gensec_kerberos_possible()
         ---&gt; cli_credentials_authentication_requested()

gensec_kerberos_possible()  will always fail when
cli_credentials_get_kerberos_state() returns CRED_USE_KERBEROS_DESIRED

It seems since use kerberos == desired is the default that it isn't
necessary to see if credentials were modified to indicated authentication
was requested. gensec_kerberos_possible() should afaics return true
if kerberos is desired OR required (regardless of whether credentials
were requested)

This commit removes the knownfail associated with this bug.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=15789
Signed-off-by: &lt;noel.power@suse.com&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>auth: Align integer types</title>
<updated>2026-02-15T10:42:34+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2026-02-03T17:49:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b34fc682c519c92f942efa1ea44191f61158bfbc'/>
<id>b34fc682c519c92f942efa1ea44191f61158bfbc</id>
<content type='text'>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Anoop C S &lt;anoopcs@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: Anoop C S &lt;anoopcs@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>auth: Avoid a DEBUGADD in kerberos_decode_pac()</title>
<updated>2026-02-15T10:42:34+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2026-02-03T17:47:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=2cb1ee26d45ce0fb14c8ef014ecf2c8127828e71'/>
<id>2cb1ee26d45ce0fb14c8ef014ecf2c8127828e71</id>
<content type='text'>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Anoop C S &lt;anoopcs@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: Anoop C S &lt;anoopcs@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>auth: Refactor check_pac_checksum to improve readability</title>
<updated>2026-02-15T10:42:34+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2026-02-03T17:34:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=271228384c4d6f015aa725af2e63b0aef1686ef0'/>
<id>271228384c4d6f015aa725af2e63b0aef1686ef0</id>
<content type='text'>
Use ARRAY_SIZE over terminating array element. Easier to read for me.

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Anoop C S &lt;anoopcs@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use ARRAY_SIZE over terminating array element. Easier to read for me.

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Anoop C S &lt;anoopcs@samba.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
