Originally posted by: AyappanP
Instructions are simliar as in linux.
https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member
The differences are
1) Add the below in /etc/methods.cfg file
WINBIND:
program = /usr/lib/security/WINBIND
Create a symbolic link so that /usr/lib/security/WINBIND points to /opt/freeware/lib/WINBIND.so
2) Edit the default section of /usr/security/user file as below
SYSTEM = "WINBIND OR compat"