A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

ปัญหา Access Denied บน Samba (CentOS 6)

Hi CentOS comm,

What is the possible problem on my secured samba share folder?
When I tried to access the folder using created user “user1” I got access denied response.
I know I typed in the correct password.

[root@localhost demo]# useradd user1
[root@localhost demo]# groupadd group1
[root@localhost demo]# usermod -a -G group1 user1
[root@localhost demo]# smbpasswd -a user1
New SMB password:
Retype new SMB password:
Added user user1.
[root@localhost demo]# mkdir /home/secure
[root@localhost demo]# chown -R user1:group1 /home/secure/
[root@localhost demo]# chmod -R 0770 /home/secure/
[root@localhost demo]# chcon -t samba_share_t /home/secure/
[root@localhost demo]# gedit /etc/samba/smb.conf

path = /home/secure
valid users = @smbgrp
browsable = yes
writable = yes
guest ok = no
read only = no


ทั้งนี้ ให้ Disable SELinux Policy



Comments are closed.