<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source3/utils, 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>s3/rpc_server: Add worker status smbcontrol message support</title>
<updated>2026-04-14T12:12:07+00:00</updated>
<author>
<name>Noel Power</name>
<email>noel.power@suse.com</email>
</author>
<published>2026-02-11T08:45:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f0455c7430ffca4f7a94bbd8f9e5a04fa98905ee'/>
<id>f0455c7430ffca4f7a94bbd8f9e5a04fa98905ee</id>
<content type='text'>
Add information about the number of connections a rpc_worker
process is handling and when each connection was initiated.

command
  smbcontrol 55063 rpc-dump-worker-status

will output data like below:

  rpcd_spoolss pid 55063:
      num connections = 2
      num_association_groups = 2
      last client connection 2026/03/18 06:51:04.482192
      last client disconnection 2026/03/18 06:51:00.304951
   active connections:
      [1] endpoint=ncacn_np:[\pipe\spoolss] client addr=192.168.32.175 server=priu0002 connected at 2026/03/18 06:51:04.482192
      [2] endpoint=ncacn_np:[\pipe\spoolss] client addr=192.168.33.232 server=priu0002 connected at 2026/03/18 06:47:08.466157

Signed-off-by: Noel Power &lt;noel.power@suse.com&gt;
Reviewed-by: Volker Lendecke &lt;vl@samba.org&gt;

Autobuild-User(master): Noel Power &lt;npower@samba.org&gt;
Autobuild-Date(master): Tue Apr 14 12:12:07 UTC 2026 on atb-devel-224
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add information about the number of connections a rpc_worker
process is handling and when each connection was initiated.

command
  smbcontrol 55063 rpc-dump-worker-status

will output data like below:

  rpcd_spoolss pid 55063:
      num connections = 2
      num_association_groups = 2
      last client connection 2026/03/18 06:51:04.482192
      last client disconnection 2026/03/18 06:51:00.304951
   active connections:
      [1] endpoint=ncacn_np:[\pipe\spoolss] client addr=192.168.32.175 server=priu0002 connected at 2026/03/18 06:51:04.482192
      [2] endpoint=ncacn_np:[\pipe\spoolss] client addr=192.168.33.232 server=priu0002 connected at 2026/03/18 06:47:08.466157

Signed-off-by: Noel Power &lt;noel.power@suse.com&gt;
Reviewed-by: Volker Lendecke &lt;vl@samba.org&gt;

Autobuild-User(master): Noel Power &lt;npower@samba.org&gt;
Autobuild-Date(master): Tue Apr 14 12:12:07 UTC 2026 on atb-devel-224
</pre>
</div>
</content>
</entry>
<entry>
<title>net: Use create_conn_struct_chdir() in "net vfs"</title>
<updated>2026-03-01T20:19:35+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2026-02-16T12:43:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=ac89da0538a9ad5d0d1ebef47d03c0d3e83200e7'/>
<id>ac89da0538a9ad5d0d1ebef47d03c0d3e83200e7</id>
<content type='text'>
We don't need to jump back to the previous cwd when exiting from the
net vfs process.

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>
We don't need to jump back to the previous cwd when exiting from the
net vfs process.

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>s3:utils: Fix misleading recursive flag in smbget error message</title>
<updated>2026-02-16T15:37:04+00:00</updated>
<author>
<name>DESKTOP-73571CJ\User</name>
<email>hugochiaxyz.nus@gmail.com</email>
</author>
<published>2026-02-11T08:04:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4468d8274c6df1c5d6d6430b6ea768c40048fe8a'/>
<id>4468d8274c6df1c5d6d6430b6ea768c40048fe8a</id>
<content type='text'>
The error message in smbget incorrectly instructs users to use "-R" for
recursive downloads.

In recent Samba versions, the "-R" flag was repurposed for
"--name-resolve" to align with other tools. The correct flag for
recursion is now "--recursive". This mismatch causes confusion as using
"-R" triggers a parameter parsing error rather than enabling recursion.

This patch updates the error string to correctly suggest "--recursive"
instead of "-R".

RN: smbget: Fix error message suggesting wrong flag for recursion.

Signed-off-by: Hugo Chia hugochiaxyz.nus@gmail.com
Reviewed-by: Anoop C S &lt;anoopcs@samba.org&gt;
Reviewed-by: John Mulligan &lt;jmulligan@redhat.com&gt;

Autobuild-User(master): Anoop C S &lt;anoopcs@samba.org&gt;
Autobuild-Date(master): Mon Feb 16 15:37:04 UTC 2026 on atb-devel-224
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The error message in smbget incorrectly instructs users to use "-R" for
recursive downloads.

In recent Samba versions, the "-R" flag was repurposed for
"--name-resolve" to align with other tools. The correct flag for
recursion is now "--recursive". This mismatch causes confusion as using
"-R" triggers a parameter parsing error rather than enabling recursion.

This patch updates the error string to correctly suggest "--recursive"
instead of "-R".

RN: smbget: Fix error message suggesting wrong flag for recursion.

Signed-off-by: Hugo Chia hugochiaxyz.nus@gmail.com
Reviewed-by: Anoop C S &lt;anoopcs@samba.org&gt;
Reviewed-by: John Mulligan &lt;jmulligan@redhat.com&gt;

Autobuild-User(master): Anoop C S &lt;anoopcs@samba.org&gt;
Autobuild-Date(master): Mon Feb 16 15:37:04 UTC 2026 on atb-devel-224
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:utils: 'net ads kerberos kinit' should use also default ccache name from krb5.conf</title>
<updated>2026-02-05T19:59:36+00:00</updated>
<author>
<name>Pavel Filipenský</name>
<email>pfilipensky@samba.org</email>
</author>
<published>2026-02-03T11:53:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4cc6a13590434f6a3aa1add663728188970d727e'/>
<id>4cc6a13590434f6a3aa1add663728188970d727e</id>
<content type='text'>
This is re-introducing the behavior from samba-4.20 where both these
commands operated on the same ccache (default_ccache_name in
[libdefaults] section of krb5.conf)

 'net ads kerberos kinit -P'
 'klist'

 With samba-4.21 it no longer works, 'net ads kerberos kinit -P'
 fallbacks to 'MEMORY:net' (which is of a very limited use, ticket
 cannot be used by other process) and klist finds no ticket.

 The order is changed from:

    --use-krb5-ccache
    env "KRB5CCNAME"
    "MEMORY:net"

to ("MEMORY:net" is removed):

    --use-krb5-ccache
    env "KRB5CCNAME"
    default_ccache_name

'--use-krb5-ccache=MEMORY:net' can be used to validate the credentials.

Use smb_force_krb5_cc_default_name() instead of krb5_cc_default_name()
because of commit:
1ca6fb5 make sure krb5_cc_default[_name]() is no longer used directly

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>
This is re-introducing the behavior from samba-4.20 where both these
commands operated on the same ccache (default_ccache_name in
[libdefaults] section of krb5.conf)

 'net ads kerberos kinit -P'
 'klist'

 With samba-4.21 it no longer works, 'net ads kerberos kinit -P'
 fallbacks to 'MEMORY:net' (which is of a very limited use, ticket
 cannot be used by other process) and klist finds no ticket.

 The order is changed from:

    --use-krb5-ccache
    env "KRB5CCNAME"
    "MEMORY:net"

to ("MEMORY:net" is removed):

    --use-krb5-ccache
    env "KRB5CCNAME"
    default_ccache_name

'--use-krb5-ccache=MEMORY:net' can be used to validate the credentials.

Use smb_force_krb5_cc_default_name() instead of krb5_cc_default_name()
because of commit:
1ca6fb5 make sure krb5_cc_default[_name]() is no longer used directly

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>s3:utils:status_json fix Non-boolean returned</title>
<updated>2026-01-15T09:18:21+00:00</updated>
<author>
<name>Gary Lockyer</name>
<email>gary@catalyst.net.nz</email>
</author>
<published>2026-01-15T03:10:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=90c806d3083d4e88d8c6626becd50b322117f213'/>
<id>90c806d3083d4e88d8c6626becd50b322117f213</id>
<content type='text'>
Fix cppcheck

source3/utils/status_json.c:1385:3: style: Non-boolean value returned
    from function returning bool [returnNonBoolInBooleanFunction]

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

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Anoop C S &lt;anoopcs@samba.org&gt;

Autobuild-User(master): Anoop C S &lt;anoopcs@samba.org&gt;
Autobuild-Date(master): Thu Jan 15 09:18:21 UTC 2026 on atb-devel-224
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix cppcheck

source3/utils/status_json.c:1385:3: style: Non-boolean value returned
    from function returning bool [returnNonBoolInBooleanFunction]

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

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Anoop C S &lt;anoopcs@samba.org&gt;

Autobuild-User(master): Anoop C S &lt;anoopcs@samba.org&gt;
Autobuild-Date(master): Thu Jan 15 09:18:21 UTC 2026 on atb-devel-224
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: Remove unnecessary assignments</title>
<updated>2026-01-07T09:57:40+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2025-12-24T09:58:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=6f6ee0436421a27362b151f7121004ead6570aaa'/>
<id>6f6ee0436421a27362b151f7121004ead6570aaa</id>
<content type='text'>
data_blob_free() already NULLs out its argument

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>
data_blob_free() already NULLs out its argument

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>lib: Don't call a function to initialize an empty DATA_BLOB</title>
<updated>2026-01-07T09:57:40+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2025-12-24T08:41:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=ff627b2b41eba26a0dbe7744b6a027e001583828'/>
<id>ff627b2b41eba26a0dbe7744b6a027e001583828</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>s3-net: properly setup krb5 ccache name via --use-krb5-ccache</title>
<updated>2026-01-05T14:35:43+00:00</updated>
<author>
<name>Günther Deschner</name>
<email>gd@samba.org</email>
</author>
<published>2025-12-02T15:56:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=ca70b7433ad7a661f4795764e34c183d19a76cca'/>
<id>ca70b7433ad7a661f4795764e34c183d19a76cca</id>
<content type='text'>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15840

Guenther

Signed-off-by: Guenther Deschner &lt;gd@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>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15840

Guenther

Signed-off-by: Guenther Deschner &lt;gd@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:testparm: Fix "sync machine password to keytab" validation</title>
<updated>2025-12-23T09:43:56+00:00</updated>
<author>
<name>Samuel Cabrero</name>
<email>scabrero@samba.org</email>
</author>
<published>2025-12-09T09:01:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=67bdf268c978400ef016d34d70c21a85dbbfa9ea'/>
<id>67bdf268c978400ef016d34d70c21a85dbbfa9ea</id>
<content type='text'>
Signed-off-by: Samuel Cabrero &lt;scabrero@samba.org&gt;
Reviewed-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;

Autobuild-User(master): Samuel Cabrero &lt;scabrero@samba.org&gt;
Autobuild-Date(master): Tue Dec 23 09:43:56 UTC 2025 on atb-devel-224
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Samuel Cabrero &lt;scabrero@samba.org&gt;
Reviewed-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;

Autobuild-User(master): Samuel Cabrero &lt;scabrero@samba.org&gt;
Autobuild-Date(master): Tue Dec 23 09:43:56 UTC 2025 on atb-devel-224
</pre>
</div>
</content>
</entry>
<entry>
<title>net/serverid: initialize state-&gt;open_db</title>
<updated>2025-11-27T09:01:29+00:00</updated>
<author>
<name>Ralph Boehme</name>
<email>slow@samba.org</email>
</author>
<published>2025-11-24T07:25:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=7b5e87ba35fe63674fc5da43d8c20a8319007e44'/>
<id>7b5e87ba35fe63674fc5da43d8c20a8319007e44</id>
<content type='text'>
Fixes a crash that happens when smbXsrv_open_global.tdb contains only replay
records.

  #0  0x00007ffff70a718a in dbwrap_exists (db=0x0, key=...) at ../../lib/dbwrap/dbwrap.c:347
  #1  0x00000000002dc7f2 in wipedbs_traverse_replay_records (rec=0x7fffffffd180, wipedbs_state=0x362d70)
      at ../../source3/utils/net_serverid.c:710
  #2  0x00007ffff70aa932 in db_rbt_traverse_internal (db=0x37e940, f=0x2dc749 &lt;wipedbs_traverse_replay_records&gt;, private_data=0x362d70,
      count=0x7fffffffd220, rw=false) at ../../lib/dbwrap/dbwrap_rbt.c:472
  #3  0x00007ffff70aaa0e in db_rbt_traverse_read (db=0x37e940, f=0x2dc749 &lt;wipedbs_traverse_replay_records&gt;, private_data=0x362d70)
      at ../../lib/dbwrap/dbwrap_rbt.c:499
  #4  0x00007ffff70a7433 in dbwrap_traverse_read (db=0x37e940, f=0x2dc749 &lt;wipedbs_traverse_replay_records&gt;, private_data=0x362d70, count=0x0)
      at ../../lib/dbwrap/dbwrap.c:437
  #5  0x00000000002dcedf in net_serverid_wipedbs (c=0x34c0d0, argc=0, argv=0x365380) at ../../source3/utils/net_serverid.c:840
  #6  0x00000000002c9675 in net_run_function (c=0x34c0d0, argc=1, argv=0x365378, whoami=0x258c96 "net tdb smbXsrv", table=0x7fffffffd360)
      at ../../source3/utils/net_util.c:451
  #7  0x00000000002e6e2c in net_tdb_smbXsrv (c=0x34c0d0, argc=1, argv=0x365378) at ../../source3/utils/net_tdb.c:105
  #8  0x00000000002c9675 in net_run_function (c=0x34c0d0, argc=2, argv=0x365370, whoami=0x258d45 "net tdb", table=0x7fffffffd440)
      at ../../source3/utils/net_util.c:451
  #9  0x00000000002e6f04 in net_tdb (c=0x34c0d0, argc=2, argv=0x365370) at ../../source3/utils/net_tdb.c:128
  #10 0x00000000002c9675 in net_run_function (c=0x34c0d0, argc=3, argv=0x365368, whoami=0x22ca4b "net", table=0x323640 &lt;net_func&gt;)
      at ../../source3/utils/net_util.c:451
  #11 0x0000000000277227 in main (argc=6, argv=0x7fffffffe2a8)
      at ../../source3/utils/net.c:1481

Signed-off-by: Ralph Boehme &lt;slow@samba.org&gt;
Reviewed-by: Volker Lendecke &lt;vl@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes a crash that happens when smbXsrv_open_global.tdb contains only replay
records.

  #0  0x00007ffff70a718a in dbwrap_exists (db=0x0, key=...) at ../../lib/dbwrap/dbwrap.c:347
  #1  0x00000000002dc7f2 in wipedbs_traverse_replay_records (rec=0x7fffffffd180, wipedbs_state=0x362d70)
      at ../../source3/utils/net_serverid.c:710
  #2  0x00007ffff70aa932 in db_rbt_traverse_internal (db=0x37e940, f=0x2dc749 &lt;wipedbs_traverse_replay_records&gt;, private_data=0x362d70,
      count=0x7fffffffd220, rw=false) at ../../lib/dbwrap/dbwrap_rbt.c:472
  #3  0x00007ffff70aaa0e in db_rbt_traverse_read (db=0x37e940, f=0x2dc749 &lt;wipedbs_traverse_replay_records&gt;, private_data=0x362d70)
      at ../../lib/dbwrap/dbwrap_rbt.c:499
  #4  0x00007ffff70a7433 in dbwrap_traverse_read (db=0x37e940, f=0x2dc749 &lt;wipedbs_traverse_replay_records&gt;, private_data=0x362d70, count=0x0)
      at ../../lib/dbwrap/dbwrap.c:437
  #5  0x00000000002dcedf in net_serverid_wipedbs (c=0x34c0d0, argc=0, argv=0x365380) at ../../source3/utils/net_serverid.c:840
  #6  0x00000000002c9675 in net_run_function (c=0x34c0d0, argc=1, argv=0x365378, whoami=0x258c96 "net tdb smbXsrv", table=0x7fffffffd360)
      at ../../source3/utils/net_util.c:451
  #7  0x00000000002e6e2c in net_tdb_smbXsrv (c=0x34c0d0, argc=1, argv=0x365378) at ../../source3/utils/net_tdb.c:105
  #8  0x00000000002c9675 in net_run_function (c=0x34c0d0, argc=2, argv=0x365370, whoami=0x258d45 "net tdb", table=0x7fffffffd440)
      at ../../source3/utils/net_util.c:451
  #9  0x00000000002e6f04 in net_tdb (c=0x34c0d0, argc=2, argv=0x365370) at ../../source3/utils/net_tdb.c:128
  #10 0x00000000002c9675 in net_run_function (c=0x34c0d0, argc=3, argv=0x365368, whoami=0x22ca4b "net", table=0x323640 &lt;net_func&gt;)
      at ../../source3/utils/net_util.c:451
  #11 0x0000000000277227 in main (argc=6, argv=0x7fffffffe2a8)
      at ../../source3/utils/net.c:1481

Signed-off-by: Ralph Boehme &lt;slow@samba.org&gt;
Reviewed-by: Volker Lendecke &lt;vl@samba.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
