Conclusion
This article discussed how to dynamically map Samba shares to Windows domain accounts. Although the example is not the most secure, it demonstrates all the necessary steps to effectively integrate your Linux/UNIX servers into your Windows network. You also learned how to make the network more secure by adding the valid users line to a file share's section in the Samba Configuration file. Being able to merge all your servers into one domain is useful because it allows for easier administration and user file sharing.