Article 5DMCW Can't get samba to start

Can't get samba to start

by
varaonaid
from LinuxQuestions.org on (#5DMCW)
Hi,

I'm trying to setup samba to share folders over my local network.

I'm running OpenSUSE Tumbleweed.

I went into YaST Services and started nmb and smb. The former (nmb) started fine but I got errors with smb. I thought initially it started up OK but now it's not. I read the logs but I didn't understand what went wrong.

I also made sure that the YaST Samba Server was setup (and everything seems to be OK). I have not enabled the guest access there (I mention this because the logs mention guest).

I'm including the logs below. If anyone could help me figure this out, I'd appreciate the help so much. Thanks in advance!

Logs:
smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2021-02-01 23:35:38 EST; 1min 52s ago
Process: 21967 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
Process: 21971 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=255/EXCEPTION)
Main PID: 21971 (code=exited, status=255/EXCEPTION)
Status: "Starting process..."

Feb 01 23:35:37 localhost.localdomain systemd[1]: Starting Samba SMB Daemon...
Feb 01 23:35:38 localhost.localdomain smbd[21971]: [2021/02/01 23:35:38.013228, 0] ../../source3/auth/auth_util.c:1402(make_new_session_info_guest)
Feb 01 23:35:38 localhost.localdomain smbd[21971]: create_local_token failed: NT_STATUS_INVALID_PARAMETER_MIX
Feb 01 23:35:38 localhost.localdomain smbd[21971]: [2021/02/01 23:35:38.013272, 0] ../../source3/smbd/server.c:2052(main)
Feb 01 23:35:38 localhost.localdomain smbd[21971]: ERROR: failed to setup guest info.
Feb 01 23:35:38 localhost.localdomain systemd[1]: smb.service: Main process exited, code=exited, status=255/EXCEPTION
Feb 01 23:35:38 localhost.localdomain systemd[1]: smb.service: Failed with result 'exit-code'.
Feb 01 23:35:38 localhost.localdomain systemd[1]: Failed tlatest?d=yIl2AUoC8zA latest?i=8JnIWBpisdE:QuKBWX0M9nU:F7zBnMy latest?i=8JnIWBpisdE:QuKBWX0M9nU:V_sGLiP latest?d=qj6IDK7rITs latest?i=8JnIWBpisdE:QuKBWX0M9nU:gIN9vFw8JnIWBpisdE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments