I have installed samba on my centos 6.4 server and I am able to see the shares but not access them. I am trying to use AD authentication with my DC. I have a AD user group named "webdev". The folder permissions on the shared "website" is 0777 for user and group "apache". I am assuming that with the following configuration the files/folders that are modified withing the share will have the user "apache" as it's owner. I did not set up a smbuser for authentication.
[global] workgroup = MYDOMAIN realm = MYDOMAIN.LOCAL server string = Web Test Server security = ADS log file = /var/log/samba/log.%m max log size = 50 wins support = Yes template homedir = /home/mydomain.local/%U template shell = /bin/bash winbind separator = + winbind use default domain = Yes idmap config * : backend = tdb cups options = raw [homes] comment = Home Directories read only = No [printers] comment = All Printers path = /var/spool/samba printable = Yes print ok = Yes browseable = No [website] comment = Website Development path = /var/www/vhosts/testing.com valid users = @webdev force user = apache force group = apache read only = No create mask = 0700 directory mask = 0700 inherit permissions = Yes inherit acls = Yes guest ok = Yes hide unreadable = Yes