The NSS interface provides an easy way for Winbind to hook into the operating system. All that needs to be done is to link the libnss_winbind.so using the following commands:
#sudo apt-get install libnss-winbind
Then add “winbind” into /etc/nsswitch.conf at the appropriate place.
# sudo nano /etc/nsswitch.conf
The entries you need to make are:
passwd: files winbind group: files winbind hosts: files dns wins