[Samba] user's home shares doesn't work with Samba 4.8.3

Dāvis Mosāns davispuh at gmail.com
Wed Jul 4 17:01:42 UTC 2018


Hello!

I just upgraded Samba 4.8.2 to 4.8.3 on Arch Linux and user's home shares
doesn't work anymore.
Downgrading back to 4.8.2 they work again.

On samba server

smb.conf
...

[homes]
   comment = Lietotāju Mapes
   browseable = no
   writable = yes
   valid users = @Lietotāji
   invalid users = Guest, @Guests

...

$ id
uid=1004(Dace) gid=1004(Dace) groups=1004(Dace),100(Lietotāji)

$ grep Dace /etc/passwd
Dace:x:1004:1004:Dace:/home/Dace:/bin/bash

$ net rpc share
Enter WGRP\Dace's password:
...
dace




On windows host


> net use Z: \\192.168.1.3\Dace /USER:Dace
Ievadiet 'Dace' paroli, lai izveidotu savienojumu ar '192.168.1.3':
System error 53 has occurred.

The network path was not found.


In /var/log/samba/client.log there appears

[2018/07/04 18:34:19.838134,  0]
../source3/smbd/service.c:774(make_connection_snum)
  canonicalize_connect_path failed for service dace, path /home/SMBSRV/dace



I noticed a difference that with working 4.8.2 version

$ net rpc share
Enter WGRP\Dace's password:
...
Dace

(notice share name with uppercase rather than lowercase)


Don't really know what would be needed to investigate this further so let
me know what additional details should I provide.

I also noticed that if I install samba 4.8.3 right after 4.8.2 without
reboot (but just restart smbd) then user's shares does work but after
reboot they don't anymore.

Thanks!


More information about the samba mailing list