upgradeprovision: guess_names: 'realm =' was not specified in supplied /etc/samba/smb.conf.

I have a fix:
adjust to your naming requirements, after this install of samba4 went fine

by default /etc/hosts
127.0.0.1 localhost
127.0.1.1 svrwebdev

by default /etc/hostname
svrwebdev

replace with:
$ sudo nano /etc/hosts
127.0.0.1 localhost.localdomain localhost
127.0.1.1 svrwebdev.letsxchange.nl svrwebdev

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

$ sudo nano /etc/hostname
svrwebdev.letsxchange.nl

$ sudo /etc/init.d/networking restart

$ sudo apt-get install samba4

你可能感兴趣的:(upgradeprovision: guess_names: 'realm =' was not specified in supplied /etc/samba/smb.conf.)