[Samba] "ERROR(runtime): uncaught exception - Unable to load file smb.conf" when doing classicupgrade

Rowland Penny rpenny at samba.org
Fri Aug 24 08:27:36 UTC 2018


On Fri, 24 Aug 2018 14:56:01 +0700
Konstantin Boyandin via samba <samba at lists.samba.org> wrote:

> Hello,
> 
> OS: Ubuntu 18.04.1
> Samba: 4.7.6
> 
> I use the guide
> 
> https://wiki.samba.org/index.php/Migrating_a_Samba_NT4_Domain_to_Samba_AD_(Classic_Upgrade)#Preparations
> 
> When trying to execute command
> 
> # samba-tool domain classicupgrade --dbdir=/usr/local/samba.LAN/ 
> --realm=ad-lan.com --dns-backend=BIND9_DLZ \
>    --option="interfaces=lo ens3" --option="bind interfaces only=yes" 
> /usr/local/samba.LAN/smb.conf
> 
> I get this:
> 
> Reading smb.conf
> WARNING: The "syslog" option is deprecated
> handle_name_resolve_order: WARNING: Ignoring invalid list value
> 'hosts' for parameter 'name resolve order'
> 
> Could someone suggest how to overcome this?
> 
> The contents of /usr/local/samba.LAN/smb.conf:
> ----------- /usr/local/samba.LAN/smb.conf below
> [global]

> name resolve order = wins bcast hosts

I wish they were all as easy to fix ;-)

Edit the 'name resolve order' line and remove the 's' from the end of
'hosts', it is just 'host'

Rowland



More information about the samba mailing list