Winbind – useful commands.

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.

Installation of Identity Management for Unix, setup of testing Active Directory users and groups and configuration of Unix attributes tab.

Setup of Windows 10 desktop as Active Directory domain member. Joining Windows 10 to Active Directory domain.

Integration of Linux server to Active Directory domain using winbind and idmap method rid #1 (longer video tutorial version).

Integration of Linux server to Active Directory domain using winbind and idmap method rid #2 (shorter video tutorial version).

Winbind – useful commands.