samba_upgradedns fails

Greg Dickie greg at
Thu Apr 12 06:48:02 MDT 2012


  I'm trying to set up another DC on a domain originally hosts on a
Windows 2003 SBS server. You guys helped me get the first samba4 DC
going but now that I'm trying it again I get this. It looks like now it
doesn't like the schema although it did work the first time (not the
same version though). This is version Version 4.0.0alpha20-GIT-81d1749

Any ideas?


[root at ads2 samba-master]# /usr/local/samba/sbin/samba_upgradedns
Reading domain information
Looking up IPv4 addresses
IPv4 addresses:
Looking up IPv6 addresses
DNS accounts already exist
No zone file /usr/local/samba/private/dns/
DNS records will be automatically created
Creating DNS partitions
Traceback (most recent call last):
  File "/usr/local/samba/sbin/samba_upgradedns", line 355, in <module>
  File "bin/python/samba/provision/", line 876, in
    names.configdn, names.serverdn)
  File "bin/python/samba/provision/", line 206, in
    "SECDESC"      : b64encode(descriptor)
  File "bin/python/samba/provision/", line 52, in
    ldb.add_ldif(data, controls)
  File "bin/python/samba/", line 224, in add_ldif
    self.add(msg, controls)
_ldb.LdbError: (16, "objectclass_attrs: attribute 'msDS-NcType' on entry
'DC=DomainDnsZones,DC=example,DC=local' was not found in the schema!")

Greg Dickie
just a guy

More information about the samba-technical mailing list