1.) Update smb.conf file: Global section.
# Global parameters
[global]
workgroup = DOMAIN-NT
security = DOMAIN
server string = Samba %v on %h - Wacky
max log size = 65536
preferred master = No
local master = No
domain master = No
wins server = 192.167.0.4, 192.168.0.6
password server = 192.168.0.4, 192.168.0.6
idmap uid = 20000-29999
idmap gid = 20000-29999
template homedir = /dev/null
winbind enum users = Yes
winbind enum groups = Yes
restrict anonymous = 2
syslog = 1
;client schannel = no
;winbind use default domain = Yes
msdfs proxy = no
2.) Join the domain.
/usr/local/samba/bin/net RPC join -U username
And then
/usr/local/samba/bin/net rpc testjoin
3.) Connect.
smbclient //server/share -U username%password -W DOMAIN-NT
Domain=[DOMAIN-NT] OS=[Windows Server 2003 3790] Server=[Windows Server 2003 5.2]
smb: \>
Done.