Re: [CentOS] You have not permission to view content of this location

2016-12-08 Thread truename
Hi, This works. Thanks a lot. :D At 2016-12-07 22:19:03, "Jonathan Billings" wrote: >On Wed, Dec 07, 2016 at 05:08:11PM +0800, truename wrote: >> sudo chown u1 /data >> sudo chgrp g1 /data >> >> sudo chmod ugo+rwx /data >> >> I edit /etc/samba/smb.conf: >> >> [data] >> comment = data

Re: [CentOS] You have not permission to view content of this location

2016-12-08 Thread truename
ls -ld data/ drwxrwxrwx. 2 root root 6 12月 8 23:34 data/ I get following message from LOG file of samba: [2016/12/09 00:01:56.326449, 4, pid=19816, effective(0, 0), real(0, 0)] ../source3/passdb/pdb_ldap.c:2437(ldapsam_getgroup) ldapsam_getgroup: Did not find group, filter was (&(objectCla

Re: [CentOS] You have not permission to view content of this location

2016-12-07 Thread Jonathan Billings
On Wed, Dec 07, 2016 at 05:08:11PM +0800, truename wrote: > sudo chown u1 /data > sudo chgrp g1 /data > > sudo chmod ugo+rwx /data > > I edit /etc/samba/smb.conf: > > [data] > comment = data > path = /data > valid users = u1,u2 > write list = u1,u2 > create mask = 0777 >

Re: [CentOS] You have not permission to view content of this location

2016-12-07 Thread Mike Burger
On 2016-12-07 4:08 am, truename wrote: OS: CentosOS 7 I have installed samba + openldap + smbldap-tools + pam by: yum --enablerepo=extras install -y epel-release yum install -y smbldap-tools yum install -y samba openldap openldap-clients openldap-servers migrationtools yum insta

[CentOS] You have not permission to view content of this location

2016-12-07 Thread truename
OS: CentosOS 7 I have installed samba + openldap + smbldap-tools + pam by: yum --enablerepo=extras install -y epel-release yum install -y smbldap-tools yum install -y samba openldap openldap-clients openldap-servers migrationtools yum install -y nss-pam* I know that smbldap-tool