Ok. This is a nautilus problem. The last step printing the error message prints
that error to stderr, the valid shares are listed on stdout. Again, I think
Samba just behaves correctly. Just tested this.
Regarding the disappearing icons: Samba does print out a list of the remaining
valid shares. Why nautilus does not display them is up to nautilus. I also
tested smbclient -L against the different situations: smbd lists the valid
shares even when there are invalid ones.
Quote from bugziall.samba (https:/ /bugzilla. samba.org/ show_bug. cgi?id= 8852#c6)
Ok. This is a nautilus problem. The last step printing the error message prints
that error to stderr, the valid shares are listed on stdout. Again, I think
Samba just behaves correctly. Just tested this.
Regarding the disappearing icons: Samba does print out a list of the remaining
valid shares. Why nautilus does not display them is up to nautilus. I also
tested smbclient -L against the different situations: smbd lists the valid
shares even when there are invalid ones.