Stefan G. Weichinger
2020-May-11 11:49 UTC
[Samba] upgraded DC shows IDs instead of usernames
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 192.168.16.202 (ipv4:192.168.16.202:35970) SMB3_11 - AES-128-CMAC 10482 1003 users 192.168.16.156 (ipv4:192.168.16.156:64331) SMB3_11 - AES-128-CMAC 20597 1078 users 192.168.16.197 (ipv4:192.168.16.197:53171) SMB3_11 - AES-128-CMAC ----- # 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 [global] dns forwarder = 8.8.8.8 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 [netlogon] path = /var/lib/samba/sysvol/pilsbacher.at/scripts read only = No acl_xattr:ignore system acls = Yes [sysvol] path = /var/lib/samba/sysvol read only = No acl_xattr:ignore system acls = Yes [rsnapshots] 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?
On 11/05/2020 12:49, Stefan G. Weichinger via samba wrote:> 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.This sounds like something outside of Samba, What do the passwd & group lines in /etc/nsswitch.conf contain ? Rowland
Stefan G. Weichinger
2020-May-11 14:03 UTC
[Samba] upgraded DC shows IDs instead of usernames
Am 11.05.20 um 14:12 schrieb Rowland penny via samba:> On 11/05/2020 12:49, Stefan G. Weichinger via samba wrote: >> 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. > > This sounds like something outside of Samba, What do the passwd & group > lines in /etc/nsswitch.conf contain ?passwd: compat winbind group: compat winbind same as on another, working DC at another site
Apparently Analagous Threads
- upgraded DC shows IDs instead of usernames
- upgraded DC shows IDs instead of usernames
- flood of (auth in progress) connections from unresponsive windows client crashing samba
- flood of (auth in progress) connections from unresponsive windows client crashing samba
- windows 10 locking profile files