Nguyen, Danny [US-US]
2023-Apr-27 17:02 UTC
[Samba] EXTERNAL: Re: SAMBA Configuration Assistance
I would like to be running as a server and client, having sharing in two directions between two computers. I added map to guest based off your comment. And I have CORE as the min protocol but have no preference how to contact other servers. -----Original Message----- From: samba <samba-bounces at lists.samba.org> On Behalf Of Rowland Penny via samba Sent: Thursday, April 27, 2023 12:55 PM To: samba at lists.samba.org Cc: Rowland Penny <rpenny at samba.org> Subject: Re: [Samba] EXTERNAL: Re: SAMBA Configuration Assistance On 27/04/2023 16:59, Nguyen, Danny [US-US] wrote:> Hello and thank you for responding. Here are some captures that I took > with my phone: > https://urldefense.us/v3/__https://imgur.com/a/fvzfDUQ__;!!Az_Xe1LHMyB > q19w!cH5AE_PWtkZ_fQw2td2zpoP7t2QG5uW9FgIWnLEnJmWZP6L68YgQJwIsFu5TpOYOC > A$ Currently samba is standalone, I have attached the output of > testparm, and I have yet to reach out to redhat. >Ok, this is your smb.conf [global] client max protocol = SMB3 client min protocol = CORE log file = /var/log/samba/log.%m workgroup = SIL idmap config * : backend = tdb [sambashare] comment = /sambashare guest ok = yes path = /sambashare read only = no Which is pretty basic and because of the mention of 'CORE', I surmise that you are trying to use SMBv1 to contact another server. you also have 'guest ok = yes' set on the share, but is never going to work because you do not have 'map to guest = bad user' set in global What are you trying to achieve, run as a server or client ? Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://urldefense.us/v3/__https://lists.samba.org/mailman/options/samba__;!!Az_Xe1LHMyBq19w!cH5AE_PWtkZ_fQw2td2zpoP7t2QG5uW9FgIWnLEnJmWZP6L68YgQJwIsFu4Ja3RwkA$
On 27/04/2023 18:02, Nguyen, Danny [US-US] wrote:> I would like to be running as a server and client, having sharing in two directions between two computers. I added map to guest based off your comment. And I have CORE as the min protocol but have no preference how to contact other servers. >If you just require a standalone server that can be contacted by modern computers, without creating users on the machine, then you only need this smb.conf: [global] log file = /var/log/samba/log.%m workgroup = SIL map to guest = Bad User [sambashare] comment = /sambashare guest ok = yes path = /sambashare read only = no This will use SMBv2 as a minimum If you want this server to also be a client (why ?), you will need to create users (Unix and Samba). Rowland