LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-25-2021, 09:38 AM   #16
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114

Did you use all capital letters for WORKGROUP? Just to clarify
 
Old 02-25-2021, 09:40 AM   #17
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
Also confirm the Windows clients are also on the same workgroup
 
Old 02-25-2021, 09:46 AM   #18
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
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
 
Old 02-25-2021, 09:52 AM   #19
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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.
 
Old 02-25-2021, 09:59 AM   #20
dravur
LQ Newbie
 
Registered: Feb 2021
Posts: 22

Original Poster
Rep: Reputation: Disabled
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.
 
Old 02-25-2021, 10:03 AM   #21
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
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
 
Old 02-25-2021, 10:33 AM   #22
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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
 
Old 02-25-2021, 10:50 AM   #23
dravur
LQ Newbie
 
Registered: Feb 2021
Posts: 22

Original Poster
Rep: Reputation: Disabled
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.
 
Old 02-25-2021, 10:51 AM   #24
dravur
LQ Newbie
 
Registered: Feb 2021
Posts: 22

Original Poster
Rep: Reputation: Disabled
Thank you for all your help! You guys are the best!
 
Old 02-25-2021, 10:59 AM   #25
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
Well played
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Sync your teeth into power browser Vivaldi's largest update so far LXer Syndicated Linux News 0 09-29-2018 07:35 AM
18.04 - the screen froze and kicked me out, upon login Im kicked back out wadesmart Ubuntu 2 07-11-2018 07:38 AM
SCSI Drive Labels and Lilo (w/ wailing and gnashing of teeth) enorbet Slackware 6 01-17-2014 04:12 PM
.xinitrc, much wailing and gnashing of teeth Berto Linux - Software 3 08-22-2004 05:11 AM
oh the pain, the pain of c bobthebat Programming 2 07-04-2002 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration