[Samba] Missing shares in 4.16

Matthias Kühne | Ellerhold AG matthias.kuehne at ellerhold.de
Fri Nov 4 12:40:28 UTC 2022


after our upgrade to samba 4.16 we seem to have another problem: the 
home directory are not visible (browsable?) anymore. You can still 
connect to them if you know their name but you cant see them (e.g. via 
smbclient -L).

We're using user-specific includes for the home shares!

This is the smb.conf:

     workgroup = AD-ELLERHOLD
     realm     = AD.ELLERHOLD.LAN
     dns proxy = no
     load printers           = no
     printing                = bsd
     printcap name           = /dev/null
     disable spoolss         = Yes
     show add printer wizard = no
     panic action = /usr/share/samba/panic-action %d
     server role = member server
     netbios name = FILESERVER-GLB
     security = ADS
     winbind offline logon = Yes
     idmap config * : backend = tdb
     idmap config * : range = 3000-7999
     idmap config AD-ELLERHOLD:backend = ad
     idmap config AD-ELLERHOLD:range = 10000-99999
     idmap config AD-ELLERHOLD:schema_mode = rfc2307
     idmap config AD-ELLERHOLD:unix_nss_info = yes
     idmap config AD-ELLERHOLD:unix_primary_group = yes
     username map            = /etc/samba/user-map.conf
     winbind refresh tickets = Yes
     dedicated keytab file   = /etc/krb5.keytab
     kerberos method         = secrets and keytab
     map acl inherit         = Yes
     template shell          = /bin/bash
     template homedir        = /home/AD-ELLERHOLD/%U
     spotlight backend     = elasticsearch
     elasticsearch:address = localhost
     elasticsearch:port    = 9200
     spotlight             = Yes
     vfs objects = catia fruit streams_xattr acl_xattr recycle
     fruit:metadata = stream
     fruit:veto_appledouble = no
     veto files = /.DS_Store/
     delete veto files = yes
     recycle:repository = Papierkorb
     recycle:keeptree = Yes
     recycle:touch_mtime = Yes
     recycle:directory_mode = 0770
     server min protocol = NT1
     client min protocol = NT1
     ntlm auth           = ntlmv1-permitted
     unix extensions = Yes
     store dos attributes = No
     map archive = No
     map hidden = No
     map readonly = No
     map system = No

     include = /etc/samba/conf.d/%U.conf

[Share 1]
     force group = +AD-ELLERHOLD\fs_share1
     inherit permissions = yes
     path = /storage/share1
     read only = no

For example this is the content of one such conf:

[Surname Name Glb]
     browseable = yes
     inherit permissions = yes
     path = /storage/homes/surname.name
     force group = +AD-ELLERHOLD\fs_homes
     read only = no

As I said ... connecting to it works fine but smbclient -L \\host does 
not show the share "Surname Name Glb" afther authenticating with the 
right user.

In Samba 4.14 and 4.15 this has worked. Did something change with 4.16?

Thanks in advance and have a nice weekend,
Matthias Kühne.

Matthias Kühne
Senior Webentwickler

Ellerhold Aktiengesellschaft
Friedrich-List-Str. 4
01445 Radebeul

Telefon: +49 (0) 351 83933-61
Telefax: +49 (0) 351 83933-99

Web     www.ellerhold.de
Twitter www.twitter.com/Ellerhold_AG
Youtube www.youtube.com/user/ellerholdgruppe

Amtsgericht Dresden / HRB 23769
Vorstand: Stephan Ellerhold, Maximilian Ellerhold
Vorsitzender des Aufsichtsrates: Frank Ellerhold

---Diese E-Mail und Ihre Anlagen enthalten vertrauliche Mitteilungen. Sollten Sie nicht der beabsichtigte Adressat sein, so bitten wir Sie um Mitteilung und um sofortiges löschen dieser E-Mail und der Anlagen.

Unsere Hinweise zum Datenschutz finden Sie hier: http://www.ellerhold.de/datenschutz/

This e-mail and its attachments are privileged and confidential. If you are not the intended recipient, please notify us and immediately delete this e-mail and its attachments.

You can find our privacy policy here: http://www.ellerhold.de/datenschutz/

More information about the samba mailing list