[Samba] Upgrade Woes
tim.odriscoll at lambrookschool.co.uk
Tue Oct 18 12:13:57 UTC 2022
After ages of enjoying samba-4.12.9 on CentOS7, I've had to upgrade to 4.17 to fix a Windows 11 22H2 issue that stopped authentication.
I read all the change logs before and didn't see anything that would affect me, but now my Windows clients (both 10 and 11) cannot 'browse' the samba servers or map printers.
>From the Windows clients, I can use the cmd line to attach successfully to all the file shares like this:
net use \\DC2\IPC$
net use * \\DC2\netlogon
However, if I try to browse ('start \\dc2') or add a printer:
rundll32 printui.dll,PrintUIEntry /in /n"\\DC2\PRINTER"
Then I get a 0x80070035 error from Windows, remarkably quickly back. Same for using IP addresses.
Name resolution appears to be working - ping is resolving the hostname properly.
I've turned Samba's debug up to 3 and I see this in the log:
[2022/10/18 13:09:15.528808, 3] ../../source3/smbd/smb2_service.c:855(make_connection_snum)
192.168.9.172 (ipv4:192.168.9.172:55652) signed connect to service IPC$ initially as user SAMDOM\tim.odriscoll (uid=2000, gid=100) (pid 28736)
[2022/10/18 13:09:15.536804, 3] ../../source4/samba/service_stream.c:67(stream_terminate_connection)
stream_terminate_connection: Terminating connection - 'dcesrv: NT_STATUS_CONNECTION_DISCONNECTED'
[2022/10/18 13:09:15.610423, 3] ../../source3/smbd/smb2_server.c:3956(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx status[NT_STATUS_CONNECTION_DISCONNECTED] || at ../../source3/smbd/smb2_create.c:339
But I can't find out what "smbd_smb2_request_error_ex: idx" means or how to fix it, or even if that is the actual source of the problem.
Can anyone offer some advice on where to look next?
More information about the samba