Здравствуйте! Samba, синхронизирована с AD начала неверно отображать uid пользователей. Ранее все работало хорошо.
Пример, пишу пользователя i.ivanov, а выдаёт, как zabbix:
id i.ivanov
uid=10000(zabbix) gid=10000(\everyone) groups=10000(\everyone),10006(BUILTIN\users)
smb.conf
[global]
security = ads
workgroup = xs
realm = xs.lan
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = no
cups options = raw
kerberos method = system keytab
template homedir = /home/%U
template shell = /bin/bash
idmap config * : backend = tdb
idmap gid = 10000-2000000
idmap uid = 10000-2000000
idmap config * : range = 10000-2000000
winbind use default domain = yes
winbind refresh tickets = yes
winbind offline logon = yes
winbind enum groups = no
winbind enum users = no
client use spnego = yes
client ntlmv2 auth = yes
encrypt passwords = yes