<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/ksmbd-tools/files, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2025-12-05T21:56:26Z</updated>
<entry>
<title>ksmbd-tools: bump to 3.5.6</title>
<updated>2025-12-05T21:56:26Z</updated>
<author>
<name>Andrea Pesaresi</name>
</author>
<published>2025-12-05T19:49:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=0875537051c8a66db856b70a630873d9a9cb8eaa'/>
<id>urn:sha1:0875537051c8a66db856b70a630873d9a9cb8eaa</id>
<content type='text'>
Major changes are:

- Increase max ip connections(8-&gt;32) and max connections(128-&gt;256).

- Unset "guest_ok = yes" for ipc share by default.

- add new UCI option "allow_guest_ipc" to section (default disabled)

Signed-off-by: Andrea Pesaresi &lt;andreapesaresi82@gmail.com&gt;
</content>
</entry>
<entry>
<title>ksmbd-tools: update to 3.5.5</title>
<updated>2025-10-17T03:50:59Z</updated>
<author>
<name>Andrea Pesaresi</name>
</author>
<published>2025-10-15T18:55:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=a7d51c511cfc4fcfcecbd95b9b5dd02fe8c9439d'/>
<id>urn:sha1:a7d51c511cfc4fcfcecbd95b9b5dd02fe8c9439d</id>
<content type='text'>
Major change is:
 - set server signing to auto by default.

In recent versions of Windows 11, server signing is required.
However, server signing is disabled by default in ksmbd server.
So It is recommended to set server signing = auto as default,
so that it is used whenever it is required.

Signed-off-by: Andrea Pesaresi &lt;andreapesaresi82@gmail.com&gt;
</content>
</entry>
<entry>
<title>ksmbd-tools: adjust smb2 max read/write/trans and cache</title>
<updated>2024-12-10T00:13:34Z</updated>
<author>
<name>Andrea Pesaresi</name>
</author>
<published>2024-12-08T13:04:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=0ca4794564eb7294832636cf46ade680372edebf'/>
<id>urn:sha1:0ca4794564eb7294832636cf46ade680372edebf</id>
<content type='text'>
Now for all devices with every size of RAM it is set to:
`smb2 max read = 64K`
`smb2 max write = 64K`
`smb2 max trans = 64K`

Instead of fixed value to 64K is better to check RAM size and adjust to:

32 ~ 64MB RAM, set the value to 64K
64 ~ 128MB, set it to 128KB
128 ~ 256MB, set it to 1MB
More than 256MB leave default size to 4MB

With 64MB and 128MB is better also to disable the read/write cache
`cache read buffers = no`
`cache write buffers = no`

Signed-off-by: Andrea Pesaresi &lt;andreapesaresi82@gmail.com&gt;
</content>
</entry>
<entry>
<title>ksmbd-tools: use ksmbd.conf</title>
<updated>2022-11-06T20:39:03Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2022-11-04T19:45:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=c9c5a3637feb623cfd0d623ea05f0b98e9784a07'/>
<id>urn:sha1:c9c5a3637feb623cfd0d623ea05f0b98e9784a07</id>
<content type='text'>
smb.conf is deprecated.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>ksmbd-tools: add package with hotplug.d script for auto sharing</title>
<updated>2022-08-11T21:05:45Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2022-08-10T12:23:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=d0406d4c956e92f979802640832180eedd1a6efe'/>
<id>urn:sha1:d0406d4c956e92f979802640832180eedd1a6efe</id>
<content type='text'>
One of common use cases for SMB3 server in routers is sharing hotplugged
drives. Users make many attempts setting that up which often are not
optimal.

This script handles it in the cleanest way by using:
1. hotplug.d mount subsystem
2. runtime config in the /var/run/config/

It provides a working basic solution that can be later adjusted by
modifying provided hotplug script.

A pretty much idential solution was part of the samba36 package. It was
added in the OpenWrt commit ef1efa756e0d0 ("samba36: add package with
hotplug.d script for auto sharing") as an answer for feature required by
the Rosinson company.

Cc: Jo-Philipp Wich &lt;jo@mein.io&gt;
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
<entry>
<title>ksmbd-tools: append config from /var/run/config/ for runtime shares</title>
<updated>2022-08-11T21:05:45Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2022-08-10T12:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=c9cba619898d7bf87fc8277e57b473923d912c32'/>
<id>urn:sha1:c9cba619898d7bf87fc8277e57b473923d912c32</id>
<content type='text'>
Dynamically created shares shouldn't be stored in the /etc/config/
because of:
1. Flash wearing
2. Risk of inconsistent state on reboots

With this change all automation/hotplug.d scripts can store runtime in
the /var/run/config/samba. It's useful e.g. for USB drives that user
wants to be automatically shared.

Also: automated scripts should never call "uci [foo] commit" as that
could flush incomplete config. This problem also gets solved.

Identical feature was added to samba36 in the OpenWrt commit
5a59e2c059866 ("samba36: append config from /var/run/config/ for runtime
shares") but wasn't ported to ksmbd until now.

Cc: Jo-Philipp Wich &lt;jo@mein.io&gt;
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
<entry>
<title>ksmbd-tools: Fix ksmbd service is semi-killed at system startup</title>
<updated>2021-11-29T09:24:09Z</updated>
<author>
<name>Georgi Valkov</name>
</author>
<published>2021-11-28T17:22:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=4af04cdc05af1e78dab310550fae5bae21d51c8c'/>
<id>urn:sha1:4af04cdc05af1e78dab310550fae5bae21d51c8c</id>
<content type='text'>
The configuration for the ksmbd service is auto-generated when
the OpenWRT configuration changes, and also during startup,
hence ksmbd.init has to reload the kernel module. It does that by
calling kill_server, which does not perform cleanup. This results
in ksmbd being killed but not restarted properly during boot.
This patch resolves the issue by using stop_service, which performs
proper cleanup.

https://forum.openwrt.org/t/ksmbd-samba3-4-alternative-ex-cifsd-smbd-package-support-thread/51695/68

Signed-off-by: Georgi Valkov &lt;gvalkov@abv.bg&gt;
</content>
</entry>
<entry>
<title>ksmbd: use hostname only as name</title>
<updated>2021-08-15T15:07:07Z</updated>
<author>
<name>Fritz D. Ansel</name>
</author>
<published>2021-08-15T15:05:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=47e87e1b75dfd5286a7e87cbfee25db3d9c78f8a'/>
<id>urn:sha1:47e87e1b75dfd5286a7e87cbfee25db3d9c78f8a</id>
<content type='text'>
even if a fqdn (with domain) is set by user

Signed-off-by: Fritz D. Ansel &lt;fdansel@yandex.ru&gt;
</content>
</entry>
<entry>
<title>ksmbd: set stoplevel</title>
<updated>2021-08-15T11:56:33Z</updated>
<author>
<name>Fritz D. Ansel</name>
</author>
<published>2021-08-12T05:01:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=28ed2b82c5f6f73f2e41357b39a89714959d2a82'/>
<id>urn:sha1:28ed2b82c5f6f73f2e41357b39a89714959d2a82</id>
<content type='text'>
to allow graceful stop of the daemon

Signed-off-by: Fritz D. Ansel &lt;fdansel@yandex.ru&gt;
</content>
</entry>
<entry>
<title>ksmbd-tools: Add a mDNS TXT record for the ksmbd service</title>
<updated>2021-04-07T07:46:54Z</updated>
<author>
<name>Kirill Nikolaev</name>
</author>
<published>2021-04-05T23:03:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=272b0a5c1873a34f6609e7af38395cea3f02bda5'/>
<id>urn:sha1:272b0a5c1873a34f6609e7af38395cea3f02bda5</id>
<content type='text'>
MacOS ignores Bonjour services for which TXT records are not returned. This changes forces umdns service to return a TXT record (`daemon=ksmbd`) for the ksmbd service. The exact content is unimportant and to the best of my knowledge nothing reads the `daemon` tag.

Symptoms of the problem (which are also debugging steps):
* Finder refuses to open the OpenWRT "computer" in the Network list.
* Discovery.app (Bonjour Browser) lists the _ssh._tcp service, but the submenu for it doesn't unfold and no address is shown.
* `dns-sd -L OpenWrt _smb._tcp` doesn't return any address.

Signed-off-by: Kirill Nikolaev &lt;cyril7@gmail.com&gt;
</content>
</entry>
</feed>
