[Samba] Moving users from a Samba 3.6 to 4.9 (tdb)

Rowland penny rpenny at samba.org
Fri Oct 9 12:02:22 UTC 2020


On 09/10/2020 11:43, Emmanuel Florac wrote:
> Here is the old one:

OK, the only thing that I can think of here is, you were also running 
winbind on the old 3.6 machine, so install winbind (if it isn't already 
installed) and try this smb.conf:

[global]
     workgroup = WORKGROUP
     server string = %h server (Samba %v)
     name resolve order = wins lmhosts host bcast

     passwd chat = *Enter\snew\sUNIX\spassword:* 
%n\n*Retype\snew\sUNIX\spassword:* %n\n .
     unix password sync = false
     passwd program = /usr/bin/passwd %u

     winbind separator = +
     winbind cache time = 10
     idmap config * : backend = tdb
     idmap config * : range = 10000-20000
     obey pam restrictions = yes

     inherit acls = yes
     dns proxy = no
     inherit permissions = yes

     load printers = no
     printcap name = /dev/null
     disable spoolss = yes
     printing = bsd

     invalid users = root
     local master = no
     domain master = no
     preferred master = no
     security = user
     max log size = 1000

     wins support = no
     wins server = 127.0.0.1
     syslog = 0
     panic action = /usr/share/samba/panic-action %d
     block size = 4096

Restart smbd and winbind and see how you go on.

Rowland






More information about the samba mailing list