I installed samba and winbind on ubuntu 18 and the os is joined to the domain.
when I do a wbinfo -r ad-user I see there is a group missing. Very persistently.
I tried:
net flush
deleted the tdb files
restarted winbind & smb
rebooted
with a centos 7 machine I see the group.
when I do a “wbinfo -r ad-user |wc -l” I get 70 lines on both OS!
only the two last group is’s differ:
Ubuntu (wrong):
121361
232554
232494
3004
3001
centos (correct):
121361
232554
232494
236337
16777217
Both machines have no sssd installed or running.
CENTOS & UBUNTU
shadow: files winbind
group: files winbind
[global]
interfaces = ens192
ldap suffix = dc=saszl,dc=local
load printers = No
log file = /var/log/samba/log.%m
max log size = 50
password server = SRV00214.saszl.local
realm = saszl.LOCAL
security = ADS
server string = Samba Server Version %v
template homedir = /net/lfs.saszl.local/home/%U
template shell = /bin/bash
winbind offline logon = Yes
winbind separator = +
winbind use default domain = Yes
workgroup = saszl
idmap config saszl:base_rid = 0
idmap config saszl: range = 100000-89999999
idmap config saszl: backend = rid
idmap config * : range = 3000-9999
idmap config * : backend = tdb
username map = /etc/samba/usermap
username map script = /etc/samba/usermap.sh
log level = 0
UBUNTU:
wbinfo -r user1 |while read xx; do getent group $xx; done|awk -F: ‘{print $1}’|sort -u|wc -l
69
wbinfo -r user1 |while read xx; do getent group $xx; done|awk -F: ‘{print $1}’|wc -l
70
One duplicate
wbinfo -r user2 |while read xx; do getent group $xx; done|awk -F: ‘{print $1}’|sort -u|wc -l
94
wbinfo -r user2 |while read xx; do getent group $xx; done|awk -F: ‘{print $1}’|wc -l
139
45 duplicates
CENTOS:
wbinfo -r user1 |while read xx; do getent group $xx; done|awk -F: ‘{print $1}’|sort -u|wc -l
70
wbinfo -r user1 |while read xx; do getent group $xx; done|awk -F: ‘{print $1}’|wc -l
70
No duplicates
wbinfo -r user2 |while read xx; do getent group $xx; done|awk -F: ‘{print $1}’|sort -u|wc -l
92
wbinfo -r user2 |while read xx; do getent group $xx; done|awk -F: ‘{print $1}’|wc -l
92
No duplicates
is this a bug?