[Samba] Samba 3 classicupgrade to Samba AD

Max Olivas molivas at northglenn.org
Wed Jan 16 09:23:45 MST 2013


Is the workaround something I do or something that is fixed in the newer version?
 
Thanks,
Max

>>> "Max Olivas " <molivas at northglenn.org> 1/15/2013 6:54 AM >>>
Version 4.1.0pre1-GIT-94f11e9 on Ubuntu 12.04 LTS.

Thanks,
Max

>>> Andrew Bartlett <abartlet at samba.org> 1/14/2013 3:01 PM >>>
On Mon, 2013-01-14 at 14:14 -0700, Max Olivas wrote:
> Hey All,
>  
> Thanks for the feedback.  I've cleaned up my .tdb files some and have
> moved farther with the upgrade command but I'm still getting errors.
> This is what I'm getting now:
>  
> idmapping sid_to_xid failed for id[0]=S-1-5-32-544:
> NT_STATUS_NONE_MAPPED
> set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_OWNER.
> ERROR(runtime): uncaught exception - (-1073741734,
> 'NT_STATUS_INVALID_OWNER')
>   File
> "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run
>     return self.run(*args, **kwargs)
>   File
> "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py",
> line 1318, in run
>     useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
>   File
> "/usr/local/samba/lib/python2.7/site-packages/samba/upgrade.py", line
> 926, in upgrade_from_samba3
>     result.names.domaindn, result.lp, use_ntvfs)
>   File
> "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1476, in setsysvolacl
>     setntacl(lp,sysvol, SYSVOL_ACL, str(domainsid),
> use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=s4_passdb)
>   File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py",
> line 154, in setntacl
>     smbd.set_nt_acl(file, security.SECINFO_OWNER |
> security.SECINFO_GROUP | security.SECINFO_DACL |
> security.SECINFO_SACL, sd)
>  
> I see that sid is for the Administrators group but I'm not sure what I
> need to do to it to complete the upgrade command without errors?  Any
> help is much appreciated.

A workaround for this is in the 4.0.0 release.  Are you running Samba
4.0.0?

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba mailing list