I have tried to set up Samba on my new installation and I almost had it. I made some tweaks in the configuration, and suddenly the shares were gone on my Windows machines. I did something I can’t remember. Is it a way to delete the configuration so I can start a new with setting up Samba? I even got a message in dolphin saying it could not connect to smb localhost.
When you say the shares were gone, do you actually mean you can’t discover the shares automatically? Or that when you try to access them by a file manager you are denied access?
It should be as simple as navigating to them with “\<IP address or hostname><share>”
I changed the global setup from the post on the howto pages on the forum, and it works now. I have som problems with the users on the windows network, but I will place those questions in another thread.
Then I wrote the adress of the share in the file manager in Windows on the form “\<hostname><share>” , and the shares appeared. When I did that before the reconfiguring I only wrote in the host name without backslashes. Maybe it would have worked without reconfiguring the stanza, if I had I read the answers in the thread more thoroughly.
Ok, that old article describes the same as the default ‘samba-client’ package provides. You had added
wins support = Yes
idmap config * : backend = tdb
Not sure what impact that might have had (if any).
Then I wrote the adress of the share in the file manager in Windows on the form “\<hostname><share>” , and the shares appeared. When I did that before the reconfiguring I only wrote in the host name without backslashes. Maybe it would have worked without reconfiguring the stanza, if I had I read the answers in the thread more thoroughly.
Thanx for the help.
Dag R
Yes, the correct way to enter the shared network share is using the format ‘\hostname\share’. Anyway, good to read that it is working as expected now.
Only one thing, when I go to Dolphin and click on Network -> shared folders (smb) I get the main folder (opensuse22), but when I click on the folder i get the message: No folders found. When I go to details at says the folder has no owner. This must be wrong? I did some mess with Samba users. I made one completely new user and made a copy of my personal user. This may have affected I can not open this network folder on the server. Can you help me out here?
I don’t understand your answer. Could you explain where I find those permissions? Is it in the global ,or do you mean I have to set the permssions, or have I already set the permissions (but not aware of it)?
Ok. I thought it was enough to mark them in the smb.conf as shared. I have opened those to folders for guest access, and now it works. The only thing I have not got to work properly is the access of the host in Dolphin (on the host). But Samba and file sharing works, and that’s the main thing.