LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba and the pain of having all your teeth kicked in. (https://www.linuxquestions.org/questions/linux-networking-3/samba-and-the-pain-of-having-all-your-teeth-kicked-in-4175691011/)

Gad 02-25-2021 09:38 AM

Did you use all capital letters for WORKGROUP? Just to clarify

Gad 02-25-2021 09:40 AM

Also confirm the Windows clients are also on the same workgroup

Gad 02-25-2021 09:46 AM

Excuse my multiple posts but I also noticed your security is set to "user"

Windows uses the "users" group or alternatively you could try setting the security to everybody and then fine grain the permissions as you go along. Doubt its best practice though.

Make sure you restarting Samba each time you make a change to the config

michaelk 02-25-2021 09:52 AM

What version of RedHat are you running?

Did you restart samba after changing the workgroup name?

Is selinux enabled? Although that should not prevent you from seeing/accessing your home directory.

Are you using the linux username? Is it the same as the Windows username?

security=user is a local share and not associated with a domain. As posted the workgroup name for both computers should be the same.

Can you connect to the share on the server itself? As root:

mount -t cifs -o username=My_user //localhost/username /mnt/test_dir

You will be prompted for the username's password. You need to create a directory under /mnt of your choice.

dravur 02-25-2021 09:59 AM

Yep, I made sure it is set to WORKGROUP.

What is user level "everybody"? i know of server, user, ADS and domain. Is there a way to just open it up? it is behind multiple firewalls and I dont care if this server is open to everyone. only 2 of us care that exists.

Gad 02-25-2021 10:03 AM

Windows has share permission (Sharing tab) for over the network and NTFS permissions (Security tab) for file and folder security. Normally share permissions would be set to everybody and the file and folder permissions will be finer grained using NTFS permission. IE: The security tab in the properties.

Users would normally be added as a group under the security tab

michaelk 02-25-2021 10:33 AM

For a public share without authentication which is what I assume you mean by user level everybody.

https://wiki.samba.org/index.php/Set...ndalone_Server

dravur 02-25-2021 10:50 AM

I found what was holding this back. I thought I had done a command line to disable SELINUX, but the config file still ahd it running. So I disabled selinux in the config file and rebooted. All seem right with the world.... until next time.

I am able to get into the shares now.

dravur 02-25-2021 10:51 AM

Thank you for all your help! You guys are the best!

Gad 02-25-2021 10:59 AM

Well played


All times are GMT -5. The time now is 06:04 PM.