[Samba] upgraded DC shows IDs instead of usernames

Stefan G. Weichinger lists at xunil.at
Mon May 11 11:49:51 UTC 2020

Well, it was quiet and stable for quite a while now .. thanks to all the
devs ;-)

This weekend I upgraded some Debian servers, from Debian 9.12 to 10.4

One of these is a Samba-4.10.15 DC and I didn't touch the samba config
at all.

Now smbstatus shows uids and gids in smbstatus output:

# smbstatus

Samba version 4.10.15-Debian
PID     Username     Group        Machine
    Protocol Version  Encryption           Signing
28845   3000032      3000022
(ipv4: SMB3_11           -
10482   1003         users
(ipv4: SMB3_11           -
20597   1078         users
(ipv4: SMB3_11           -


# samba-tool  testparm
INFO 2020-05-11 13:39:57,755 pid:24423
/usr/lib/python3/dist-packages/samba/netcmd/testparm.py #96: Loaded smb
config files from /etc/samba/smb.conf
INFO 2020-05-11 13:39:57,755 pid:24423
/usr/lib/python3/dist-packages/samba/netcmd/testparm.py #97: Loaded
services file OK.
Press enter to see a dump of your service definitions

# Global parameters
	dns forwarder =
	log level = 1
	netbios name = DC02
	printcap name = /dev/null
	realm = MYDOM.AT
	server role = active directory domain controller
	template shell = /bin/bash
	time server = Yes
	usershare path =
	workgroup = BUERO
	sdb:schema update allowed = no
	idmap_ldb:use rfc2307 = yes

	path = /var/lib/samba/sysvol/pilsbacher.at/scripts
	read only = No
	acl_xattr:ignore system acls = Yes

	path = /var/lib/samba/sysvol
	read only = No
	acl_xattr:ignore system acls = Yes

	path = /mnt/rsnapshots
	valid users = @rsnapshots


AD works for the Win10 clients, no alerts so far.

wbinfo -u and -g show correct user names etc

I have to add that the upgrade removed samba and I had to reinstall.
Maybe I miss a package?

More information about the samba mailing list