Samba Shares werden nicht angezeigt seit letztem Update


jluerken

Recommended Posts

3 hours ago, cz13 said:

Servus @jluerken, werden die Shares in der Unraid GUI nicht mehr angezeigt oder am Client?
Irgendwas in der SMB-Extra eingetragen was das verursachen könnte?
Hast du mal im Safe Mode gebootet?

 

In der GUI sind alle Shares vorhanden.

Kennt man die Shares kann man auch problemlos zugreifen, nur angezeigt werden die an den Clients nicht mehr.

Win10/Win11 und iOS auf iphone können keine Shares mehr sehen.

 

Im Safe Mode habe ich noch nicht gebootet

Link to comment

image.thumb.png.5e8f5cca1df0e60dc5bf136a7813269f.png

 

SMB Extras:

 

# log stuff only to syslog
        log level = 0
        syslog = 0
        syslog only = Yes

# we don't do printers
        show add printer wizard = No
        disable spoolss = Yes
        load printers = No
        printing = bsd
        printcap name = /dev/null


#client min protocol = SMB2
#client max protocol = SMB3

#  HP Printerscan Option
#client min protocol = NT1
#ntlm auth = yes

#  Optimization
        #socket options=SO_RCVBUF=131072 SO_SNDBUF=131072 
        TCP_NODELAY 
        #min receivefile size = 16384 
        #aio read size = 1 
        #aio write size = 1
        wide links = yes
        # sendfile is automatically NO if aio read and write is 1        
        #use sendfile = Yes
        #unix extensions = no
        #server multi channel support = yes
        hide files = /desktop.ini/$RECYCLE.BIN

# ease upgrades from Samba 3.6
        acl allow execute always = Yes
        # permit NTLMv1 authentication
        #ntlm auth = Yes

#[ecoDMS]
#path = /volume1/ecoDMS/
#public = yes
#writable = yes
#comment = ecoDMS Docker share
#printable = no
#read only = no
#guest ok = no
#force user = jluerken
#force group = users


hide unreadable = Yes
access based share enum = Yes

 

Link to comment

Ohne die Inhalte der SMB Extra werden alle Shares normal wieder angezeigt.

Fragt sich nur noch welcher Eintrag da das Problem darstellt?

 

"hide unreadable = Yes" brauche ich damit Leute die keine Leserechte auf eine Share haben diese erst gar nicht sehen können.

Den Rest teste ich einfach mal Schritt für Schritt.

Frage mich halt nur was sich im Update getan hat, denn vorher ging es ja mit diesen Einträgen so wie gewollt.

Link to comment
2 minutes ago, jluerken said:

hide unreadable = Yes" brauche ich damit Leute die keine Leserechte auf eine Share haben diese erst gar nicht sehen können.

Ich tippe genau auf diese Regel. Vielleicht weil der Ordner selbst root gehört? Check mal die Rechte:

 

ls -lah /mnt/user

 

Bei mir (Unraid 6.9) gehören die nobody:user 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.