Web lists-archives.com

Re: [Samba] Problems with sysvolcheck




Hello,
Thanks for your answer
I have tried to alter the default policies but the error persists
./samba-tool ntacl sysvolreset
open: error=2 (No such file or directory)
ERROR(runtime): uncaught exception - (-1073741823, 'Undetermined
error')  File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 175, in _run
    return self.run(*args, **kwargs)  File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/ntacl.py",
l
ine 239, in run    lp, use_ntvfs=use_ntvfs)  File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py",
line 1618, in setsysvolacl    set_gpos_acl(sysvol, dnsdomain,
domainsid, domaindn, samdb, lp, use_ntvfs, passdb=s4_passdb)  File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py",
line 1523, in set_gpos_acl
    passdb=passdb)  File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.
py", line 1486, in set_dir_acl
    setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs,
skip_invalid_chown=True, passdb=passdb, service=service)
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/ntacls.py",
line 162, in setntacl
    smbd.set_nt_acl(file, security.SECINFO_OWNER |
security.SECINFO_GROUP | security.SECINFO_DACL |
security.SECINFO_SACL, sd, service=service)

Best regards,

Santiago.

2017-05-16 15:55 GMT-05:00, Rowland Penny via samba <samba@xxxxxxxxxxxxxxx>:
> On Tue, 16 May 2017 15:09:37 -0500
> Santiago Londoño Mejía via samba <samba@xxxxxxxxxxxxxxx> wrote:
>
>> Hello,
>>
>> I have problems getting GPOs applied on clients.
>> Running the command samba-tool ntacl sysvolcheck I get a file not
>> found error. I have tried to provision the domain in a virtual
>> machine and transfer the sysvol files with rsync But the problem
>> persists. samba version: 4.4.5
>>
>> how could completely remove the default policy to try to fix the
>> problem?
>>
>
> Have you tried to add a GPO by altering the default policy ?
> This is not allowed, you should create a new GPO.
>
> It will probably help if you post the error message you are getting
> when you run sysvolcheck.
>
> Rowland
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


-- 
Santiago Londoño Mejía
Analista de Infraestructura
t. (574) 605 25 23 ext. 1232
m. (57) 3148332567
Medellín | Carrera 50  C #10 Sur  80
Bogotá | Medellín | Cali
www.pragma.com.co

-- 


Este mensaje es confidencial. Puede contener información privilegiada que pertenece a PRAGMA S.A. y/o a sus clientes, contratistas, directores, empleados y asesores, por tanto no debe ser usado ni divulgado por personas distintas a su destinatario. Si obtiene este mensaje por error, equivocación u omisión, por favor bórrelo y avise al remitente.

Está prohibida su retención, grabación, utilización o divulgación con cualquier propósito.

Este mensaje ha sido sometido a programas antivirus. No obstante, PRAGMA S.A. no asume ninguna responsabilidad por eventuales daños generados por el recibo y uso de este material, siendo responsabilidad del destinatario verificar con sus propios medios la existencia de virus u otros defectos.

Las opiniones, conclusiones y otra información contenida en este correo no relacionadas con el negocio oficial de PRAGMA S.A., deben entenderse como personales y de ninguna manera son avaladas por la Compañía.


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba