[Pkg-samba-maint] Bug#765408: samba4: Problem joining Windows 2012 domains as DC
Albertas Sileika
a.sileika at gmail.com
Tue Oct 14 19:19:16 UTC 2014
Package: samba4
Version: 4.0.1+dfsg1-1
Severity: normal
Dear Maintainer,
I have tried to join Windows 2012 R2 domains as DC with command:
samba-tool domain join TST.LOCAL DC -Uadministrator --realm=tst.local
And got error:
ERROR(<type 'exceptions.AttributeError'>): uncaught exception - 'drsuapi.DsBindInfoFallBack' object has no attribute 'supported_extensions'
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 552, in run
machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1104, in join_DC
ctx.do_join()
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1007, in do_join
ctx.join_add_objects()
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 525, in join_add_objects
ctx.join_add_ntdsdsa()
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 458, in join_add_ntdsdsa
ctx.DsAddEntry([rec])
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 368, in DsAddEntry
ctx.drsuapi_connect()
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 347, in drsuapi_connect
(ctx.drsuapi_handle, ctx.bind_supported_extensions) = drs_utils.drs_DsBind(ctx.drsuapi)
File "/usr/lib/python2.7/dist-packages/samba/drs_utils.py", line 144, in drs_DsBind
return (handle, info.info.supported_extensions)
I think there is patch for this problem:
https://lists.samba.org/archive/samba-technical/2014-July/100951.html
-- System Information:
Debian Release: 7.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages samba4 depends on:
ii debconf [debconf-2.0] 1.5.49
ii libasn1-8-heimdal 1.6~git20120403+dfsg1-2
ii libattr1 1:2.4.46-8
ii libbsd0 0.4.2-1
ii libc6 2.13-38+deb7u4
ii libcomerr2 1.42.5-1.1
ii libdcerpc-server0 4.0.1+dfsg1-1
ii libdcerpc0 4.0.1+dfsg1-1
ii libgensec0 4.0.1+dfsg1-1
ii libhdb9-heimdal 1.6~git20120403+dfsg1-2
ii libkdc2-heimdal 1.6~git20120403+dfsg1-2
ii libkrb5-26-heimdal 1.6~git20120403+dfsg1-2
ii libldb1 1:1.1.13-1
ii libndr-standard0 4.0.1+dfsg1-1
ii libndr0 4.0.1+dfsg1-1
ii libpopt0 1.16-7
ii libpython2.7 2.7.3-6+deb7u2
ii libroken18-heimdal 1.6~git20120403+dfsg1-2
ii libsamba-credentials0 4.0.1+dfsg1-1
ii libsamba-hostconfig0 4.0.1+dfsg1-1
ii libsamba-util0 4.0.1+dfsg1-1
ii libsamdb0 4.0.1+dfsg1-1
ii libsmbclient-raw0 4.0.1+dfsg1-1
ii libtalloc2 2.0.7+git20120207-1
ii libtdb1 1.2.10-2
ii libtevent0 0.9.17-1
ii python 2.7.3-4+deb7u1
ii python-dnspython 1.10.0-1
ii python-samba 4.0.1+dfsg1-1
ii samba-dsdb-modules 4.0.1+dfsg1-1
ii samba4-common-bin 4.0.1+dfsg1-1
ii tdb-tools 1.2.10-2
Versions of packages samba4 recommends:
ii attr 1:2.4.46-8
ii bind9 1:9.8.4.dfsg.P1-6+nmu2+deb7u2
ii bind9utils 1:9.8.4.dfsg.P1-6+nmu2+deb7u2
ii ldb-tools 1:1.1.13-1
Versions of packages samba4 suggests:
pn ntp <none>
pn phpldapadmin <none>
pn samba-gtk <none>
pn swat2 <none>
-- debconf information excluded
More information about the Pkg-samba-maint
mailing list