Hi,
I think you need to give us some more information:
What kind of environment do you have? I mean where do you want to join your client to? What is your NIS server and Domain Controller?
Also this is a linux related forum, probably you can get better help on a windows forum about your issue.
Here is a link (although a bit old), probably you can get some ideas:
https://social.technet.microsoft.com...um=winserverDS