[Samba] Erro sysvolcheck/sysvolreset
Carlos A. P. Cunha
carlos.hollow at gmail.com
Fri Jun 16 16:15:19 UTC 2017
OK, sorry, uncomment a line :-D
Yes exist!
ls -ld /opt/samba/var/locks/sysvol
drwxrwx---+ 3 root BUILTIN\administrators 4096 Jun 16 11:25
/opt/samba/var/locks/sysvol
-----
ls -l /opt/samba/var/locks/sysvol
total 8 drwxrwx---+ 4 root BUILTIN\administrators 4096 Jun 14 2016
interno.MYDOMAIN.COM.BR
-----
ls -l /opt/samba/var/locks/sysvol/interno.MYDOMAIN.COM.BR/
total 16
drwxrwx---+ 28 root BUILTIN\administrators 4096 Mai 31 13:55 Policies
drwxrwx---+ 2 root BUILTIN\administrators 4096 Jul 31 2015 scripts
-----
root at dc-linux-09:~# ls -l
/opt/samba/var/locks/sysvol/interno.MYDOMAIN.COM.BR/Policies/
total 208
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{0B61360F-3848-4672-B9AF-F7C80AA1B296}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{0C635CCE-DC1D-4056-A38C-8F9020480E73}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{1445BB88-53F3-4702-8571-B821DF997681}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{2829B6A7-35EB-4A5D-8E6B-84337D19219B}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{37A55486-D9B3-4616-B6BF-11C80C08E676}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{4DEC359F-42D6-4636-BE00-6AE4FBEA2384}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Out 1 2015
{54506AE3-9BEF-4932-BDD4-187CB936E731}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{814C5F85-6660-40B6-9229-88E81E20767B}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{82F1084B-AA39-401D-9F1F-CBCF66FA3719}
drwxrwx---+ 4 root BUILTIN\administrators 4096 Set 16 2015
{8398435D-4C26-437D-9893-81C368D94321}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Jul 5 2016
{883CEBC4-A641-4B1B-B318-6BB9E7E38305}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Mai 15 17:10
{8A518EEA-0E3A-45B7-9B41-D6B20E9A9BD4}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{8AF4542E-ACF5-47C3-BECC-CD2A2897932E}
drwxrwx---+ 4 root BUILTIN\administrators 4096 Set 10 2015
{90C96B34-5E64-4AB1-910E-30B5F879F777}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{A0ED4FDF-4813-4A9D-9571-18E8417654EB}
drwxrwx---+ 4 root BUILTIN\administrators 4096 Out 8 2015
{A63865E6-FD40-4143-8B5D-5445B37AA017}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Nov 5 2015
{ACB8F3AF-CBDB-4D33-9FD7-94517EA0C678}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{B025A203-0E04-4702-B2E8-4AB15DC0C316}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{B3BA2669-1CE0-4DC8-BC0E-1CA1D57C0CDA}
drwxrwx---+ 4 root BUILTIN\administrators 4096 Jan 5 2016
{C337A090-18A2-4BA4-AFDE-F43E9BA29309}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 17 2015
{D0A148C8-E2D7-4AC7-97C2-AA0AB00C7EC3}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Out 9 2015
{D95AC996-7CAA-4F08-991D-6EBBD409496A}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{DC037D0D-72CE-48B8-9012-FE493E2BF702}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{E8224A95-DEF9-4E87-B4E0-7E3F901D54A5}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{EA2E9E87-27B1-4971-87CC-489E2B099020}
drwxrwx---+ 5 root BUILTIN\administrators 4096 Set 16 2015
{FA919892-77CE-4426-BC6A-EAEBD09E9663}
------------
ls -ln /opt/samba/var/locks/sysvol/interno.MYDOMAIN.COM.BR/Policies/
total 208
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{0B61360F-3848-4672-B9AF-F7C80AA1B296}
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{0C635CCE-DC1D-4056-A38C-8F9020480E73}
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{1445BB88-53F3-4702-8571-B821DF997681}
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{2829B6A7-35EB-4A5D-8E6B-84337D19219B}
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{37A55486-D9B3-4616-B6BF-11C80C08E676}
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{4DEC359F-42D6-4636-BE00-6AE4FBEA2384}
drwxrwx---+ 5 0 3000000 4096 Out 1 2015
{54506AE3-9BEF-4932-BDD4-187CB936E731}
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{814C5F85-6660-40B6-9229-88E81E20767B}
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{82F1084B-AA39-401D-9F1F-CBCF66FA3719}
drwxrwx---+ 4 0 3000000 4096 Set 16 2015
{8398435D-4C26-437D-9893-81C368D94321}
drwxrwx---+ 5 0 3000000 4096 Jul 5 2016
{883CEBC4-A641-4B1B-B318-6BB9E7E38305}
drwxrwx---+ 5 0 3000000 4096 Mai 15 17:10
{8A518EEA-0E3A-45B7-9B41-D6B20E9A9BD4}
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{8AF4542E-ACF5-47C3-BECC-CD2A2897932E}
drwxrwx---+ 4 0 3000000 4096 Set 10 2015
{90C96B34-5E64-4AB1-910E-30B5F879F777}
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{A0ED4FDF-4813-4A9D-9571-18E8417654EB}
drwxrwx---+ 4 0 3000000 4096 Out 8 2015
{A63865E6-FD40-4143-8B5D-5445B37AA017}
drwxrwx---+ 5 0 3000000 4096 Nov 5 2015
{ACB8F3AF-CBDB-4D33-9FD7-94517EA0C678}
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{B025A203-0E04-4702-B2E8-4AB15DC0C316}
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{B3BA2669-1CE0-4DC8-BC0E-1CA1D57C0CDA}
drwxrwx---+ 4 0 3000000 4096 Jan 5 2016
{C337A090-18A2-4BA4-AFDE-F43E9BA29309}
drwxrwx---+ 5 0 3000000 4096 Set 17 2015
{D0A148C8-E2D7-4AC7-97C2-AA0AB00C7EC3}
drwxrwx---+ 5 0 3000000 4096 Out 9 2015
{D95AC996-7CAA-4F08-991D-6EBBD409496A}
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{DC037D0D-72CE-48B8-9012-FE493E2BF702}
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{E8224A95-DEF9-4E87-B4E0-7E3F901D54A5}
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{EA2E9E87-27B1-4971-87CC-489E2B099020}
drwxrwx---+ 5 0 3000000 4096 Set 16 2015
{FA919892-77CE-4426-BC6A-EAEBD09E9663}
----------
Regards
Em 16-06-2017 12:34, Rowland Penny via samba escreveu:
> On Fri, 16 Jun 2017 11:57:22 -0300
> "Carlos A. P. Cunha" <carlos.hollow at gmail.com> wrote:
>
>> Hello!
>>
>> samba -b | grep STATEDIR
>> STATEDIR: /opt/samba/var/locks
>>
>> I commented at line
>>
>> idmap_ldb:use rfc2307 = yes
> You should uncomment it, you need it ;-)
>
>> in my smb.conf, error is diferent now
>>
>> samba-tool ntacl sysvolreset
>> open: error=2 (No such file or directory)
> Does /opt/samba/var/locks/sysvol exist ?
>
> If so, who owns it and what are the permissions set on it ?
>
> Rowland
>
More information about the samba
mailing list