[Pkg-samba-maint] Bug when mounting a samba-share by a Debian Bookworm Client

Jürgen Dieckerhoff jd at d54.de
Sat Apr 20 17:58:07 BST 2024


Hello,

please exuse my bad english, I want to report the following problem, 
maybe a bug:


When mounting a samba-share by a Debian Bookworm client, kernel 
6.1.0-20-amd64, on this client some subdirectories and files within the 
mounted share are missing.
I didn't changed the permissions on the server and all the files and 
directories are furthermore existent on the server.

Booting the client with kernel 6.1.0-15-amd64 oder 6.1.0-18-amd64 
removes the error.

Details:

Sambaserver, Debian Bookworm, Kernel 6.1.0-20-amd64, Samba 
2:4.17.12+dfsg-0+deb12u1

     # testparm
     interfaces = 127.0.0.0/8 192.168.1.0/24
     log file = /var/log/samba/log.%m
     logging = file
     map to guest = Bad User
     max log size = 1000
     obey pam restrictions = Yes
     pam password change = Yes
     panic action = /usr/share/samba/panic-action %d
     passwd chat = *Enter\snew\s*\spassword:* %n\n 
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
     passwd program = /usr/bin/passwd %u
     preferred master = Yes
     server min protocol = SMB2
     server role = standalone server
     unix password sync = Yes
     usershare allow guests = Yes
     workgroup = theo
     idmap config * : backend = tdb

     ......
     [daten-theo]
     create mask = 0660
     directory mask = 0770
     force create mode = 0020
     force directory mode = 0030
     force group = theo
     force user = theo
     path = /daten/daten-theo
     valid users = user1 user2 ...
     write list = user1

Client also Debian Bookworm, Kernel 6.1.0-20-amd64, cifs-utils 2:7.0-2
The same with a second identical client.
/etc/fstab:
....
//server/daten-theo /home/theo/daten-theo cifs 
vers=default,_netdev,credentials=/root/smbcredtheo,uid=theo,gid=theo,rw,file_mode=0660,dir_mode=0770,nofail 
0 0
.....

After booting the Client journalctl shows on this client many lines like:
Apr 16 14:33:08 tmx314 kernel: CIFS: VFS: directory entry name would 
overflow frame end of buf 00000000a18bb84d
Apr 16 14:33:08 tmx314 kernel: CIFS: VFS: directory entry name would 
overflow frame end of buf 000000002b19fed0
......

On the server I didn't found any errors.


If you need more informations, please contact me, if I must report this 
to another address please tell it me.

Yours sincerely

Jürgen Dieckerhoff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20240420/2abeb389/attachment.sig>


More information about the Pkg-samba-maint mailing list