Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

    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

    comment = Home Directories
    read only = No

    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    print ok = Yes
    browseable = No

    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
share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.