[Samba] Ubuntu Samba Upgrade Problem
rpenny at samba.org
Sat Feb 6 22:05:30 UTC 2021
On 06/02/2021 21:46, Robert Steinmetz via samba wrote:
> I upgraded a Ubuntu 18.04 LTS samba to 20.04 yesterday Testing it I
> find the Samba part of the server is no working properly.
> The new Samba Version 4.11.6-Ubuntu. The PDC is running 4.7.6-Ubuntu.
> I plan to upgrade the PDC as soon as I finish this one.
> The server is a MEMBER SERVER of a NT4 style domain. smbd, nmbs and
> winbind are running but wbinfo and getent don't seem to be getting
> anything. I cannot browse the computer.
> I have not edited the smb.conf file.
> The output of testparm and the global section is below.
>> # testparm
>> Load smb config files from /etc/samba/smb.conf
>> Loaded services file OK.
>> Server role: ROLE_DOMAIN_MEMBER
>> Press enter to see a dump of your service definitions
>> # Global parameters
>> log file = /var/log/samba/log.%m
>> max log size = 1000
>> name resolve order = wins bcast host
>> panic action = /usr/share/samba/panic-action %d
>> security = DOMAIN
>> server string = %h file server (Samba, Ubuntu)
>> template shell = /bin/bash
>> winbind enum groups = Yes
>> winbind enum users = Yes
>> winbind use default domain = Yes
>> wins proxy = Yes
>> wins server = 192.168.1.24
>> workgroup = ATLANTA
>> idmap config * : range = 10000-20000
>> idmap config * : backend = tdb
>> admin users = administrator rob
>> hosts allow = 192.168.1.0/255.255.255.0
> I think it likely that the problem is caused by changes in the Ubuntu
Probably not, what did change were these two lines in smb.conf:
client min protocol = SMB2_02
server min protocol = SMB2_02
Previously they were:
client min protocol = CORE
server min protocol = LANMAN1
Try setting them both to NT1
Once you have your NT4-style domain working again, I suggest you start
planning to upgrade it to a Samba AD domain, the NT4-style domains are
going away, possibly even as early as Samba 4.15.0
More information about the samba