[Samba] Domain provision exception 16

marco.bonato at univr.it marco.bonato at univr.it
Thu Jun 6 09:27:56 MDT 2013

Hi all,

Following this guide https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
After installing samba4 stable version on a debian64 with no issues, I encounter this issue running samba-tool domain provision:

ERROR(runtime): uncaught exception - (16, 'Unknown error')
  File "bin/python/samba/netcmd/__init__.py", line 175, in _run
    return self.run(*args, **kwargs)
  File "bin/python/samba/netcmd/domain.py", line 398, in run
    use_rfc2307=use_rfc2307, skip_sysvolacl=False)
  File "bin/python/samba/provision/__init__.py", line 2145, in provision
  File "bin/python/samba/provision/__init__.py", line 1788, in provision_fill
    targetdir=targetdir, site=DEFAULTSITE)
  File "bin/python/samba/provision/sambadns.py", line 1067, in setup_ad_dns
    domainguid, names.ntdsguid, dnsadmins_sid)
  File "bin/python/samba/provision/sambadns.py", line 971, in fill_dns_data_partitions
    dnsdomain, hostname, hostip, hostip6)
  File "bin/python/samba/provision/sambadns.py", line 487, in add_dc_domain_records
    hostip, hostip6)
  File "bin/python/samba/provision/sambadns.py", line 381, in add_at_record
  File "bin/python/samba/ndr.py", line 33, in ndr_pack
    return ndr_pack()

Full command is
/opt/samba-v4-0-stable/bin/samba-tool domain provision --domain=mydomain --realm=internet.mydomain.it --adminpass=mypassword --host-ip6=mymachine_ip --use-ntvfs

Already tried to delete /usr/local/samba/etc/smb.conf

Am I missing something?
Marco Bonato
C.S. Dept. - University of Verona - IT
+39 045 8027085

More information about the samba mailing list