Client authentication error "Failed to convert SID ... to a PID"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Confirmed
|
Undecided
|
Ubuntu Security Team |
Bug Description
After an unattended upgrade to samba 2:4.7.6+
Given the correct login credentials, the client responds with:
tree connect failed: NT_STATUS_
and the client specific samba-logfile on the fileserver will show:
[2021/12/09 15:04:29.783978, 0] ../source3/
check_account: Failed to convert SID S-1-2-34-
A wrong password in a client throws:
session setup failed: NT_STATUS_
The config was working fine until the unattended upgrade from samba 2:4.7.6+
I have tried to reproduce the behaviour on an Ubuntu 20.04.3 LTS with samba 4.13.14 and ran into the same error.
This is the testparm output of the fileserver:
# Global parameters
[global]
client min protocol = default
dns proxy = No
log file = /var/log/
map to guest = Bad User
max log size = 1000
pam password change = Yes
panic action = /usr/share/
passwd chat = *Enter\
passwd program = /usr/bin/passwd %u
password server = 12.345.678.9
security = DOMAIN
server min protocol = SMB2
server role = member server
server string = MYDOMAIN Fileserver
syslog = 0
unix extensions = No
unix password sync = Yes
usershare allow guests = Yes
workgroup = WG_TECH
idmap config * : backend = tdb
veto files = /someVetoFile/
wide links = Yes
Status changed to 'Confirmed' because the bug affects multiple users.