Hi folks.
For some reason my smb.conf tests just fine, but it isn’t showing up at my Mac. The box is showing, but I can’t see anything. It gives me an error as well. All is below.
https://www.unixmen.com/install-configure-samba-server-centos-7/ is the setup I’m trying.
The smb.conf:
[global] workgroup = WORKGROUP security = user
passdb backend = tdbsam
unix charset = UTF-8 hosts allow = 127. 192.168.1. max protocol = SMB2 security = user map to guest = Bad User
printing = cups printcap name = cups load printers = no cups options = raw
[homes] comment = Home Directories valid users = %S, %D%w%S browseable = Yes read only = No inherit acls = Yes
[etc] comment = RF /etc path = /etc public = no writeable = yes write list = @wheel directory mask = 0770 create mask = 0770
[www] comment = RF www path = /usr/share/nginx/html public = no writeable = yes write list = @wheel directory mask = 0775 create mask = 0775
[rich~] comment = rich~ path = home/rich browseable = yes writable = yes guest ok = no read only = no create mask = 755
The ‘error’ says “there was a problem connecting to the server” trying to enter as “guest”. The users “rich” and “root” won’t allow me to even try those, with proper passwords.
Any advice appreciated how I can get this working. I’m looking to open remote files in BBEdit for editing on my workstation. I have full ownership of this server.
Cheers, Bee
OK, got it working somewhat. I can see files and get them open in my text editor on my workstation.
Do these services offer read/write abilities on remote workstations?
On Sep 2, 2018, at 3:59 PM, Bee.Lists bee.lists@gmail.com wrote:
For some reason my smb.conf tests just fine, but it isn’t showing up at my Mac. The box is showing, but I can’t see anything. It gives me an error as well. All is below.
Cheers, Bee
I wouldn't recommend Samba for this use case. The way it does permissions
is like it's been grafted on from a Windows world. Fine for NAS stuff. But for editing system files, is look into an SFTP or SSH GUI client for macOS.
Also, SELinux requires dirs/files labeled with samba_share_t which is not how any system files should be labeled.
Chris Murphy