Discussion:
[Samba] weird error rights in folders
Gabriel O. Franca
2016-06-15 18:50:35 UTC
Permalink
Hi all,

here the company was using the packages Sernet-samba version 4.2.xx

I removed it and started compiling it to version 4.4.4

I took only the smb.conf.

The problem is that when I click the right button and go on the Security
tab get this message.

"As the permissions on home (\\ samba) are not sorted correctly, some of
them may have no effect."

Is there any command for me to clear all the rights of folders? or some
form of ordering these rights?

Regards,

Gabriel Franca
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Gabriel O. Franca
2016-06-15 19:55:50 UTC
Permalink
Hello rowland,

follow the informations:

1) ./configure --prefix=/opt/samba --enable-selftest --enable-debug

2) samba-tool domain provision --domain=CMC --adminpass=Mudar2016
--dns-backend=BIND9_DLZ --server-role=dc --use-rfc2307 --realm=CMC.CORP

3) I created a script to start this as described in the manual Samba4


[global]
netbios name = SAMBA
realm = CMC.CORP
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc,
drepl, winbindd, ntp_signd, kcc, dnsupdate
workgroup = CMC
server role = active directory domain controller
idmap_ldb:use rfc2307 = yes

vfs objects = recycle catia fruit streams_xattr acl_xattr
map acl inherit = Yes
store dos attributes = Yes
fruit:enconding = native
recycle:keeptree = yes
recycle:versions = yes
recycle:repository = /dados/trash/%U
recycle:exclude = *.tmp, *.log, *.obj, ~*.*, *.bak, *.iso
recycle:exclude_dir = tmp, cache



[netlogon]
path = /opt/samba/var/locks/sysvol/cmc/scripts
read only = No

[sysvol]
path = /opt/samba/var/locks/sysvol
read only = No

[home]
path = /dados/users
read only = No
comment = pasta dos usuários para redirecionamento

[publico]
comment = Publico
path = /dados/samba
read only = No

[dpto]
comment = Pasta Departamental
path = /dados/samba
read only = No

[share]
comment = Pasta Compartilhada
path = /dados/share
read only = No

[isos]
comment = Isos
path = /dados/samba/PROGRAMASPADRAO/Isos

Atenciosamente,

Gabriel Franca
Post by Gabriel O. Franca
Hi all,
here the company was using the packages Sernet-samba version 4.2.xx
I removed it and started compiling it to version 4.4.4
I took only the smb.conf.
The problem is that when I click the right button and go on the
Security tab get this message.
"As the permissions on home (\\ samba) are not sorted correctly, some
of them may have no effect."
Is there any command for me to clear all the rights of folders? or
some form of ordering these rights?
Regards,
Gabriel Franca
how did you compile Samba ?
What were your configure options ?
How are you running Samba ?
Please post your smb.conf.
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Loading...