Here is list of useful winbind commands which will be used in this video tutorial:
kinit administrator
klist
klist -l
klist -d -e
net ads leave -U administrator
net ads join -S tstaddc1 -U administrator
net ads testjoin
net ads dns register -P
net ads info
ntpdate 192.168.199.54
net ads status | more
net ads lookup
getent passwd
getent passwd "TSTDOM01\tstusr01"
getent group
getent group "TSTDOM01\tstgrp01"
id tstusr01
groups tstusr01
wbinfo -p
wbinfo -u
wbinfo -g
wbinfo -i
wbinfo -a tstusr01%P4ssw0rd123
wbinfo -t
wbinfo -r tstusr01
Remove Winbind Cache:
systemctl stop winbind
systemctl stop smb
systemctl stop nmb
net cache flush
rm -f /var/lib/samba/*.tdb
rm -f /var/lib/samba/group_mapping.ldb
systemctl start nmb
systemctl start smb
systemctl start winbind
Related Video Tutorials:
Integration of Linux servers to Windows Active Directory domain.
Installation of Active Directory Domain Services and setup of Active Directory domain.