LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2019, 01:41 AM   #1
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,153

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Wink Samba share with selinux


Hello guys, i inherited a samba server with selinux

I notice if I browse to the share like: \\192.168.1.2 I would get nothing

But previous domain users are able to access only new domain users is unable to browse

smb.conf does not set anything like valid users

I suppose the permissions is set somewhere. Any ideas where the restriction would be?

I did cat smbusers (no users)


OS is CentOS.
Thanks for any input.

Last edited by JJJCR; 03-19-2019 at 02:33 AM. Reason: edit
 
Old 03-19-2019, 04:59 AM   #2
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,153

Original Poster
Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Just to add more info:

i'm login via VPN, i can ping the samba server

but if I browse via UNC from Windows the samba server IP Address, it has an error message "windows cannot access \\ip.address.of.samba.server"

Any ideas?
 
Old 03-19-2019, 06:09 AM   #3
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
May be if you look at the output of this:

Code:
 pdbedit -L -v
It may help?

Reference: https://www.samba.org/samba/docs/cur...pdbedit.8.html
 
Old 03-19-2019, 08:42 AM   #4
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,153

Original Poster
Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Red face

Quote:
Originally Posted by dc.901 View Post
May be if you look at the output of this:

Code:
 pdbedit -L -v
It may help?

Reference: https://www.samba.org/samba/docs/cur...pdbedit.8.html
Tried that, no output.
 
Old 03-20-2019, 03:08 AM   #5
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,153

Original Poster
Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Got it, firewall issues and smb protocol version mismatch.
 
  


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
postfix and selinux [selinux updates broke postfix?] rjcroasdale Linux - Server 59 12-03-2019 11:17 PM
Implementing SeLinux on Debian 5 (Lenny) -- can't install "selinux-basics" bashFUL Linux - Security 3 10-17-2011 01:16 AM
SELinux errors, SELinux and wine ziphem Linux - Security 10 01-27-2011 04:15 PM
Selinux-how do i find out what domains have permissions on what type?(selinux policy) vishyc88 Linux - Security 2 11-22-2010 04:27 AM
"../system.h :selinux/selinux.h:no such file or directory" ashmita04 Linux From Scratch 4 02-05-2009 03:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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