[Samba] impot/export user

Rowland penny rpenny at samba.org
Wed Dec 30 09:25:27 UTC 2020

On 30/12/2020 06:18, sam zand wrote:
> Tanks Rowland
> I have installed the samba DC  version 4.12.13 and smb.conf file is:

I take it that you haven't read this:


and this:


I have removed all the lines you shouldn't have in your smb.conf:

dns forwarder =
netbios name = LOCALHOST
realm = TEST.COM
server role = active directory domain controller
workgroup = TEST
idmap_ldb:use rfc2307 = yes

path = /usr/local/samba/var/locks/sysvol
read only = No

path = /usr/local/samba/var/locks/sysvol/test.com/scripts
read only = No

path = /TEST/DS-1
read only = No

path = /TEST/DS-1
read only = No

path = /TEST/DS-1
read only = No

There are still two problems, you cannot forward to itself (, 
you must forward to an external dns server such as Googles ( 
You cannot use 'localhost' as the DC's hostname, that is reserved for 
the loop back device.

Having got that out of the way, how was Samba running on the 4.9.8 device ?

If it was as an NT4-style PDC, you can upgrade that using the 
classicupgrade tool:


If not, please explain what you are upgrading from.


More information about the samba mailing list