[Samba] Problems joining a Samba DC to an existing active directory

Richard p1 at originsystems.co.za
Fri Jan 13 21:21:43 UTC 2017


I created a new Samba 4.5.3 server to join our 4.5.3 AD domain as a DC

 

Following these instructions:

 

https://wiki.samba.org/index.php/Joining_a_Samba_DC_to_an_Existing_Active_Di
rectory

 

everything went fine until I got here:

 

https://wiki.samba.org/index.php/Joining_a_Samba_DC_to_an_Existing_Active_Di
rectory#Built-in_Groups_GID_Mappings

 

where running the required:

 

samba-tool ntacl sysvolreset

 

command resulted in the following errors:

 

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 176, in _run

    return self.run(*args, **kwargs)

  File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/ntacl.py", line
239, in run

    lp, use_ntvfs=use_ntvfs)

  File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py"
, line 1609, 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 1502, in set_gpos_acl

    use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb,
service=SYSVOL_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)

 

I have absolutely no idea what to do to resolve this. Any input would be
greatly appreciated - thanks in advance!

 

 



More information about the samba mailing list