[Bug 990945] Re: samba-common doesn't read workgroup from smb.conf

kamahat 990945 at bugs.launchpad.net
Wed May 2 20:19:51 UTC 2012


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
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/990945

Title:
  samba-common doesn't read workgroup from smb.conf

Status in “samba” package in Ubuntu:
  Incomplete

Bug description:
  the first installation runs oky
  manally provisonning is okay
  but the package di not detect it did a good provisonning

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: samba4 4.0.0~alpha18.dfsg1-4ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Sun Apr 29 09:34:10 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Beta amd64 (20120418)
  ProcEnviron:
   TERM=xterm
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: samba4
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/990945/+subscriptions




More information about the foundations-bugs mailing list