Glorious1
Guru
- Joined
- Nov 23, 2014
- Messages
- 1,211
I migrated from CORE to SCALE Cobia. SMB worked at first, but my user didn't work as it did before. When I tried to edit the user, there were bunch of "no, you can't do that until something else". One of the messages said "SMB users may not be configured while SMB service backend is unitialized." ;-) I didn't know if that was supposed to be "initialized" or "uninitialized". So I turned off SMB.
Now when I try to start the service, I get this:
Rebooting allowed SMB to start, but I'm still prevented from enabling SMB for my user. First I get a message that says password has to be changed to allow SMB, then when I change the password, I get the weird "unitialized" error above.
What the heck?
Now when I try to start the service, I get this:
error Error starting service SMB.
[EFAULT] net conf setparm [['net', '--json', 'conf', 'setparm', '{"service": "GLOBAL", "parameters": {"guest account": {"parsed": "nobody", "raw": "nobody"}, "fruit:posix_rename ": {"parsed": " yes ", "raw": " yes "}, "# oplocks": {"parsed": "no # breaks Time Machine", "raw": "no # breaks Time Machine"}, "fruit:delete_empty_adfiles ": {"parsed": " yes ", "raw": " yes "}, "winbind request timeout": {"parsed": 2}, "streams_xattr:prefix": {"parsed": "user.", "raw": "user."}, "workgroup": {"parsed": "WORKGROUP", "raw": "WORKGROUP"}, "netbios aliases": {"parsed": ["Tabernacle_SMB"], "raw": "Tabernacle_SMB"}, "strict sync ": {"parsed": " no", "raw": " no"}, "mangled names ": {"parsed": " no", "raw": " no"}, "logging": {"parsed": "file", "raw": "file"}, "max log size": {"parsed": 5120}, "strict locking": {"parsed": "auto", "raw": "auto"}, "bind interfaces only": {"parsed": true, "raw": "True"}, "fruit:zero_file_id": {"parsed": false}, "unix charset": {"parsed": "UTF-8", "raw": "UTF-8"}, "fruit:nfs_aces": {"parsed": false}, "fruit:metadata": {"parsed": "netatalk", "raw": "netatalk"}, "unix charset ": {"parsed": " UTF-8", "raw": " UTF-8"}, "create mask": {"parsed": "0775", "raw": "0775"}, "server min protocol": {"parsed": "SMB2_02", "raw": "SMB2_02"}, "local master": {"parsed": true, "raw": "True"}, "syslog only": {"parsed": false, "raw": "False"}, "ntlm auth": {"parsed": false, "raw": "False"}, "server multi channel support": {"parsed": false, "raw": "False"}, "disable spoolss": {"parsed": true}, "fruit:resource": {"parsed": "file", "raw": "file"}, "log level": {"parsed": "2 auth_json_audit:3@/var/log/samba4/auth_audit.log", "raw": "2 auth_json_audit:3@/var/log/samba4/auth_audit.log"}, "dns proxy": {"parsed": false}, "passdb backend": {"parsed": "tdbsam:/var/run/samba-cache/private/passdb.tdb"}, "vfs objects ": {"parsed": " fruit streams_xattr ", "raw": " fruit streams_xattr "}, "fruit:model ": {"parsed": " MacSamba", "raw": " MacSamba"}, "fruit:veto_appledouble ": {"parsed": " no", "raw": " no"}, "# spotlight": {"parsed": "yes # invalid without further config", "raw": "yes # invalid without further config"}, "dos charset ": {"parsed": " CP850", "raw": " CP850"}, "fruit:locking": {"parsed": "none", "raw": "none"}, "netbios name": {"parsed": "Tabernacle_SMB", "raw": "Tabernacle_SMB"}, "load printers": {"parsed": false}, "restrict anonymous": {"parsed": 2}, "streams_xattr:store_stream_type": {"parsed": "no", "raw": "no"}, "printcap name": {"parsed": "/dev/null"}, "directory mask": {"parsed": "0775", "raw": "0775"}, "server string": {"parsed": "TrueNAS Server", "raw": "TrueNAS Server"}, "fruit:wipe_intentionally_left_blank_rfork ": {"parsed": " yes ", "raw": " yes "}, "min protocol ": {"parsed": " SMB2", "raw": " SMB2"}, "# level2 oplocks": {"parsed": "no # breaks TM?", "raw": "no # breaks TM?"}}}']] failed with error: Unknown parameter encountered: "# oplocks" Error setting parameter # oplocks to no # breaks Time Machine: SBC_ERR_INVALID_PARAMRebooting allowed SMB to start, but I'm still prevented from enabling SMB for my user. First I get a message that says password has to be changed to allow SMB, then when I change the password, I get the weird "unitialized" error above.
What the heck?
Last edited: