samba-4.3.6 and talloc-2.1.6

Garming Sam garming at catalyst.net.nz
Mon Mar 14 04:09:24 UTC 2016


Hi,

Could you apply the attached patches to your samba-4.3.6 and see if they
fix the domain provision?


Cheers,

Garming

On 13/03/16 03:25, Andrey Cherepanov wrote:
> I build new version of talloc-2.1.6 (build from external tarball) and
> samba-4.3.6.
> But if I provision domain by command
>
> samba-tool domain provision --realm=test.alt --domain test
> --adminpass='Pa$$word' --dns-backend=SAMBA_INTERNAL --server-role=dc
> --use-rfc2307 --use-xattrs=yes
>
> I got error:
> Fixing provision GUIDs
> ERROR(runtime): uncaught exception - pytalloc_reference_ex() called
> for object type not based on talloc
>   File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
> line 175, in _run
>     return self.run(*args, **kwargs)
>   File "/usr/lib64/python2.7/site-packages/samba/netcmd/domain.py",
> line 442, in run
>     nosync=ldap_backend_nosync, ldap_dryrun_mode=ldap_dryrun_mode)
>   File
> "/usr/lib64/python2.7/site-packages/samba/provision/__init__.py", line
> 2172, in provision
>     skip_sysvolacl=skip_sysvolacl)
>   File
> "/usr/lib64/python2.7/site-packages/samba/provision/__init__.py", line
> 1864, in provision_fill
>     attrs=['defaultObjectCategory'])
>   File "/usr/lib64/python2.7/site-packages/samba/dbchecker.py", line
> 138, in check_database
>     error_count += self.check_object(object.dn, attrs=attrs)
>   File "/usr/lib64/python2.7/site-packages/samba/dbchecker.py", line
> 1358, in check_object
>     normalised =
> self.samdb.dsdb_normalise_attributes(self.samdb_schema, attrname, [val])
>   File "/usr/lib64/python2.7/site-packages/samba/samdb.py", line 672,
> in dsdb_normalise_attributes
>     return dsdb._dsdb_normalise_attributes(ldb, ldap_display_name,
> ldif_elements)
>
> What policy of using new version of libraries for stable version of
> Samba? Can I fix domain provision with talloc-2.1.6 for samba-4.3.6?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pydsdb-Also-accept-ldb.MessageElement-values-to-dsdb.patch
Type: text/x-diff
Size: 6339 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160314/1f1c7102/0001-pydsdb-Also-accept-ldb.MessageElement-values-to-dsdb.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-python-Remove-Python-2.4-support-macros.patch
Type: text/x-diff
Size: 3495 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160314/1f1c7102/0002-python-Remove-Python-2.4-support-macros.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-pydsdb-Fix-returning-of-ldb.MessageElement.patch
Type: text/x-diff
Size: 4144 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160314/1f1c7102/0003-pydsdb-Fix-returning-of-ldb.MessageElement.diff>


More information about the samba-technical mailing list