[Samba] Samba AD 4.8.3 Windows Server 2016 Active Directory Users and Computers: The procedure number is out of range

Thomas Glanzmann thomas at glanzmann.de
Thu Jul 19 15:26:53 UTC 2018

Hello Rowland,

> Yes the samba wiki, it is the only documentation I would recommend

after you told me to RTFM. I read the wiki page again and realized that
the samba tool creates the samba config for me. So now I setup my domain
using this twoliner:

>  smb.conf
/local/samba/bin/samba-tool domain provision -s ${SAMBACONFIG} --server-role=dc --use-rfc2307 --dns-backend=SAMBA_INTERNAL --realm=${REALM} --domain=V101 --adminpass='Pa$$w0rd' --host-name=ad \
        --option="interfaces=bond0.101" \
        --option="bind interfaces only=yes" \
        --option "lock directory = /local/samba-config/v101/lock" \
        --option "cache directory = /local/samba-config/v101/cache" \
        --option "pid directory = /local/samba-config/v101/pid" \
        --option "private dir = /local/samba-config/v101/private" \
        --option "state directory = /local/samba-config/v101/state" \

And it even gets the recursive DNS right:

# Global parameters
	bind interfaces only = Yes
	cache directory = /local/samba-config/v101/cache
	dns forwarder =
	interfaces = bond0.101
	lock directory = /local/samba-config/v101/lock
	netbios name = AD
	pid directory = /local/samba-config/v101/pid
	private dir = /local/samba-config/v101/private
	realm = V101.HPVL.ORG
	server role = active directory domain controller
	state directory = /local/samba-config/v101/state
	workgroup = V101
	idmap_ldb:use rfc2307 = yes

	path = /local/samba-config/v101/state/sysvol/v101.hpvl.org/scripts
	read only = No

	path = /local/samba-config/v101/state/sysvol
	read only = No

Thanks again.


More information about the samba mailing list