[Samba] Samba Join as DC failed
Daniel von Obernitz
daniel.vonobernitz at uni-greifswald.de
Fri Feb 28 01:39:53 MST 2014
Hi Andrew,
I try to join a samba 4.1.4 (Debian Sernet package) as a DC into an
existing Windows 2008 RC2 AD as well and get a similar error message:
Committing SAM database
descriptor_sd_propagation_recursive:
DC=DomainDnsZones,DC=uni-greifswald,DC=de not found under
DC=uni-greifswald,DC=de
descriptor_sd_propagation_recursive:
DC=ForestDnsZones,DC=uni-greifswald,DC=de not found under
DC=uni-greifswald,DC=de
Failed to apply linked attribute change 'attribute 'isRecycled': invalid
modify flags on 'CN=NTDS
Settings\0ADEL:f0a27911-d9d3-4752-afd6-217c289b5baf,CN=SMB1\0ADEL:67680fef-790d-452c-ac87-95c546e54f81,CN=Servers,CN=Uni-Greifswald,CN=Sites,CN=Configuration,DC=uni-greifswald,DC=de':
0x0'
dn: <GUID=f0a27911-d9d3-4752-afd6-217c289b5baf>;CN=NTDS
Settings\0ADEL:f0a27911-d9d3-4752-afd6-217c289b5baf,CN=SMB1\0ADEL:67680fef-790d-452c-ac87-95c546e54f81,CN=Servers,CN=Uni-Greifswald,CN=Sites,CN=Configuration,DC=uni-greifswald,DC=de
changetype: modify
isRecycled: TRUE
-
replace: hasMasterNCs
hasMasterNCs:
<GUID=06b2fb6c-52f7-47a4-89bd-40750d030c93>;<RMD_ADDTIME=1303790
04690000000>;<RMD_CHANGETIME=130379004690000000>;<RMD_FLAGS=0>;<RMD_INVOCID=5
b9829f3-e5d3-41bf-bbe4-2c79f3877600>;<RMD_LOCAL_USN=36870>;<RMD_ORIGINATING_U
SN=79114298>;<RMD_VERSION=1>;CN=Configuration,DC=uni-greifswald,DC=de
-
replace: whenChanged
whenChanged: 20140228075037.0Z
-
replace: uSNChanged
uSNChanged: 36870
-
Join failed - cleaning up
checking sAMAccountName
Deleted CN=SMB1,OU=Domain Controllers,DC=uni-greifswald,DC=de
Deleted CN=dns-SMB1,CN=Users,DC=uni-greifswald,DC=de
Deleted CN=NTDS
Settings,CN=SMB1,CN=Servers,CN=UNI-GREIFSWALD,CN=Sites,CN=Configuration,DC=uni-greifswald,DC=de
Deleted
CN=SMB1,CN=Servers,CN=UNI-GREIFSWALD,CN=Sites,CN=Configuration,DC=uni-greifswald,DC=de
ERROR(ldb): uncaught exception - attribute 'isRecycled': invalid modify
flags on 'CN=NTDS
Settings\0ADEL:f0a27911-d9d3-4752-afd6-217c289b5baf,CN=SMB1\0ADEL:67680fef-790d-452c-ac87-95c546e54f81,CN=Servers,CN=Uni-Greifswald,CN=Sites,CN=Configuration,DC=uni-greifswald,DC=de':
0x0
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 1172, in
join_DC
ctx.do_join()
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1077, in
do_join
ctx.join_replicate()
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 851, in
join_replicate
ctx.local_samdb.transaction_commit()
But in my case it seems doesn't seem to be a problem with a user but
with the host smb1. smb1 is the computer name of my samba server I want
to join.
Do you have any idea, what is causing this?
Thanks.
Daniel
>
> Did you ever get to the bottom of this? I'm working on a patch for this
> issue because I'm worried about a broader corruption that this may or
> may not be related to. Did you ever run Samba from GIT or a 4.1
> pre-release?
>
> Thanks,
>
> Andrew Bartlett
>
More information about the samba
mailing list