samba_upgradedns fails

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


Hi,

  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?

Thanks,
Greg

[root at ads2 samba-master]# /usr/local/samba/sbin/samba_upgradedns
--verbose
Reading domain information
Looking up IPv4 addresses
IPv4 addresses: 192.168.169.48
Looking up IPv6 addresses
DNS accounts already exist
No zone file /usr/local/samba/private/dns/example.local.zone
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>
    dnsadmins_sid)
  File "bin/python/samba/provision/sambadns.py", line 876, in
create_dns_partitions
    names.configdn, names.serverdn)
  File "bin/python/samba/provision/sambadns.py", line 206, in
setup_dns_partitions
    "SECDESC"      : b64encode(descriptor)
  File "bin/python/samba/provision/common.py", line 52, in
setup_add_ldif
    ldb.add_ldif(data, controls)
  File "bin/python/samba/__init__.py", 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
514-983-5400



More information about the samba-technical mailing list