In a KVM I've run this set of command : cat <<EOF>>/etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.64.xx netmask 255.255.255.0 network 192.168.64.0 broadcast 192.168.64.255 gateway 192.168.64.y EOF
apt-get install python-software-properties echo "dc1">/etc/hostname cat <<EOF>>/etc/resolv.conf domain xxxx.home nameserver 192.168.64.x EOF apt-get install ntp sudo echo -e "server 0.fr.pool.ntp.org\n server 1.fr.pool.ntp.org\n server 2.fr.pool.ntp.org \n server 3.fr.pool.ntp.org" >> /etc/ntp.conf service ntp restart aptitude install bind9 bind9utils dnsutils; apt-get install build-essential libattr1-dev libblkid-dev gdb libgnutls-dev libreadline-gplv2-dev python-dev autoconf python-dnspython pkg-config libpopt-dev apparmor-utils ldap-utils libsasl2-modules-gssapi-mit aptitude install samba4 samba4-clients krb5-user acl # At that point It complain about smb.conf. That's ok, see this later mv /etc/samba/smb.conf /etc/samba/smb.conf.bak chmod +x /usr/share/samba/setoption.pl aa-complain /etc/apparmor.d/usr.sbin.named /usr/share/samba/setup/provision --realm=Zxxxx.HOME --domain=Zxxxx -U Administrateur --adminpass=1234 --server-role=dc --host-ip=192.168.64.xx # since that point It should not complain anymore. # but any 'dpkg --configure -a' will complains. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/990945 Title: samba-common doesn't read workgroup from smb.conf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/990945/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs