ksmbd.addshare always fails with "ERROR: share name sanity check failure".

Bug #2051404 reported by Yuxuan Luo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ksmbd-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

On Jammy 5.15.0-91-generic #101-Ubuntu 22.04.3, ksmbd.addshare command (version 3.4.4) will always fail, preventing it to function normally. This bug is introduced by 9ad8231473820354187b99f991cd869c5be356f0 ("ksmbd-tools: remove character check in sanity_check_share_name_simple()") and fixed by 62a957944c8187a9dbbed9fb4f9bf5f97ef5c33d ("ksmbd-tools: fix share name sanity check failure from ksmbd.addshare").

Changed in ksmbd-tools (Ubuntu):
milestone: none → jammy-updates
Revision history for this message
Lenin (gagarin) wrote :

That's some pretty old version. Can you check with a later version?

Revision history for this message
Yuxuan Luo (cache-use-only) wrote :

This bug affects ksmbd-tools v3.4.4 only; as of Jammy, it still contains the bugged version:
```
$ apt show ksmbd-tools
Package: ksmbd-tools
Version: 3.4.4-1
Priority: optional
Section: universe/utils
```

Lenin (gagarin)
Changed in ksmbd-tools (Ubuntu):
status: New → Fix Committed
Lenin (gagarin)
Changed in ksmbd-tools (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.