Hello everyone,
I have a graphics workstation running ArcoLinux which shares several directories on my local home network. I can access the SAMBA shares from my iMac and see it in Thunar via the laptop that runs OpenSUSE Leap 15.2.
I would like a tutorial or YouTube video link that shows me the steps needed to set up a SAMBA server on the laptop so that I can share a hard drive partition which I have already created and added to the SAMBA shares.
Previously, I installed Tumbleweed which managed network file sharing just fine but couldn’t create Gmail accounts on Thunderbird. I then installed Leap 15.2, hoping that it would fix the issue. Now Thunderbird works but networking does not.
The frustrating part is the lack of clear information. I have blogged about it and stated that OpenSUSE, from a code perspective, is 100% but the information is akin to the New York Yellow Pages which list all the phone numbers but in random order. The information is there but next to impossible to find. Tons of information that doesn’t help.
Does anyone have a working and up-to-date link to a tutorial or video that shows how to properly configure OpenSUSE so that files can be accessed and shared just like many Linux distroc can out-of-the-box?
If it helps, I can ping the laptop by IP as well as by host name. YAST, when it comes to network configuration, seems 1999ish. I can not find a way to create a samba user and am frustrated about the lack of documentation on this basic basic subject.
Progress,
I’ve found and followed the pinned link on how to setup SAMBA and am now able to access the ArcoLinux share from the laptop which runs OpenSUSE Leap 15.2.
The workstation can see the host name of the laptop but is unable to open the share.
Error msg: Failed to open “hostname”. Connection refused by server.
I can live with having at least “one way” access but ideally, I’d like to grab files from the laptop as needed.
My guess is that I haven’t added a samba user. YAST does a great job hiding this option
How are you trying to reach the openSUSE host? (IP address, Avahi hostname, DNS host name?). A good way to diagnose (and provide output here) is to use smbcllient from a terminal
smbclient -L <IP address or hostname> -d 3
smbclient --user=<smbuser> -L <IP address or hostname> -d 3
For example…
~> smbclient -L deanm.local -d 3
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[global]"
added interface eth0 ip=192.168.0.13 bcast=192.168.0.255 netmask=255.255.255.0
Client started (version 4.11.11-git.180.2cf3b203f07lp152.3.3.1-SUSE-oS15.0-x86_64).
tdb(/var/lib/samba/lock/gencache.tdb): tdb_open_ex: could not open file /var/lib/samba/lock/gencache.tdb: Permission denied
Connecting to 192.168.0.9 at port 445
Enter WORKGROUP\dean's password:
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'spnego' registered
GENSEC backend 'schannel' registered
GENSEC backend 'naclrpc_as_system' registered
GENSEC backend 'sasl-EXTERNAL' registered
GENSEC backend 'ntlmssp' registered
GENSEC backend 'ntlmssp_resume_ccache' registered
GENSEC backend 'http_basic' registered
GENSEC backend 'http_ntlm' registered
GENSEC backend 'http_negotiate' registered
GENSEC backend 'krb5' registered
GENSEC backend 'fake_gssapi_krb5' registered
Got challenge flags:
Got NTLMSSP neg_flags=0x628a8215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x62088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62088215
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
C$ Disk Default share
Documents Disk
Downloads Disk
IPC$ IPC Remote IPC
Public Disk
Share Disk
Users Disk
SMB1 disabled -- no workgroup available
BTW, you should know that Samba in openSUSE Leap 15.2 uses SMB2 by default. This can present difficulties with older implementations that only support the (now deprecated) SMBv1 dialect, however it is possible to reinstate this if absolutely required.
When I installed Tumbleweed, I somehow came across the Firewall settings where I could select the nic and specify home. Maybe I’ve read it in a forum post?
Then I had Thunderbird troubles and decided to go with Leap. Leap did the trick but I forgot “where” I found the nic/home setting. I assumed that it was in ether network or Samba which was not the case. The I googled which dug up too many old and outdated links. So I came here.
Conlusion
I am glad that I didn’t delete OpenSUSE Leap 15.2 because now I have it all working. My main graphics workstation is still on ArcoLinux because I need Blender but my main distro for web design and email tasks runs on OpenSUSE. I will do some more reading/learning and once Blender can run in Tumbleweed, I’ll move completely. - LC
Firewall configuration can be done via the firewall-cmd (CLI), YaST, or firewall-config (GUI utility with the same package name). If using NetworkManager, you can assign the network interface(s) to a given zone there. For wicked network configuration, it can be done via YaST.
Conlusion
I am glad that I didn’t delete OpenSUSE Leap 15.2 because now I have it all working. My main graphics workstation is still on ArcoLinux because I need Blender but my main distro for web design and email tasks runs on OpenSUSE. I will do some more reading/learning and once Blender can run in Tumbleweed, I’ll move completely. - LC
Good to read that you have it working to your satisfaction.