Re: [CentOS] Samba vs. Firewall and/or SELinux

2012-12-31 Thread Rob Townley
On Fri, Dec 28, 2012 at 9:10 AM, Craig White craig.wh...@ttiltd.com wrote: I guess I'm not sure what the point is by having files owned by 'nobody' and then adding nobody 'user' to the 'users' group - that seems to be some rather twisted logic that has security implications far beyond

Re: [CentOS] Samba vs. Firewall and/or SELinux

2012-12-31 Thread Mark LaPierre
On 12/31/2012 07:27 PM, Rob Townley wrote: On Fri, Dec 28, 2012 at 9:10 AM, Craig Whitecraig.wh...@ttiltd.com wrote: I guess I'm not sure what the point is by having files owned by 'nobody' and then adding nobody 'user' to the 'users' group - that seems to be some rather twisted logic

Re: [CentOS] Samba vs. Firewall and/or SELinux

2012-12-31 Thread Rob Townley
On Mon, Dec 31, 2012 at 6:41 PM, Mark LaPierre marklap...@aol.com wrote: On 12/31/2012 07:27 PM, Rob Townley wrote: On Fri, Dec 28, 2012 at 9:10 AM, Craig Whitecraig.wh...@ttiltd.com wrote: I guess I'm not sure what the point is by having files owned by 'nobody' and then

Re: [CentOS] Samba vs. Firewall and/or SELinux

2012-12-28 Thread Ibrahim Yurtseven
Daniel J Walsh wrote: Not a great idea since every user will be allowed to read/write/execute in this directory. I ran chown with root:users for data public in recursive mode and added nobody to the group users, but via samba created files will own by nobody:nobody instead of nobody:users, so it

Re: [CentOS] Samba vs. Firewall and/or SELinux

2012-12-28 Thread Craig White
On Dec 28, 2012, at 5:13 AM, Ibrahim Yurtseven wrote: Daniel J Walsh wrote: Not a great idea since every user will be allowed to read/write/execute in this directory. I ran chown with root:users for data public in recursive mode and added nobody to the group users, but via samba created

Re: [CentOS] Samba vs. Firewall and/or SELinux

2012-12-28 Thread Fidel Dominguez
You need to open the service in the firewall Type setup and go to the firewall and mark samba Then you will see all folders in the windows pc On Dec 28, 2012 10:11 AM, Craig White craig.wh...@ttiltd.com wrote: On Dec 28, 2012, at 5:13 AM, Ibrahim Yurtseven wrote: Daniel J Walsh wrote: Not

[CentOS] Samba vs. Firewall and/or SELinux

2012-12-27 Thread Ibrahim Yurtseven
Hi all. I created a smb-share on my el6 for all windows-pcs in my home-network (I'm the only Linux-User in my family) for sharing all the stuff we have, like music and videos and documents. The share will be shown on the other pcs (Windows XP), but they can't open it. The error-message ist Share

Re: [CentOS] Samba vs. Firewall and/or SELinux

2012-12-27 Thread Earl A Ramirez
On 27 December 2012 21:09, Ibrahim Yurtseven arastirmaci...@aol.de wrote: Hi all. I created a smb-share on my el6 for all windows-pcs in my home-network (I'm the only Linux-User in my family) for sharing all the stuff we have, like music and videos and documents. The share will be shown on

Re: [CentOS] Samba vs. Firewall and/or SELinux

2012-12-27 Thread Ibrahim Yurtseven
Earl A Ramirez wrote: Is the nmb service running? sh-4.1# service nmb status nmbd (pid 1863) is running... I set nmb like smb my system-config-services It starts automaticly on boot. The nmb service is started once, usually when the system is booted, runs in the background and wakes up when

Re: [CentOS] Samba vs. Firewall and/or SELinux

2012-12-27 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/27/2012 08:09 AM, Ibrahim Yurtseven wrote: Hi all. I created a smb-share on my el6 for all windows-pcs in my home-network (I'm the only Linux-User in my family) for sharing all the stuff we have, like music and videos and documents. The

Re: [CentOS] Samba vs. Firewall and/or SELinux

2012-12-27 Thread Ibrahim Yurtseven
Daniel J Walsh wrote: You did run restorecon on /data? restorecon -R -v /data No, only on /data/public sh-4.1$ restorecon -R -v /data restorecon: unable to read directory /data I configured my smb with this (german) tutorial: http://www.gtkdb.de/index_7_1356.html But i tried to configure a

Re: [CentOS] Samba vs. Firewall and/or SELinux

2012-12-27 Thread Craig White
On Dec 27, 2012, at 6:09 AM, Ibrahim Yurtseven wrote: [global] workgroup = NETZWERK server string = Samba Server Version %v security = SHARE log file = /var/log/samba/log.%m max log size = 50 cups options = raw [public] comment = hier kannn

Re: [CentOS] Samba vs. Firewall and/or SELinux

2012-12-27 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/27/2012 10:26 AM, Ibrahim Yurtseven wrote: Daniel J Walsh wrote: You did run restorecon on /data? restorecon -R -v /data No, only on /data/public sh-4.1$ restorecon -R -v /data restorecon: unable to read directory /data Run the