Unfortunately, it's probably not that simple. Permissions on folders depend on the user and group, and passwords are tied to users, not folders. So what you probably need is to make sure the authorized users have accounts on the centos machine with access to the folder. Look at the "By-Example" section in
www.samba.org It'll walk you through some simple examples, I've found it very helpful, I hope you do too.